server: Add special k8s label to infra containers
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
49c1fd27ac
commit
138a40540f
8 changed files with 359 additions and 1 deletions
|
@ -71,7 +71,7 @@ func (s *Server) RemovePodSandbox(ctx context.Context, req *pb.RemovePodSandboxR
|
|||
}
|
||||
}
|
||||
|
||||
s.removeContainer(podInfraContainer)
|
||||
s.removeInfraContainer(podInfraContainer)
|
||||
|
||||
// Remove the files related to the sandbox
|
||||
if err := s.StorageRuntimeServer().StopContainer(sb.ID()); err != nil && errors.Cause(err) != storage.ErrContainerUnknown {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue