Questions tagged [kubernetes-dashboard]

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.

Dashboard documentation can be found on Wiki pages.

212 questions
26
votes
5 answers

How can I make the automatic timed logout longer?

The web session timeout for Kubernetes Dashboard is pretty short. I can't see any setting or configuration parameter to change it. I tried inspecting the container contents with kubectl exec, but there does not seem to be any shell (sh, bash, ash,…
metroid2010
  • 261
  • 1
  • 3
  • 4
16
votes
5 answers

How to log in to the microk8s Kubernetes Dashboard?

I enabled the dashboard in microk8s: microk8s.enable dns dashboard I found its IP address: microk8s.kubectl get all --all-namespaces ... kube-system service/kubernetes-dashboard ClusterIP 10.152.183.212 443/TCP 24h ... I tried to…
John McGehee
  • 9,117
  • 9
  • 42
  • 50
10
votes
2 answers

Creating a Kubernetes Dashboard Token

I'm trying to follow the instructions at https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md to create a Kubernetes Dashboard token. However, when I run the specified command, I get an error %…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
10
votes
7 answers

How to access Kubernetes Dashboard from outside network

I am trying to access the kubernetes Dashboard using the Token method outside the network. I ran these 2 commands to get the token kubectl -n kube-system get secret kubectl -n kube-system describe secret replicaset-controller-token-2p4fk Copy…
MAX
  • 1,562
  • 4
  • 17
  • 25
10
votes
3 answers

Kubernetes dashboard through Ingress

I have Kubernetes Cluster with Ingress/Traefik controller Also, I installed the dashboard using the standard config from here: https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml I'm trying…
9
votes
1 answer

For Traefik Ingress Controller in k3s disable TLS Verification

I am using the default installation of k3s (release v1.17.0+k3s.1) and verified it is working correctly on my Raspberry Pi cluster. After installing kubernetes-dashboard using the recommended instructions…
Michael
  • 301
  • 4
  • 11
9
votes
2 answers

How to filter pods in kubernetes dashboard using labels?

How to select pods from the kubernetes dashboard using labels? Something similar like this: $ Kubectl get pods -l environment=production,tier=frontend
wesnica
  • 91
  • 4
9
votes
3 answers

Not able to see Kubernetes UI Dashboard

I have set up a cluster where there are 2 nodes. One is Master and Other is a node, both on different Azure ubuntu VMs. For networking, I used Canal tool. $ kubectl get nodes NAME STATUS ROLES AGE VERSION ubuntu-aniket1 …
8
votes
2 answers

Accessing kubernetes dashboard gives Error trying to reach service: 'dial tcp 10.44.0.2:8443: connect: connection refused'

I used kubernetes hard way and managed to deploy a cluster successfully with kubernetes 1.18.6 I used vmware and kubernetes 1.18.6. I deployed metric-server and kubernets dashboard I used this command --> …
8
votes
2 answers

microk8s Broken K8s Dashboard and Kubeflow Dashboard

I'm using microk8s in an Ubuntu 18.04 LTS VM, 3 cores, 60 GB storage, 12 GB of memory. I followed the instructions from microk8s website here to install it. $ snap install microk8s --classic --channel=1.18/stable $ sudo microk8s start $ sudo…
lwileczek
  • 2,084
  • 18
  • 27
7
votes
1 answer

Kubernetes Dashboard Token Expired in One hour. How to create token for long time

We have created kubernetes dashboard using below command. kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml kubectl patch svc -n kubernetes-dashboard kubernetes-dashboard --type='json' -p…
6
votes
3 answers

Accessing Kubernetes API via Kubernetes Dashboard Host

So the idea is Kubernetes dashboard accesses Kubernetes API to give us beautiful visualizations of different 'kinds' running in the Kubernetes cluster and the method by which we access the Kubernetes dashboard is by the proxy mechanism of the…
Arpit Goyal
  • 2,212
  • 11
  • 31
6
votes
1 answer

CrashLoopBackOff on kubernetes-dashboard

I'm a noob with Kubernetes. I'm trying to follow some recipes to get a small cluster up and running, but I'm having troubles ... I have a master and (4) nodes, all running Ubuntu 16.04 installed docker on all nodes: $ sudo apt-get update $ sudo…
Steve Maring
  • 313
  • 1
  • 3
  • 8
5
votes
2 answers

kubernetes dashboard (web ui) has nothing to display

After I deployed the webui (k8s dashboard), I logined to the dashboard but nothing found there, instead a list of errors in notification. tatefulsets.apps is forbidden: User "system:serviceaccount:kubernetes-dashboard:default" cannot list resource…
user12983782
5
votes
4 answers

One liner command to get secret name and secret's token

What's the one liner command to replace 2 commands like below to get the Kubernetes secret's token? Example usecase will be getting token from kubernetes-dashboard-admin's secret to login and view kubernetes-dashboard. Command example: $ kubectl…
Ryan
  • 3,085
  • 5
  • 27
  • 31
1
2 3
14 15