NVIDIA
NVIDIA
Cloud Native Service Add-on Pack
Resource
NVIDIA
NVIDIA
Cloud Native Service Add-on Pack

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.

Cloud Native Services Add-on Pack Quickstart

  1. Download the nvidia-cnpack binary and add it to your path.
  2. Ensure you have a Kubeconfig file aviailable that is configured for your target cluster.
  3. Ensure that PhysicalVolumes are available on your cluster and assigned to a StorageClass. Typically, a dynamically provisioing CSI driver will be used.
  4. 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
    
  5. Create a working directory:
    mkdir -p /opt/nvidia-cnpack/new-cluster
    
  6. Create a basic configuration file:
    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
    
    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.
  7. 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