-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yuvraj <[email protected]>
- Loading branch information
Showing
4 changed files
with
108 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.. _deployment-cluster-config: | ||
|
||
############## | ||
Cluster Config | ||
############## | ||
|
||
|
||
.. panels:: | ||
:header: text-center | ||
|
||
.. link-button:: deployment-plugin-setup-mpi-operator | ||
:type: ref | ||
:text: MPI Plugin | ||
:classes: btn-block stretched-link | ||
^^^^^^^^^^^^ | ||
Guide to setting up MPI Plugin | ||
|
||
--- | ||
|
||
.. link-button:: deployment-plugin-setup-spark-plugin | ||
:type: ref | ||
:text: Spark Plugin | ||
:classes: btn-block stretched-link | ||
^^^^^^^^^^^^ | ||
Guide to setting up Spark Plugin | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:name: Plugin Setup | ||
:hidden: | ||
|
||
mpi_operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.. _deployment-plugin-setup-mpi-operator: | ||
|
||
MPI Operator Setup | ||
------------------------ | ||
|
||
.. _install-mpi-appendix: | ||
|
||
############## | ||
Install MPI Operator | ||
############## | ||
|
||
Start the sandbox for testing | ||
|
||
.. code-block:: bash | ||
flytectl sandbox start | ||
Clone MPI Operator | ||
|
||
.. code-block:: bash | ||
git clone https://github.com/kubeflow/mpi-operator.git && cd mpi-operator/manifests | ||
Install MPI Operator | ||
|
||
.. code-block:: bash | ||
kustomize build overlays/kubeflow | kubectl apply -f - | ||
Create a values-mpi.yaml | ||
|
||
.. code-block:: | ||
configmap: | ||
enabled_plugins: | ||
# -- Tasks specific configuration [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#GetConfig) | ||
tasks: | ||
# -- Plugins configuration, [structure](https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#TaskPluginConfig) | ||
task-plugins: | ||
# -- [Enabled Plugins](https://pkg.go.dev/github.com/flyteorg/flyteplugins/go/tasks/config#Config). Enable sagemaker*, athena if you install the backend | ||
# plugins | ||
enabled-plugins: | ||
- container | ||
- sidecar | ||
- k8s-array | ||
- mpi | ||
default-for-task-types: | ||
container: container | ||
sidecar: sidecar | ||
container_array: k8s-array | ||
mpi: mpi | ||
Upgrade flyte helm release | ||
|
||
.. code-block:: bash | ||
helm upgrade -n flyte -f values-mpi.yaml flyteorg/flyte --kubeconfig=~/.flyte/k3s/k3s.yaml |