diff --git a/README.md b/README.md index 0dc225650..bdb8dfc23 100644 --- a/README.md +++ b/README.md @@ -103,12 +103,12 @@ metadata: spec: containers: - name: cuda-container - image: nvidia/cuda:9.0-devel + image: nvcr.io/nvidia/cuda:9.0-devel resources: limits: nvidia.com/gpu: 2 # requesting 2 GPUs - name: digits-container - image: nvidia/digits:6.0 + image: nvcr.io/nvidia/digits:20.12-tensorflow-py3 resources: limits: nvidia.com/gpu: 2 # requesting 2 GPUs @@ -306,14 +306,14 @@ easily be modified to work with any available tag or branch. #### Build Option 1, pull the prebuilt image from [Docker Hub](https://hub.docker.com/r/nvidia/k8s-device-plugin): ```shell -$ docker pull nvidia/k8s-device-plugin:v0.8.1 -$ docker tag nvidia/k8s-device-plugin:v0.8.1 nvidia/k8s-device-plugin:devel +$ docker pull nvcr.io/nvidia/k8s-device-plugin:v0.8.1 +$ docker tag nvcr.io/nvidia/k8s-device-plugin:v0.8.1 nvcr.io/nvidia/k8s-device-plugin:devel ``` Option 2, build without cloning the repository: ```shell $ docker build \ - -t nvidia/k8s-device-plugin:devel \ + -t nvcr.io/nvidia/k8s-device-plugin:devel \ -f docker/amd64/Dockerfile.ubuntu16.04 \ https://github.com/NVIDIA/k8s-device-plugin.git#v0.8.1 ``` @@ -322,7 +322,7 @@ Option 3, if you want to modify the code: ```shell $ git clone https://github.com/NVIDIA/k8s-device-plugin.git && cd k8s-device-plugin $ docker build \ - -t nvidia/k8s-device-plugin:devel \ + -t nvcr.io/nvidia/k8s-device-plugin:devel \ -f docker/amd64/Dockerfile.ubuntu16.04 \ . ``` @@ -336,7 +336,7 @@ $ docker run \ --cap-drop=ALL \ --network=none \ -v /var/lib/kubelet/device-plugins:/var/lib/kubelet/device-plugins \ - nvidia/k8s-device-plugin:devel + nvcr.io/nvidia/k8s-device-plugin:devel ``` With compatibility for the `CPUManager` static policy: @@ -346,7 +346,7 @@ $ docker run \ --privileged \ --network=none \ -v /var/lib/kubelet/device-plugins:/var/lib/kubelet/device-plugins \ - nvidia/k8s-device-plugin:devel --pass-device-specs + nvcr.io/nvidia/k8s-device-plugin:devel --pass-device-specs ``` ### Without Docker diff --git a/deployments/helm/nvidia-device-plugin/values.yaml b/deployments/helm/nvidia-device-plugin/values.yaml index a9bdc61ae..e521eb400 100644 --- a/deployments/helm/nvidia-device-plugin/values.yaml +++ b/deployments/helm/nvidia-device-plugin/values.yaml @@ -13,7 +13,7 @@ namespace: kube-system imagePullSecrets: [] image: - repository: nvidia/k8s-device-plugin + repository: nvcr.io/nvidia/k8s-device-plugin pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "" diff --git a/deployments/static/extensions-v1beta1-nvidia-device-plugin.yml b/deployments/static/extensions-v1beta1-nvidia-device-plugin.yml index fd74cec71..d42b24975 100644 --- a/deployments/static/extensions-v1beta1-nvidia-device-plugin.yml +++ b/deployments/static/extensions-v1beta1-nvidia-device-plugin.yml @@ -43,7 +43,7 @@ spec: # See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ priorityClassName: "system-node-critical" containers: - - image: nvidia/k8s-device-plugin:v0.8.1 + - image: nvcr.io/nvidia/k8s-device-plugin:v0.8.1 name: nvidia-device-plugin-ctr args: ["--fail-on-init-error=false"] securityContext: diff --git a/deployments/static/nvidia-device-plugin-compat-with-cpumanager.yml b/deployments/static/nvidia-device-plugin-compat-with-cpumanager.yml index 52e244447..8f8bb2807 100644 --- a/deployments/static/nvidia-device-plugin-compat-with-cpumanager.yml +++ b/deployments/static/nvidia-device-plugin-compat-with-cpumanager.yml @@ -46,7 +46,7 @@ spec: # See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ priorityClassName: "system-node-critical" containers: - - image: nvidia/k8s-device-plugin:v0.8.1 + - image: nvcr.io/nvidia/k8s-device-plugin:v0.8.1 name: nvidia-device-plugin-ctr args: ["--fail-on-init-error=false", "--pass-device-specs"] securityContext: diff --git a/nvidia-device-plugin.yml b/nvidia-device-plugin.yml index 045ff754f..afb66bc01 100644 --- a/nvidia-device-plugin.yml +++ b/nvidia-device-plugin.yml @@ -46,7 +46,7 @@ spec: # See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ priorityClassName: "system-node-critical" containers: - - image: nvidia/k8s-device-plugin:v0.8.1 + - image: nvcr.io/nvidia/k8s-device-plugin:v0.8.1 name: nvidia-device-plugin-ctr args: ["--fail-on-init-error=false"] securityContext: diff --git a/pod1.yml b/pod1.yml index 4dda9c7f2..4112c1943 100644 --- a/pod1.yml +++ b/pod1.yml @@ -5,7 +5,7 @@ metadata: spec: restartPolicy: OnFailure containers: - - image: nvidia/cuda + - image: nvcr.io/nvidia/cuda:9.0-devel name: pod1-ctr command: ["sleep"] args: ["100000"]