Getting Started

Kontena Lens is the ultimate dashboard for Kubernetes. Get started with Kontena Lens by following these steps:

  1. Install Kontena Lens
  2. Install Kontena Lens Plugin for Kubectl (optional)
  3. Login

NOTE: Kontena Lens is commercial software with 14-day evaluation period, free of charge. See pricing for more details.

Install Kontena Lens

Kontena Lens may be installed to any Kubernetes cluster that will meet the requirements. The installation is done with kubectl command line tool. You will simply deploy Kontena Lens installer into your cluster.

Amazon EKS

See detailed step-by-step tutorial.

Download the Kontena Lens installer manifest for EKS from https://lens-installer.kontena.io/latest/eks.yaml and tweak the kontena-lens-installer ConfigMap to your liking. Then apply the modified installer manifest to your cluster using kubectl:

$ kubectl apply -f ./eks.yaml

Google GKE

See detailed step-by-step tutorial.

Download the Kontena Lens installer manifest for GKE from https://lens-installer.kontena.io/latest/gke.yaml and tweak the kontena-lens-installer ConfigMap to your liking. Then apply the modified installer manifest to your cluster using kubectl:

$ kubectl apply -f ./gke.yaml

NOTE: Install will fail if you don't have enough privileges in your cluster. Add your GKE user to cluster-admin role.

Kontena Pharos

Download the Kontena Lens installer manifest for Kontena Pharos from https://lens-installer.kontena.io/latest/pharos.yaml and tweak the kontena-lens-installer ConfigMap to your liking. Then apply the modified installer manifest to your cluster using kubectl:

NOTE: Kontena Pharos PRO users need to disable kontena-lens and kontena-stats addons before install.

$ kubectl apply -f ./pharos.yaml

Minikube

See detailed step-by-step tutorial.

Download the Kontena Lens installer manifest for Minikube from https://lens-installer.kontena.io/latest/minikube.yaml and change minikube ip (minikube ip) to ingress.host in kontena-lens-installer ConfigMap. Then apply the modified installer manifest to minikube using kubectl:

NOTE: Minikube should have > 2GB memory.

$ kubectl apply -f ./minikube.yaml

Custom

Download the Kontena Lens installer manifest from https://lens-installer.kontena.io/latest/custom.yaml and tweak the kontena-lens-installer ConfigMap to your liking. Then apply the modified installer manifest to your cluster using kubectl:

NOTE: You can use specific version of the installer by replacing latest in the manifest URL.

$ kubectl apply -f ./custom.yml

Login

Installer will create lens-admin ServiceAccount that has admin rights to the cluster. To fetch lens-admin user token, see the installer logs:

$ kubectl logs -n kube-system -l k8s-app=kontena-lens-installer

Logs should end with instructions how to access the Kontena Lens UI.

Example log output:

    Post-install message from kontena-lens:
      Kontena Lens UI is configured to respond at: https://lens.mydomain.com
      Starting up Kontena Lens the first time might take couple of minutes, until that you'll see 503 with the address given above.
    You can login to Kontena Lens as admin with a ServiceAccount token that can be fetched with the following command:
      kubectl -n kube-system get secrets lens-admin-token-bh94m -o jsonpath="{.data.token}" | base64 --decode

Next Steps

results matching ""

    No results matching ""