After creating a node based on New Node Check, create a DaemonSet workload to create pods on each node.
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.
In this test, YAML deploys DaemonSet in the default namespace, uses ngxin:perl as the base image, requests 10m vCPUs and 10 MiB memory, and limits 100 MB CPU and 50 MiB memory.
apiVersion: apps/v1
kind: DaemonSet
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
If the pod cannot be created or the pod status is abnormal, contact technical support and specify whether the exception occurs on new nodes or existing nodes.