停止Choerodon
本文执行的所有命令都是基于分步安装命令进行的操作,若你在执行安装命令时有修改 —name 参数,那么请对应修改以下命令的deployment name参数。
- 命令格式为:
kubectl scale deployment -n [namespace] —replicas=0 [deployment name]
kubectl scale deployment -n c7n-system --replicas=0 register-server
kubectl scale deployment -n c7n-system --replicas=0 config-server
kubectl scale deployment -n c7n-system --replicas=0 manager-service
kubectl scale deployment -n c7n-system --replicas=0 iam-service
kubectl scale deployment -n c7n-system --replicas=0 api-gateway
kubectl scale deployment -n c7n-system --replicas=0 gateway-helper
kubectl scale deployment -n c7n-system --replicas=0 oauth-server
kubectl scale deployment -n c7n-system --replicas=0 event-store-service
kubectl scale deployment -n c7n-system --replicas=0 file-service
kubectl scale deployment -n c7n-system --replicas=0 choerodon-front-iam
kubectl scale deployment -n c7n-system --replicas=0 devops-service
kubectl scale deployment -n c7n-system --replicas=0 gitlab-service
kubectl scale deployment -n c7n-system --replicas=0 agile-service
kubectl scale deployment -n c7n-system --replicas=0 state-machine-service
kubectl scale deployment -n c7n-system --replicas=0 issue-service
kubectl scale deployment -n c7n-system --replicas=0 test-manager-service
kubectl scale deployment -n c7n-system --replicas=0 wiki-service
kubectl scale deployment -n c7n-system --replicas=0 asgard-service
kubectl scale deployment -n c7n-system --replicas=0 notify-service
kubectl scale deployment -n c7n-system --replicas=0 choerodon-front
启动Choerodon
请一定按以下启动顺序执行,确认启动的服务启动成功后再启动下一个服务。
kubectl scale deployment -n c7n-system —replicas=1 register-server
kubectl scale deployment -n c7n-system —replicas=1 config-server
kubectl scale deployment -n c7n-system —replicas=1 manager-service
kubectl scale deployment -n c7n-system —replicas=1 iam-service
kubectl scale deployment -n c7n-system —replicas=1 api-gateway
kubectl scale deployment -n c7n-system —replicas=1 gateway-helper
kubectl scale deployment -n c7n-system —replicas=1 oauth-server
kubectl scale deployment -n c7n-system —replicas=1 event-store-service
kubectl scale deployment -n c7n-system —replicas=1 file-service
kubectl scale deployment -n c7n-system —replicas=1 choerodon-front-iam
kubectl scale deployment -n c7n-system —replicas=1 devops-service
kubectl scale deployment -n c7n-system —replicas=1 gitlab-service
kubectl scale deployment -n c7n-system —replicas=1 agile-service
kubectl scale deployment -n c7n-system —replicas=1 state-machine-service
kubectl scale deployment -n c7n-system —replicas=1 issue-service
kubectl scale deployment -n c7n-system —replicas=1 test-manager-service
kubectl scale deployment -n c7n-system —replicas=1 wiki-service
kubectl scale deployment -n c7n-system —replicas=1 asgard-service
kubectl scale deployment -n c7n-system —replicas=1 notify-service
kubectl scale deployment -n c7n-system —replicas=1 choerodon-front