Kubetunnel allows you to attach Kubernetes clusters to your Kommander cluster even with network restrictions in place that would otherwise make attaching impossible. However, there is an issue with all Kommander-UI versions prior to 6.99.4 that prevent the proper display, updating and administration of Kubetunnel attached clusters via the Kommander UI.
To see if you are affected by this issue, check the current version of the Kommander UI with the following command:
kubectl get deployment -n kommander kommander-kubeaddons-kommander-ui -o yaml | grep "image: mesosphere/kommander:"
If your version is < 6.99.4 and you wish to use Kubetunnel in your environment, you are affected by this issue.
To resolve this issue, upgrade to Kommander UI version 6.99.4. You can either patch the deployment and update the image tag:
kubectl patch deployment kommander-kubeaddons-kommander-ui -n kommander -p '{"spec":{"template":{"spec":{"containers":[{"name":"kommander-kubeaddons-kommander-ui","image":"mesosphere/kommander:6.99.4"}]}}}}'
Or for a more permanent solution you can edit cluster.yaml, this will ensure that the version stays between upgrades:
- configRepository: https://github.com/mesosphere/kubeaddons-kommander configVersion: stable-1.20-1.4.1 addonsList: - name: kommander enabled: true values: |2 kommander-ui: image: repository: mesosphere/kommander tag: 6.99.4