mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
Remove StartupProbe on debug with pod copy
This commit is contained in:
parent
c3750e4450
commit
ea6495e828
@ -217,6 +217,7 @@ func removeLabelsAndProbes(p *corev1.Pod) {
|
||||
for i := range p.Spec.Containers {
|
||||
p.Spec.Containers[i].LivenessProbe = nil
|
||||
p.Spec.Containers[i].ReadinessProbe = nil
|
||||
p.Spec.Containers[i].StartupProbe = nil
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user