ubuntu microk8s install dashboard
程序员文章站
2022-05-31 14:53:27
...
一. install dashboard
https://virtualizationreview.com/articles/2019/01/30/microk8s-part-2-how-to-monitor-and-manage-kubernetes.aspx
1. microk8s.enable dns dashboard ingress
2. microk8s.kubectl get all
3. microk8s.kubectl proxy --accept-hosts=.* --address=0.0.0.0 &
http://{Ubuntu_IP_address}:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
二. enable skip login
https://github.com/ubuntu/microk8s/issues/292#issuecomment-492367399
1. microk8s.kubectl edit deployment/kubernetes-dashboard --namespace=kube-system
and add enable-skip-login as below:
template: metadata: creationTimestamp: null labels: k8s-app: kubernetes-dashboard spec: containers: - args: - --auto-generate-certificates - --namespace=kube-system - --enable-skip-login image: kubernetesui/dashboard:v2.0.0-beta5 imagePullPolicy: Always
推荐阅读
-
Ubuntu install 错误 E:Unable to locate package
-
Ubuntu 执行 apt-get install ××× 报错
-
Ubuntu install docker
-
UBuntu中sudo gem install sqlite3 无法执行成功
-
postgresql install and configure for ubuntu
-
Ubuntu18.04 ROS填坑之 roscore Command ‘roscore‘ not found, ..... : sudo apt install python-roslaunch
-
ubuntu 16.04 desktop + server LTS - pip3 install & uninstall
-
How to Install Grub Customizer in Ubuntu 16.04 LTS
-
How to Install PhantomJS on Ubuntu 16.04
-
How to install pip on Ubuntu 16.04 ?