Skip to content

Commit

Permalink
Merge branch 'reorder-kata' into 'master'
Browse files Browse the repository at this point in the history
Move label nodes to first Operator install step

See merge request nvidia/cloud-native/cnt-docs!370
  • Loading branch information
mikemckiernan committed Jan 10, 2024
2 parents be7dcbd + 426e560 commit 9bb6b5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
20 changes: 8 additions & 12 deletions gpu-operator/gpu-operator-confidential-containers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ Installing and configuring your cluster to support the NVIDIA GPU Operator with

After installation, you can change the confidential computing mode and run a sample workload.

.. |project-name| replace:: Confidential Containers

.. start-install-coco-operator
Expand All @@ -267,6 +268,13 @@ Install the Confidential Containers Operator

Perform the following steps to install and verify the Confidential Containers Operator:

#. Label the nodes to run virtual machines in containers.
Label only the nodes that you want to run with |project-name|.

.. code-block:: console
$ kubectl label node <node-name> nvidia.com/gpu.workload.config=vm-passthrough
#. Set the Operator version in an environment variable:

.. code-block:: console
Expand Down Expand Up @@ -338,10 +346,6 @@ Perform the following steps to install and verify the Confidential Containers Op
nvidia.com/gpu.workload.config: "vm-passthrough"
...
.. tip::

Label the nodes with ``vm-passthrough`` when you install the NVIDIA GPU Operator.

#. Apply the modified manifests:

.. code-block:: console
Expand Down Expand Up @@ -386,14 +390,6 @@ Procedure

Perform the following steps to install the Operator for use with confidential containers:

#. Label the nodes to run virtual machines in containers.
Label only the nodes that you want to run with confidental containers.

.. code-block:: console
$ kubectl label node <node-name> nvidia.com/gpu.workload.config=vm-passthrough
#. Add and update the NVIDIA Helm repository:

.. code-block:: console
Expand Down
8 changes: 1 addition & 7 deletions gpu-operator/gpu-operator-kata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ Installing and configuring your cluster to support the NVIDIA GPU Operator with

After installation, you can run a sample workload.

.. |project-name| replace:: Kata Containers

.. include:: gpu-operator-confidential-containers.rst
:start-after: start-install-coco-operator
Expand All @@ -252,13 +253,6 @@ Procedure

Perform the following steps to install the Operator for use with Kata Containers:

#. Label the nodes to run virtual machines in containers.
Label only the nodes that you want to run with Kata Containers.

.. code-block:: console
$ kubectl label node <node-name> nvidia.com/gpu.workload.config=vm-passthrough
#. Add and update the NVIDIA Helm repository:

.. code-block:: console
Expand Down

0 comments on commit 9bb6b5f

Please sign in to comment.