diff --git a/server/sandbox_run_linux.go b/server/sandbox_run_linux.go index aa51ac53a19..b2e04b9b95c 100644 --- a/server/sandbox_run_linux.go +++ b/server/sandbox_run_linux.go @@ -603,10 +603,12 @@ func (s *Server) runPodSandbox(ctx context.Context, req *types.RunPodSandboxRequ g.AddAnnotation(annotations.Annotations, string(kubeAnnotationsJSON)) g.AddAnnotation(annotations.LogPath, logPath) g.AddAnnotation(annotations.Name, sbox.Name()) + g.AddAnnotation(annotations.SandboxName, sbox.Name()) g.AddAnnotation(annotations.Namespace, namespace) g.AddAnnotation(annotations.ContainerType, annotations.ContainerTypeSandbox) g.AddAnnotation(annotations.SandboxID, sbox.ID()) g.AddAnnotation(annotations.Image, s.config.PauseImage) + g.AddAnnotation(annotations.ImageName, s.config.PauseImage) g.AddAnnotation(annotations.ContainerName, containerName) g.AddAnnotation(annotations.ContainerID, sbox.ID()) g.AddAnnotation(annotations.ShmPath, shmPath)