mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 11:27:10 +00:00
nvidia with helm
This commit is contained in:
@ -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
|
||||
KUBECONFIG: /home/fenix/.kube/config
|
||||
|
||||
- name: Mostrar resultado do nvida gpu Driver
|
||||
debug:
|
||||
var: resultado_nvidia.stdout_lines
|
||||
Reference in New Issue
Block a user