AWS Air-gapped GPU: Install Kommander
You have installed the Konvoy component and created a cluster. Now it is time to Install Kommander which will allow you to access the UI and attach new or existing clusters to monitor.
Prerequisites
- Ensure you have reviewed all Prerequisites for Install. 
- Ensure you have a default StorageClass. 
- Ensure you have loaded all necessary images for your configuration. See Load the Images into Your Registry: Air-gapped Environments. 
- Note down the name of the cluster, where you want to install Kommander. If you do not know it, use - kubectl get clusters -Ato display it.
Create your Kommander Installer Configuration File
- Set the environment variable for your cluster: CODE- export CLUSTER_NAME=<your-management-cluster-name>
- Copy the - kubeconfigfile of your Management cluster to your local directory:CODE- dkp get kubeconfig -c ${CLUSTER_NAME} > ${CLUSTER_NAME}.conf
- Create a configuration file for the deployment: CODE- dkp install kommander --init --airgapped > kommander.yaml
- If required, customize your - kommander.yaml. See Kommander Customizations for customization options. Some of them include: See Kommander Customizations for customization options. Some of them include:- Custom Domains and Certificates 
- HTTP proxy 
- External Load Balancer 
- GPU utilization, etc. 
 
- If required: If your cluster uses a custom AWS VPC and requires an internal load-balancer, set the - traefikannotation to create an internal-facing ELB:CODE- ... apps: traefik: enabled: true values: | service: annotations: service.beta.kubernetes.io/aws-load-balancer-internal: "true ...
- Expand one of the following sets of instructions, depending on your license and application environments: 
Enable GPU Resources
- Append the following to the apps section in the - kommander.yamlfile to enable Nvidia platform services.CODE- apps: nvidia-gpu-operator: enabled: true
- Append the correct Nvidia Toolkit version based on your OS: - The NVIDIA Container Toolkit allows users to run GPU accelerated containers. The toolkit includes a container runtime library and utilities to automatically configure containers to leverage NVIDIA GPU and must be configured correctly according to your base operating system. - Centos 7.9/RHEL 7.9: 
 If you’re using Centos 7.9 or RHEL 7.9 as the base operating system for your GPU enabled nodes, set the- toolkit.versionparameter in your Kommander Installer Configuration file or- <kommander.yaml>to the following:CODE- kind: Installation apps: nvidia-gpu-operator: enabled: true values: | toolkit: version: v1.14.6-centos7- RHEL 8.4/8.6 and SLES 15 SP3 
 If you’re using RHEL 8.4/8.6 or SLES 15 SP3 as the base operating system for your GPU enabled nodes, set the- toolkit.versionparameter in your Kommander Installer Configuration file or- <kommander.yaml>to the following:CODE- kind: Installation apps: nvidia-gpu-operator: enabled: true values: | toolkit: version: v1.14.6-ubi8- Ubuntu 18.04 and 20.04 
 If you’re using Ubuntu 18.04 or 20.04 as the base operating system for your GPU enabled nodes, set the- toolkit.versionparameter in your Kommander Installer Configuration file or- <kommander.yaml>to the following:CODE- kind: Installation apps: nvidia-gpu-operator: enabled: true values: | toolkit: version: v1.14.6-ubuntu20.04
Enable DKP Catalog Applications and Install Kommander in an Air-gapped Environment
If you want to enable DKP Catalog applications after installing DKP, see Enable DKP Catalog Applications after Installing DKP.
- In the same - kommander.yamlof the previous section, add the following values to enable DKP Catalog Applications:CODE- apiVersion: config.kommander.mesosphere.io/v1alpha1 kind: Installation ... catalog: repositories: - name: dkp-catalog-applications labels: kommander.d2iq.io/project-default-catalog-repository: "true" kommander.d2iq.io/workspace-default-catalog-repository: "true" kommander.d2iq.io/gitapps-gitrepository-type: "dkp" path: ./dkp-catalog-applications-v2.8.1.tar.gz If you only want to enable catalog applications to an existing configuration, add these values to an existing installer configuration file to maintain your Management cluster’s settings. If you only want to enable catalog applications to an existing configuration, add these values to an existing installer configuration file to maintain your Management cluster’s settings.
- Use the customized - kommander.yamlto install DKP:CODE- dkp install kommander --installer-config kommander.yaml --kubeconfig=${CLUSTER_NAME}.conf \ --kommander-applications-repository ./application-repositories/kommander-applications-v2.8.1.tar.gz \ --charts-bundle ./application-charts/dkp-kommander-charts-bundle-v2.8.1.tar.gz \ --charts-bundle ./application-charts/dkp-catalog-applications-charts-bundle-v2.8.1.tar.gz
Tips and recommendations
- The - --kubeconfig=${CLUSTER_NAME}.confflag ensures that you install Kommander on the correct cluster. For alternatives, see Provide Context for Commands with a kubeconfig File.
- Applications can take longer to deploy, and time out the installation. Add the - --wait-timeout <time to wait>flag and specify a period of time (for example,- 1h) to allocate more time to the deployment of applications.
- If the Kommander installation fails, or you wish to reconfigure applications, rerun the - installcommand to retry.
.png)