In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
The role of UI pages in the kubernetes platform K8s webUI management interface can be better, more intuitive and convenient for us to manage our K8s cluster. Experimental deployment experimental environment lb01:192.168.80.19 (load balancing server) lb01:192.168.80.20 (load balancing server) Master01:192.168.80.12Master01:192.168.80.11Node01:192.168.80.13Node02:192.168.80.14 this article continues with the previous article multi-node deployment and load balancing deployment continues to deploy, the experimental environment remains unchanged. Web page deployment web page requires us to go to the GitHub website to download the yaml file. I have already downloaded it. You can download the extraction code from the official file directly: tj0d.
GitHub download address
Operate on master01 server
[root@master01 ~] # mkdir abc/ / create a mount directory [root@master01 ~] # mount.cifs / / 192.168.80.2/Shares/K8S/k8s03 / root/abc/ Mount the prepared yaml files to the abc directory Password for root@//192.168.80.2/Shares/K8S/k8s03: [root@master01 ~] # cd abc/ [root@master01 abc] # lsdashboard-configmap.yaml dashboard-rbac.yaml dashboard-service .yamldashboard-controller.yaml dashboard-secret.yaml k8s-admin.yaml [root@master01 abc] # cd / root/k8s/ [root@master01 K8s] # mkdir dashboard/ / create a working directory [root@master01 dashboard] # cp / root/abc/*.yaml / root/k8s/dashboard/ copy files to the working directory [root@master01 dashboard] # lsdashboard-configmap.yaml dashboard-rbac.yaml dashboard-service.yamldashboard-controller.yaml dashboard-secret.yaml k8s -admin.yaml [root@master01 dashboard] # kubectl create-f dashboard-rbac.yamlrole.rbac.authorization.k8s.io/kubernetes-dashboard-minimal createdrolebinding.rbac.authorization.k8s.io/kubernetes-dashboard-minimal created [root@master01 dashboard] # kubectl create-f dashboard-secret.yamlsecret/kubernetes-dashboard-certs createdsecret/kubernetes-dashboard-key-holder created [root@master01 dashboard] # kubectl create-f dashboard-configmap.yamlconfigmap/kubernetes-dashboard-settings created [root@master01 dashboard] # kubectl create-f dashboard-controller. Yamlserviceaccount/kubernetes-dashboard createddeployment.apps/kubernetes-dashboard created [root@master01 dashboard] # kubectl create-f dashboard-service.yamlservice/kubernetes-dashboard created [root@master01 dashboard] # kubectl get pods-n kube-system / / View creation of NAME READY STATUS RESTARTS AGEkubernetes-dashboard-65f974f565-72cs2 0 under the specified kube-system namespace after completion 1 ContainerCreating 0 3m42s [root@master01 dashboard] # kubectl get pods Svc-n kube-system / / to see how to access NAME READY STATUS RESTARTS AGEpod/kubernetes-dashboard-65f974f565-72cs2 1 Running 1 25mNAME TYPE CLUSTER-IP EXTERNAL-IP PORT (S) AGEservice/kubernetes-dashboard NodePort 10.0.0.89 443VR 30001 / TCP 23m can be accessed by https://192.168.80.13:30001 / / using https by directly accessing the IP address of the node node in the host Pay attention to the port accessed
When you visit the page, you will report an error and there is a problem that you can't access it. Let's solve this access problem.
Go back to master01 server operation
[root@master01 dashboard] # vim dashboard-cert.sh / / create certificate file cat > dashboard-csr.json
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.