You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I follow this article to test the schedule pod manually, just changed a nodeName filed of a pod, and run command like kubectl replace --force -f /var/folders/tr/wfqwmskd567gst7bjl_x0q5h0000gq/T/kubectl-edit-4090127510.yaml, it is expected to be scheduled to another node, but it delete the pod after schedule to that node immediately, and start another pod on another node.
I test this case with Kind and it works.
To Reproduce
Steps to reproduce the behavior:
Start a pod
Edit the nodeName of the pod ,and it will forbidden to change and generated a pod manifest
Run kubectl replace --force -f <generated-pod-manifest>
Expected behavior
As description
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
CLI Version [v1.25.2]
Kubernetes version [v1.25.6]
Additional context
I checked the kubelet log where it delete the expected pod, there is a log as: "MESSAGE" : "I0815 05:59:19.652182 2787 util.go:30] \"No sandbox for pod can be found. Need to start a new one\" pod=\"default/nginx-76d6c9b8c-6g7bz\
Describe the bug
I follow this article to test the schedule pod manually, just changed a
nodeName
filed of a pod, and run command likekubectl replace --force -f /var/folders/tr/wfqwmskd567gst7bjl_x0q5h0000gq/T/kubectl-edit-4090127510.yaml
, it is expected to be scheduled to another node, but it delete the pod after schedule to that node immediately, and start another pod on another node.I test this case with
Kind
and it works.To Reproduce
Steps to reproduce the behavior:
nodeName
of the pod ,and it will forbidden to change and generated a pod manifestkubectl replace --force -f <generated-pod-manifest>
Expected behavior
As description
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
I checked the kubelet log where it delete the expected pod, there is a log as:
"MESSAGE" : "I0815 05:59:19.652182 2787 util.go:30] \"No sandbox for pod can be found. Need to start a new one\" pod=\"default/nginx-76d6c9b8c-6g7bz\
It seems a issue here, and been fixed
The text was updated successfully, but these errors were encountered: