停止Choerodon

本文执行的所有命令都是基于分步安装命令进行的操作,若你在执行安装命令时有修改 —name 参数,那么请对应修改以下命令的deployment name参数。
  • 命令格式为: kubectl scale deployment -n [namespace] —replicas=0 [deployment name]
  1. kubectl scale deployment -n c7n-system --replicas=0 register-server
  2. kubectl scale deployment -n c7n-system --replicas=0 config-server
  3. kubectl scale deployment -n c7n-system --replicas=0 manager-service
  4. kubectl scale deployment -n c7n-system --replicas=0 iam-service
  5. kubectl scale deployment -n c7n-system --replicas=0 api-gateway
  6. kubectl scale deployment -n c7n-system --replicas=0 gateway-helper
  7. kubectl scale deployment -n c7n-system --replicas=0 oauth-server
  8. kubectl scale deployment -n c7n-system --replicas=0 event-store-service
  9. kubectl scale deployment -n c7n-system --replicas=0 file-service
  10. kubectl scale deployment -n c7n-system --replicas=0 choerodon-front-iam
  11. kubectl scale deployment -n c7n-system --replicas=0 devops-service
  12. kubectl scale deployment -n c7n-system --replicas=0 gitlab-service
  13. kubectl scale deployment -n c7n-system --replicas=0 agile-service
  14. kubectl scale deployment -n c7n-system --replicas=0 state-machine-service
  15. kubectl scale deployment -n c7n-system --replicas=0 issue-service
  16. kubectl scale deployment -n c7n-system --replicas=0 test-manager-service
  17. kubectl scale deployment -n c7n-system --replicas=0 wiki-service
  18. kubectl scale deployment -n c7n-system --replicas=0 asgard-service
  19. kubectl scale deployment -n c7n-system --replicas=0 notify-service
  20. 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