mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 19:27:37 +00:00
nvidia for kubernetes
This commit is contained in:
@ -62,4 +62,14 @@
|
|||||||
- name: Mostrar resultado nvidia-smi
|
- name: Mostrar resultado nvidia-smi
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
var: nvidia_smi_output.stdout
|
var: nvidia_smi_output.stdout
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- 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
|
||||||
|
environment:
|
||||||
|
KUBECONFIG: /home/fenix/.kube/config
|
||||||
Reference in New Issue
Block a user