server: Add special k8s label to infra containers

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2017-09-01 08:49:57 -07:00
parent 49c1fd27ac
commit 138a40540f
8 changed files with 359 additions and 1 deletions

View file

@ -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 {