• 停止Choerodon

    本文执行的所有命令都是基于分步安装命令进行的操作,若你在执行安装命令时有修改 --name 参数,那么请对应修改以下命令的deployment name参数。

    启动Choerodon

    请一定按以下启动顺序执行,确认启动的服务启动成功后再启动下一个服务。
    # 基础组件
    kubectl scale deployment -n c7n-system --replicas=1 chartmuseum-chartmuseum
    kubectl scale statefulset -n c7n-system --replicas=4 minio
    kubectl scale deployment -n c7n-system --replicas=1 c7n-redis
    kubectl scale deployment -n c7n-system --replicas=1 c7n-mysql
    kubectl scale statefulset -n c7n-system --replicas=1 harbor-harbor-redis
    kubectl scale statefulset -n c7n-system --replicas=1 harbor-harbor-database
    kubectl scale deployment -n c7n-system --replicas=1 harbor-harbor-portal
    kubectl scale deployment -n c7n-system --replicas=1 harbor-harbor-jobservice
    kubectl scale deployment -n c7n-system --replicas=1 harbor-harbor-registry
    kubectl scale deployment -n c7n-system --replicas=1 harbor-harbor-core
    kubectl scale statefulset -n c7n-system --replicas=1 gitlab-gitlab-database
    kubectl scale statefulset -n c7n-system --replicas=1 gitlab-gitlab-redis
    kubectl scale statefulset -n c7n-system --replicas=1 gitlab-gitlab-core
    kubectl scale deployment -n c7n-system --replicas=1 sonarqube-postgresql
    kubectl scale deployment -n c7n-system --replicas=1 sonarqube-sonarqube
    kubectl scale deployment -n c7n-system --replicas=1 sonatype-nexus
    
    # 微服务开发框架
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-register
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-platform
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-admin
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-asgard
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-iam
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-gateway
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-oauth
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-message
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-monitor
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-swagger
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-file
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-monitor
    
    # 持续交付
    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 workflow-service
    
    # 敏捷管理
    kubectl scale deployment -n c7n-system --replicas=1 agile-service
    
    # 测试管理
    kubectl scale deployment -n c7n-system --replicas=1 test-manager-service
    
    # 知识管理
    kubectl scale deployment -n c7n-system --replicas=1 elasticsearch-kb
    kubectl scale deployment -n c7n-system --replicas=1 knowledgebase-service
    
    # 制品库
    kubectl scale deployment -n c7n-system --replicas=1 code-repo-service
    kubectl scale deployment -n c7n-system --replicas=1 prod-repo-service
    
    # 总前端
    kubectl scale deployment -n c7n-system --replicas=1 choerodon-front
    kubectl scale deployment -n c7n-system --replicas=1  choerodon-front-hzero