question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable GPU addon when master is "CPU" and a node has Nvidia drivers installed?

See original GitHub issue

Hi,

I have a 2 nodes cluster, the master being a CPU only node running control plane. A second node in the cluster has cuda installed and has 2 GPU’s.

root@ops-maser:~# microk8s kubectl get nodes
NAME         STATUS   ROLES    AGE   VERSION
172.19.0.2   Ready    <none>   21m   v1.18.6
ops-maser    Ready    <none>   29m   v1.18.6
root@ops-maser:~# microk8s enable gpu 
Enabling NVIDIA GPU
Aborting: NVIDIA kernel module not loaded.
Please ensure you have CUDA capable hardware and the NVIDIA drivers installed.
Failed to enable gpu

Is this mode supported where clsuter nodes have GPU however plugins are used to enable them?

Please run microk8s inspect and attach the generated tarball to this issue. inspection-report-20200802_205010.tar.gz

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
zionghcommented, Jan 26, 2021

I have the same issue as @codebeard1, has anyone been able to use GPU from within microk8s inside WSL2? Thanks

0reactions
stale[bot]commented, Dec 24, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable GPU addon when master is "CPU" and a node has ...
Hi, I have a 2 nodes cluster, the master being a CPU only node running control plane. A second node in the cluster...
Read more >
Kubernetes on NVIDIA GPUs
Kubernetes is an open-source platform for automating deployment, scaling and managing containerized applications. Kubernetes on NVIDIA GPUs includes support.
Read more >
NVIDIA GPU Operator: Simplifying GPU Management in ...
In this initial release, the GPU operator currently deploys the NVIDIA container runtime, NVIDIA containerized driver and the NVIDIA Kubernetes ...
Read more >
Getting Started — NVIDIA Cloud Native Technologies ...
This document provides instructions, including pre-requisites for getting started with the NVIDIA GPU Operator. Red Hat OpenShift 4¶. For installing the GPU ......
Read more >
Getting Started — NVIDIA Cloud Native Technologies ...
Getting Started¶. This document provides instructions, including pre-requisites for getting started with the NVIDIA GPU Operator.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found