This section explains how to upgrade the binary file within a container image of the same version. The upgrade does not alter permissions or startup parameters. For details about this upgrade mode, see Upgrade Description.
Ensure that the image names are the same. Otherwise, the original configuration file may fail to start the pod.
kubectl get deployment -A|grep {Component name}
Command output (ClusterD as an example):
mindx-dl clusterd 1/1 1 1 45h
kubectl rollout restart deployment -n {Namespace name} {Deployment name}
Command output (ClusterD as an example):
deployment.apps/clusterd restarted
kubectl get pod -A|grep {Component name}
(ClusterD as an example) If the command output is as follows, the pod is started successfully.
mindx-dl clusterd-99f8795c8-drqb4 1/1 Running 0 1m
Ensure that the image names are the same. Otherwise, the original configuration file may fail to start the pod.
kubectl get ds -A|grep {Component name}
Command output (NodeD as an example):
mindx-dl noded 1/1 1 1 45h
kubectl rollout restart ds -n {Namespace name} {DaemonSet name}
Command output (NodeD as an example):
daemonsets.apps/noded restarted
kubectl get pod -A|grep {Component name}
(NodeD as an example) If the command output is as follows, the pod is started successfully.
mindx-dl noded- m4j4r 1/1 Running 0 1m