mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-06-08 16:23:21 -04:00
Merge pull request #118532 from macostea/debug-remove-startup-probe
Remove StartupProbe on debug with pod copy Kubernetes-commit: 0330fd91f4f49505c34ca32558b2ddad2635eb68
This commit is contained in:
commit
10ce00528f
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue