New Pod Check
Check Items
Check whether pods can be created after the cluster is upgraded.
Procedure
Create pods and ensure the new and existing pods provide the same services.
- Log in to the CCE console and click the cluster name to access the cluster console.
- In the navigation pane on the left, choose Workloads. On the displayed page, click Create Workload or Create from YAML in the upper right corner. For details about how to create a workload, see Creating a Workload.
Figure 1 Creating a workload
It is a good practice to use the image for routine tests as the base image. You can deploy minimum pods for an application by referring to the following YAML file.
apiVersion: apps/v1 kind: Deployment metadata: name: post-upgrade-check namespace: default spec: selector: matchLabels: app: post-upgrade-check version: v1 template: metadata: labels: app: post-upgrade-check version: v1 spec: containers: - name: container-1 image: nginx:perl imagePullPolicy: IfNotPresent resources: requests: cpu: 10m memory: 10Mi limits: cpu: 100m memory: 50Mi
- After the workload is created, check whether the pods of the workload are running properly.
- After the check is complete, choose Workloads in the navigation pane. On the displayed page, locate the post-upgrade-check workload and choose More > Delete in the Operation column to delete the test workload.
Solution
If pods cannot be created or are abnormal, submit a service ticket.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot