[root@master-01 kubevela]# vela install - Installing Vela Core Chart: install chart vela-core, version 0.1.0, desc : A Helm chart for Kube Vela core, contains 35 file Successfully installed the chart, status: deployed, last deployed time = 2020-12-03 11:06:34.3800069 +0800 CST m=+6.951945903 Automatically discover capabilities successfully ✅ Add(8) Update(0) Delete(0)
TYPE CATEGORY DESCRIPTION +task workload One-off task to run a piece of code or script to completion +webservice workload Long-running scalable service with stable endpoint to receive external traffic +worker workload Long-running scalable backend worker without network endpoint +autoscale trait Automatically scale the app following certain triggers or metrics +metrics trait Configure metrics targets to be monitored for the app +rollout trait Configure canary deployment strategy to release the app +route trait Configure route policy to the app +scaler trait Manually scale the app
- Finished successfully. [root@master-01 kubevela]# kubectl get pod -n vela-system NAME READY STATUS RESTARTS AGE flagger-7846864bbf-m6wxt 1/1 Running 0 50s kubevela-vela-core-f8b987775-mdjqm 0/1 Running 0 65s [root@master-01 kubevela]# kubectl get pod -n cert-manager NAME READY STATUS RESTARTS AGE cert-manager-79c5f9946-gx9s9 1/1 Running 0 70s cert-manager-cainjector-76c9d55b6f-f478g 1/1 Running 0 70s cert-manager-webhook-6d4c5c44bb-bw9vh 1/1 Running 0 70s [root@master-01 kubevela]# kubectl get pod -n keda NAME READY STATUS RESTARTS AGE keda-operator-566d494bf-mqpn8 0/1 Running 0 68s keda-operator-metrics-apiserver-698865dc8b-fg4gn 1/1 Running 0 68s
Last Deployment: Created at:2020-12-03 11:17:10+0800CST Updated at:2020-12-03T11:17:10+08:00 [root@master-01rabbitmq]# kubectl get pod NAMEREADYSTATUSRESTARTSAGE busybox-deployment-7bfd6d554c-nqrln1/1Running8316d1h busybox-deployment-7bfd6d554c-s6lrw1/1Running8316d1h check-ecs-price-7cdc97b997-j9w9q1/1Running07d express-server-7b5d47c867-hcq991/1Running088s
[root@master-01rabbitmq]# kubectl get pod NAMEREADYSTATUSRESTARTSAGE busybox-deployment-7bfd6d554c-nqrln1/1Running8326d1h busybox-deployment-7bfd6d554c-s6lrw1/1Running8326d1h check-ecs-price-7cdc97b997-j9w9q1/1Running07d express-server-7b5d47c867-g4jbh1/1Running070s express-server-7b5d47c867-hcq991/1Running05m33s
#错误的删除方式 [root@master-01 testapp]# kubectl get deployments.apps NAME READY UP-TO-DATE AVAILABLE AGE check-ecs-price 1/1 1 1 8d express-server 1/1 1 1 3m45s [root@master-01 testapp]# kubectl delete deployments.apps express-server deployment.apps "express-server" deleted [root@master-01 testapp]# kubectl get deployments.apps NAME READY UP-TO-DATE AVAILABLE AGE check-ecs-price 1/1 1 1 8d express-server 0/1 1 0 1s
#正确的删除方式 [root@master-01 testapp]# vela ls SERVICE APP TYPE TRAITS STATUS CREATED-TIME express-server testapp webservice metrics,scaler Deployed 2020-12-03 11:17:10 +0800 CST [root@master-01 testapp]# vela delete testapp Deleting Application "testapp" delete apps succeed testapp from default [root@master-01 testapp]# vela ls SERVICE APP TYPE TRAITS STATUS CREATED-TIME [root@master-01 testapp]# kubectl get deployments.apps NAME READY UP-TO-DATE AVAILABLE AGE check-ecs-price 1/1 1 1 8d