Check for sandboxes before deleting the pod from apiserver

This commit is contained in:
Keerthan Reddy,Mala
2020-05-29 12:39:22 -07:00
parent ae7dce72ce
commit d4325f42fb
5 changed files with 81 additions and 11 deletions

View File

@@ -299,7 +299,6 @@ type PodStatus struct {
// Status of containers in the pod.
ContainerStatuses []*Status
// Status of the pod sandbox.
// Only for kuberuntime now, other runtime may keep it nil.
SandboxStatuses []*runtimeapi.PodSandboxStatus
}