-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Nvidia network operator for DGX #1113
Conversation
shell: kubectl label --overwrite nodes {{ item }} node-role.kubernetes.io/worker= | ||
with_items: "{{ groups['kube-node']}}" | ||
|
||
- name: Install openshift |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than install this here, add the existing openshift role as a dep. See roles/nvidia-gpu-operator/meta/main.yml for an example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually tried that existing role but failed, we can take a closer look if taking that approach.
kubernetes.core.helm: | ||
name: network-operator | ||
release_namespace: network-operator | ||
chart_version: 1.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should all be parameterized as variables like we do in the GPU Operator playbook.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, will move it to variable file.
Removed a debug variable.
- name: Install latest Kubeflow MPI-Operator | ||
k8s: | ||
state: present | ||
definition: "{{ lookup('url', 'https://raw.githubusercontent.com/kubeflow/mpi-operator/master/deploy/{{mpi_operator_version}}/mpi-operator.yaml', split_lines=False) }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like the split into variables.
Let's consider making the URL a variable too in case we create an internal fork in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.