Skip to content
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

Merged
merged 8 commits into from
Apr 13, 2022

Conversation

yangatgithub
Copy link
Contributor

No description provided.

shell: kubectl label --overwrite nodes {{ item }} node-role.kubernetes.io/worker=
with_items: "{{ groups['kube-node']}}"

- name: Install openshift
Copy link
Collaborator

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.

Copy link
Contributor Author

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
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

- 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) }}"
Copy link
Collaborator

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.

@ajdecon ajdecon added the next-release Critical for the next release label Apr 13, 2022
Copy link
Collaborator

@supertetelman supertetelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@supertetelman supertetelman merged commit bf99f7e into NVIDIA:master Apr 13, 2022
@ajdecon ajdecon mentioned this pull request Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-release Critical for the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants