Thursday, June 16, 2022

AWS EKS Kubernetes Dashboard Token and Deployment

 Kubernetes Dashboard is a general purpose, web-based UI for Kubernetes clusters. It allows users to manage applications running in the cluster and troubleshoot them, as well as manage the cluster itself.

To deploy Dashboard, execute following command:

kubectl apply -f

Since this is deployed to our private cluster, we need to access it via a proxy. kube-proxy is available to proxy our requests to the dashboard service. In your workspace, run the following command:

kubectl proxy --port=8080 --address= --disable-filter=true &

This will start the proxy, listen on port 8080, listen on all interfaces, and will disable the filtering of non-localhost requests.

This command will continue to run in the background of the current terminal’s session.

$ kubectl describe secret kubernetes-dashboard-token-8cz55 -n kubernetes-dashboard

Name:         kubernetes-dashboard-token-8cz55

Namespace:    kubernetes-dashboard

Labels:       <none>

Annotations: kubernetes-dashboard





ca.crt:     1066 bytes

namespace:  20 bytes

token:      eyJhbGciOiJSUzI1NiIsImtpZCI6ImNGMlZGZ0NISFBFUmlMRTVyTV9fTi00Sl9BbjYwdTgxY2FJeVRScGJTdUUifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlcm5ldGVzLWRhc2hib2FyZCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQ

No comments: