In instances where some apps are not required or desired to be installed, you may opt to disable several apps before installing kommander. You can do this by first generating a yaml file with the install command:
./kommander install --init | tee kommander.yaml
Then you can edit the `kommander.yaml` file and disable, by commenting out or deleting the line, the non essential apps. You can choose which apps you want but the uncommented ones below are the bare minimum:
NOTE: You should also correctly configure your metallb values accordingly.
apiVersion: config.kommander.mesosphere.io/v1alpha1
kind: Installation
apps:
#centralized-grafana: null
#centralized-kubecost: null
dex: null
dex-k8s-authenticator: null
#fluent-bit: null
# gitea is only supported from DKP 2.2 onwards
# gitea: null
#gatekeeper: null
#grafana-logging: null
#grafana-loki: null
#karma: null
#karma-traefik: null
kommander: null
#kube-prometheus-stack: null
#kubecost: null
#kubecost-thanos-traefik: null
kubefed: null
#kubernetes-dashboard: null
#kubetunnel: null
# kube-oidc-proxy was not included in the generated --init
kube-oidc-proxy: null
#logging-operator: null
#minio-operator: null
metallb:
values: |
configInline:
address-pools:
- name: default
protocol: layer2
addresses:
- 192.168.251.1-192.168.251.254
#prometheus-adapter: null
#prometheus-thanos-traefik: null
reloader: null
#thanos: null
traefik: null
traefik-forward-auth-mgmt: null
#velero: null
ageEncryptionSecretName: sops-age
clusterHostname: ""
appManagementImageTag: v2.1.1
appManagementImageRepository: mesosphere/kommander2-appmanagement
kommanderChartsVersion: v2.1.1
You can then proceed and install using the modified file. Note that in the commands below, the kubeconfig is specified to target the workload cluster.
./kommander install --installer-config kommander.yaml --kubeconfig=${CLUSTER_NAME}.conf
After this, you may check if the Helm Releases are all marked healthy via:
kubectl get hr -A --kubeconfig=${CLUSTER_NAME}.conf
Follow the documentation to access the UI and obtain the credentials.