Rename nvproxy/tpuproxy annotations as internal annotations.

PiperOrigin-RevId: 576700439
This commit is contained in:
Zach Koopmans
2023-10-25 17:58:30 -07:00
committed by gVisor bot
parent 80ee2d3acc
commit 70783b4ceb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ import (
const nvdEnvVar = "NVIDIA_VISIBLE_DEVICES"
// annotationNVProxy enables nvproxy.
const annotationNVProxy = "dev.gvisor.spec.nvproxy"
const annotationNVProxy = "dev.gvisor.internal.nvproxy"
// NVProxyEnabled checks both the nvproxy annotation and conf.NVProxy to see if nvproxy is enabled.
func NVProxyEnabled(spec *specs.Spec, conf *config.Config) bool {
+1 -1
View File
@@ -43,7 +43,7 @@ import (
const (
annotationFlagPrefix = "dev.gvisor.flag."
annotationSeccomp = "dev.gvisor.internal.seccomp."
annotationTPU = "dev.gvisor.spec.tpuproxy"
annotationTPU = "dev.gvisor.internal.tpuproxy"
annotationSeccompRuntimeDefault = "RuntimeDefault"
annotationContainerName = "io.kubernetes.cri.container-name"