You can install Kommander on a small environment with smaller memory, storage, and CPU requirements for testing and demo purposes. This topic describes methods for installing Kommander in these environments. Refer to the Kommander documentation for more information.
You can install this minimal setup on networked and air-gapped environments, regardless of the license type (Essential or Enterprise).
Prerequisites
Ensure you have done the following:
- You have acquired a DKP license.
- You have installed Konvoy.
- You have reviewed the prerequisite section pertaining to your air-gapped, or networked environment.
Minimal Kommander installation
The YAML file that is used to install a minimal configuration of Kommander contains the bare minimum setup that allows you to deploy applications, and access the DKP UI. It does NOT include applications for cost monitoring, logging, alerting, object storage, etc.
In this YAML file you can find the lines that correspond to all platform applications which would be included in a normal Kommander setup. Applications that have enabled
set to false
are not taken into account during installation. If you want to test an additional application, you can enable it individually to be installed by setting enabled
to true
on the corresponding line in the YAML file.
For example, if you want to enable the logging stack, set enabled
to true
for grafana-logging
, grafana-loki
, logging-operator
and minio-operator
. Note that depending on the size of your cluster, enabling several platform applications could exhaust your cluster’s resources.
-
Initialize your Kommander installation and name it
kommander_minimal.yaml
:dkp install kommander --init --kubeconfig=<cluster-kubeconfig>.conf -oyaml > kommander_minimal.yaml
-
Edit your
kommander_minimal.yaml
file to match the following example:apiVersion: config.kommander.mesosphere.io/v1alpha1 kind: Installation apps: dex: enabled: true dex-k8s-authenticator: enabled: true dkp-insights-management: enabled: false fluent-bit: enabled: true gatekeeper: enabled: true gitea: enabled: true grafana-logging: enabled: false grafana-loki: enabled: false kommander: enabled: true kube-prometheus-stack: enabled: false kubefed: enabled: true kubernetes-dashboard: enabled: false kubetunnel: enabled: false logging-operator: enabled: false minio-operator: enabled: false prometheus-adapter: enabled: false reloader: enabled: true traefik: enabled: true traefik-forward-auth-mgmt: enabled: true velero: enabled: false ageEncryptionSecretName: sops-age clusterHostname: ""
-
Install Kommander on your cluster with the following command:
dkp install kommander --installer-config ./kommander_minimal.yaml --kubeconfig=<cluster-kubeconfig>.conf