今天启动k8s dashboard的时候报错:"no endpoints available for service \"kubernetes-dashboard\"" 以下是问题排查步骤: (1)首先查看pod状态: kubectl get pods --namespace kube-system 发现dashboard没有运行报错,继续查询: kubectl describe pod kubernetes-dashboard-669f9bbd46-rhmst -…
1.首先去github上找到kubernetes 2.然后找到get started 3.复制yaml文件地址,并wget到服务器上并部署即可 PS:本文把自己部署的yaml文件贴出来:recommended.yaml # Copyright The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file exc…