<p>I am running a GPU server by referring to <a href="https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/" rel="nofollow noreferrer">this document</a>.
I have found that GPU is used in DL work with Jupyter notebook by creating a virtual environment of CPU pod on the GPU node as shown below.</p>
<p>Obviously there is no <code>nvidia.com/GPU</code> entry in Limits, Requests,
so I don't understand that GPU is used.</p>
<pre><code>Limits:
cpu: 2
memory: 2000Mi
Requests:
cpu: 2
memory: 2000Mi
</code></pre>
<p>Is there a way to disable GPU for CPU pods?</p>
<p>Thank you.</p>

OH KYOON
<p>Based on <a href="https://github.com/NVIDIA/k8s-device-plugin/issues/146" rel="nofollow noreferrer">this topic</a> on github:</p>
<blockquote>
<p>This is currently not supported and we don't really have a plan to support it.</p>
</blockquote>
<p>But...</p>
<blockquote>
<p>you might want to take a look at the CUDA_VISIBLE_DEVICES environment variable that controls what devices a specific CUDA process can see:<br />
<a href="https://devblogs.nvidia.com/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/" rel="nofollow noreferrer">https://devblogs.nvidia.com/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/</a></p>
</blockquote>
