百度智能云

All Product Document

          Cloud Container Engine

          Application Deployment Group Management

          An application deployment group is a set of workloads with the same configuration and are created, changed, and deleted uniformly. After associating the node deployment group, you can create workloads in all its node groups.

          Users can create application deployment groups through forms, or create and modify application deployment groups through YAML file templates provided by Baidu AI Cloud.

          View Application Deployment Group List

          Enter "Product service > Container engine CCE", click “Unitized Deployment > Application Deployment Group” to enter the application deployment group page. The content includes:

          • Namespace: From the namespace where the application deployment group is located, you can drop down to select a single option or select the "All" namespaces and view the application deployment groups of all namespaces in the cluster;
          • List data: displays the list information of all application deployment groups under the corresponding namespace, create, edit YMAL, deploy lists and delete

          image.png

          Create Application Deployment Group

          Users can click "Create Application Deployment Group" in the upper left corner of the application deployment group list and select to create an application deployment group through form or Yamls.

          (1) Create by form:

          • Enter the name of the application deployment group, select the associated edge node group, namespace, workload type, number of container groups, and Pod label;
          • Click the configuration button “Add Container”, enter the container name and image address, and then click OK to create a page to display the added container configurations;
          • Click “Create” and confirm the yaml file generated according to the configuration information to complete the creation.

          image.png

          image.png

          image.png

          (2) Create an application deployment group by yaml:

          • Select the namespace, enter the yaml file, and then click OK.
          • Template type: you can create the group by using sample templates or my templates.
          • Copy: copy the contents of the current yaml file.
          • Cancel: return to the list page.

          image.png

          kind: BatchDeployment
          apiVersion: apps.cce.io/v1alpha1
          metadata:
            name: demo
            namespace: default
          spec:
            deployGroup: test
            selectedStrategy: none
            workloadTemplate:
              deployment:
                replicas: 1
                selector:
                  matchLabels:
                    app: demo
                template:
                  metadata:
                    labels:
                      app: demo
                  spec:
                    containers:
                      - image: hub.baidubce.com/cce/nginx-alpine-go:latest
                        name: demo
                        imagePullPolicy: Always
                        ports:
                          - containerPort: 80
                            name: demo

          View Details About Application Deployment Group

          Click the container name in any row of the list page to enter the container group details page. The content of the details page includes:

          • Deployment details: include basic information, container configuration, and associated service access groups.

          image.png

          Modify Application Deployment Group

          Click the "Yaml Edit" button in the row of the application deployment group to be modified on the application deployment group list page, edit and modify it before clicking "OK" to submit.

          image.png

          View Deployment Set list

          Click the "Deployment List" button in the row of the application deployment group to be viewed on the application deployment group list page to access the pop-up window and check contents of the pop-up window page for the deployment list, including:

          • List data: displays the workload information associated with the application deployment group.

          image.png

          Delete Application Deployment Group

          Click the “Delete” button in the row of the application deployment group to be deleted on the application deployment group list page, check the container to be deleted. After confirming the deletion information, click "OK".

          image.png

          Previous
          Edge Container Network
          Next
          Edge Node Group Management