Step 3: Install Workflow Components
This section will walk through an end-to-end workflow deployment using the example software stack components previously described.
Ensure that the previous Step 2: Set Up Required Infrastructure section has been completed prior to proceeding with the deployment steps.
SSH into the cluster.
If you still need to install and set up the NGC CLI with your API Key and NGC Org information, please do so to download the resources necessary for the workflow. Instructions can be found here.
Set the following environment variables according to your information as shown in the example below:
export NGC_KEY=<YOUR NGC API KEY> export NAMESPACE=<A namespace name, for example, “aiworkflow”> export APP_NAME=<An app name to use within the namespace, for example, “sp”>
The content of these environment variables will be referenced throughout the rest of the workflow.
Pull the helm chart onto the system using the following command:
helm fetch https://helm.ngc.nvidia.com/nvaie/charts/cybersecurity-sp-0.1.0.tgz --username='$oauthtoken' --password=$NGC_KEY
Run the Helm install command below to deploy the application.
helm install -n $NAMESPACE $APP_NAME ./cybersecurity-sp-0.1.0.tgz --set ngcKey=$NGC_KEY --create-namespace --timeout 3600sNote
This installation may take a few minutes to complete.Note
This Helm chart assumes that the default configuration described in the previous steps has been installed, including NVIDIA Cloud Native Service Add-on Pack and the local-path-provisioner. If the cluster configuration differs, such as if a different storage class is created, the values.yaml for the chart will need to be modified accordingly.
After a few minutes, check and verify that the application deployed successfully using the following command:
kubectl get pods -n $NAMESPACENote
You may see a mlflow-backup pod with a status of Error. If another mlflow-backup pod has a status of Completed, this is benign and can be ignored.
At this point, proceed to the Running the Workflow section to continue.