nvidia with helm

This commit is contained in:
Tomás Limpinho
2025-12-09 19:52:50 +00:00
parent cb1bf070b0
commit 51c4466103

View File

@ -1,7 +1,17 @@
- name: Aplicar o stolon
become: yes
become_user: fenix
shell: |
kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.17.1/deployments/static/nvidia-device-plugin.yml
- name: Adicionar repositório Helm do nvida gpu
command: >
helm repo add nvidia https://nvidia.github.io/gpu-operator
ignore_errors: yes
- name: Atualizar repositórios Helm
command: helm repo update
- name: Instalar nvida gpu Driver via Helm
command: helm upgrade --install nvidia-operator nvidia/gpu-operator --namespace gpu-operator --create-namespace
register: resultado_nvidia
environment:
KUBECONFIG: /home/fenix/.kube/config
- name: Mostrar resultado do nvida gpu Driver
debug:
var: resultado_nvidia.stdout_lines