We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8098a6e + a2dc682 commit 9b71425Copy full SHA for 9b71425
1 file changed
pkg/cri/server/sandbox_run.go
@@ -409,6 +409,7 @@ func toCNILabels(id string, config *runtime.PodSandboxConfig) map[string]string
409
"K8S_POD_NAMESPACE": config.GetMetadata().GetNamespace(),
410
"K8S_POD_NAME": config.GetMetadata().GetName(),
411
"K8S_POD_INFRA_CONTAINER_ID": id,
412
+ "K8S_POD_UID": config.GetMetadata().GetUid(),
413
"IgnoreUnknown": "1",
414
}
415
0 commit comments