![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
k8S
DBA之路
啥也不会的DBA
展开
-
k8s部署metrics-server0.37
github地址https://github.com/kubernetes-sigs/metrics-server下载wget https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml -O metrics-server.yaml使用这个进行docker pull juestnow/metrics-server:v0.3.7修改配置文件重要是修改了镜像和添加了一..原创 2020-10-20 17:44:44 · 467 阅读 · 0 评论 -
部署kubernetes dashboard v2.0.4
https://blog.csdn.net/CHEndorid/article/details/108510429原创 2020-10-20 16:59:21 · 441 阅读 · 0 评论 -
安装kubernetes-dashboard v2.0.0-beta4
前几天安装的1.8和 1.10的版本的dashboard会报错,今天安装2.0.0版本1 下载文件wget https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta4/aio/deploy/recommended.yaml2 拉取镜像docker pull kubernetesui/metrics-scraper:v1.0.1docker pull kubernetesui/dashboard:v2.0.0...原创 2020-10-20 16:02:16 · 919 阅读 · 0 评论 -
The connection to the server localhost:8080 was refused - did you specify the right host or port?
在k8s的node节点上执行命令报错如下kubectl get pod --all-namespacesmaster节点scp -r /etc/kubernetes/admin.conf root@10.238.162.32:/etc/kubernetes/admin.confscp -r /etc/kubernetes/admin.conf root@10.238.162.34:/etc/kubernetes/admin.confnode节点执行配置环境变量echo...原创 2020-10-20 11:31:36 · 248 阅读 · 0 评论 -
K8S部署web管理页面dashboard
官网https://kubernetes.io/zh/docs/tasks/access-application-cluster/web-ui-dashboard/先来看一张部署成功的效果图 ,dashboard作为k8s的webUI ,可以方便我们管理k8s集群以及应用。1kubernetes-dashboard.yaml文件apiVersion: v1kind: Secretmetadata: labels: k8s-app: kubernetes-dashb...原创 2020-10-19 23:05:22 · 3720 阅读 · 0 评论 -
centos7部署k8s集群
环境1 修改服务器主机名hostnamectl set-hostname k8s-node12 修改IP与主机名对应关系vim /etc/hosts10.238.162.33k8s-master10.238.162.32k8s-node110.238.162.34k8s-node23 关闭防火墙systemctl stop firewalldsystemctl disable firewalld4 关闭seliunxsed -i 's/SELIN...原创 2020-10-16 15:19:39 · 2092 阅读 · 0 评论