Resource
The Cloud Native Service Add-On Pack is a collection of third-party, open source tools that are stood up provide services for NVIDIA cloud-native workloads.
Use the NGC CLI to download:
Copied!
Cloud Native Services Add-on Pack Quickstart
- Download the
nvidia-cnpackbinary and add it to your path. - Ensure you have a Kubeconfig file aviailable that is configured for your target cluster.
- Ensure that PhysicalVolumes are available on your cluster and assigned to a StorageClass. Typically, a dynamically provisioing CSI driver will be used.
- Create a wildcard A record that points to your cluster. If you are using a multi-node cluster, you will need to create a load balancer that balances across all of the cluster nodes on the port you would like to have services hosted on, typically 443. Your A record should then point to the load balancer. This wildcard record will be used for cluster ingress.
*.MY_DOMAIN_NAME.com A 192.168.10.5 - Create a working directory:
mkdir -p /opt/nvidia-cnpack/new-cluster - Create a basic configuration file:
In this file, please change the wildcard domain name and external port to reflect how you would like to expose your services. Also ensure the Keycloak and Prometheus configuration are properly set to use the storage available on your cluster.
cat > /opt/nvidia-cnpack/new-cluster/config.yaml <<EOF apiVersion: v1alpha1 kind: NvidiaPlatform spec: platform: wildcardDomain: "*.MY_DOMAIN_NAME.com" externalPort: 443 ingress: enabled: true postgres: enabled: true certManager: enabled: true trustManager: enabled: true keycloak: databaseStorage: accessModes: - ReadWriteOnce resources: requests: storage: 1G storageClassName: MY_STORAGE_CLASS volumeMode: Filesystem prometheus: storage: accessModes: - ReadWriteOnce resources: requests: storage: 1G storageClassName: MY_STORAGE_CLASS volumeMode: Filesystem grafana: enabled: true elastic: enabled: true EOF - Deploy the Cloud Native Add-on Pack:
nvidia-cnpack create \ -d /opt/nvidia-cnpack/new-cluster \ -f /opt/nvidia-cnpack/new-cluster/config.yaml \ --kubeconfig /path/to/kubeconfig