canonical / microk8s

MicroK8s is a small, fast, single-package Kubernetes for datacenters and the edge.

Home Page:https://microk8s.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with enabling GPU on Nvidia AGX Orin Dev kit(arm64)

shahizat opened this issue · comments

Greeting to all,

I was trying to enable the GPU on my NVIDIA Jetson AGX Orin when I ran the command "microk8s enable gpu." However, it appears that Kubernetes is not recognizing the GPU. Could you please help me? Thank you.

2024/08/13 21:55:16.816426 cmd_run.go:1129: WARNING: cannot create user data directory: failed to verify SELinux context of /root/snap: exec: "matchpathcon": executable file not found in $PATH Infer repository core for addon gpu Enabling NVIDIA GPU Enabling DNS Applying manifest serviceaccount/coredns created configmap/coredns created deployment.apps/coredns created service/kube-dns created clusterrole.rbac.authorization.k8s.io/coredns created clusterrolebinding.rbac.authorization.k8s.io/coredns created Restarting kubelet DNS is enabled Enabling Helm 3 Fetching helm version v3.8.0. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.7M 100 11.7M 0 0 2289k 0 0:00:05 0:00:05 --:--:-- 3212k Helm 3 is enabled Checking if NVIDIA driver is already installed GPU 0: Orin (nvgpu) (UUID: 36baf986-26a8-5222-9d8b-823b8dff81c6) Using host GPU driver WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /var/snap/microk8s/5874/credentials/client.config "nvidia" has been added to your repositories WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /var/snap/microk8s/5874/credentials/client.config NAME: gpu-operator LAST DEPLOYED: Tue Aug 13 21:55:41 2024 NAMESPACE: gpu-operator-resources STATUS: deployed REVISION: 1 TEST SUITE: None NVIDIA is enabled