sky_cheng

导航

 
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 28 下一页

2021年6月30日

摘要: 一、现象 [root@redis-01 kubernetes]# kubectl get pods The connection to the server localhost:8080 was refused - did you specify the right host or port? [r 阅读全文
posted @ 2021-06-30 17:09 sky_cheng 阅读(1652) 评论(0) 推荐(0)
 
摘要: 一、运行了一个debian容器,进入容器后执行apt-get update报错 root@nginx-demo-deployment-59fbc48594-4z8h9:/# apt-get update Err:1 http://deb.debian.org/debian buster InRele 阅读全文
posted @ 2021-06-30 17:08 sky_cheng 阅读(2439) 评论(0) 推荐(0)
 
摘要: 一、进入pod可以访问IP,不能访问域名 bash-5.0# ping www.baidu.com ping: bad address 'www.baidu.com 二、进入目标pod容器,查看/etc/resolv.conf bash-5.0# cat /etc/resolv.conf names 阅读全文
posted @ 2021-06-30 17:06 sky_cheng 阅读(3575) 评论(1) 推荐(3)
 
摘要: 一、加入node节点 [root@redis-01 kubernetes]# kubeadm join 172.28.18.69:6443 --token abcdef.0123456789abcdef --discovery-token-ca-cert-hash sha256:6010baa60f 阅读全文
posted @ 2021-06-30 17:05 sky_cheng 阅读(5974) 评论(0) 推荐(1)
 
摘要: 一、现象 [root@master69 nginx-demo]# kubectl get pods NAME READY STATUS RESTARTS AGE nginx-demo-deployment-59fbc48594-fq5kr 0/1 ContainerCreating 0 26s ng 阅读全文
posted @ 2021-06-30 17:04 sky_cheng 阅读(1647) 评论(0) 推荐(0)
 
摘要: 一、创建两个service [root@master69 kubernetes]# kubectl create -f hl95-notary/hl95-notary-namespace.yaml [root@master69 kubernetes]# kubectl create -f hl95- 阅读全文
posted @ 2021-06-30 17:02 sky_cheng 阅读(375) 评论(0) 推荐(0)
 
摘要: 一、删除node节点 [root@master69 kubernetes]# kubectl get nodes NAME STATUS ROLES AGE VERSION master69 NotReady master 47h v1.18.5 redis-01.hlqxt NotReady <n 阅读全文
posted @ 2021-06-30 17:01 sky_cheng 阅读(3820) 评论(0) 推荐(0)
 
摘要: 1、查看节点 [root@master69 kubernetes]# kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-R 阅读全文
posted @ 2021-06-30 17:00 sky_cheng 阅读(75) 评论(0) 推荐(0)
 
摘要: Kubernetes dashboard是Kubernetes集群的基于Web的通用UI。它允许用户管理集群中运行的应用程序并对其进行故障排除,以及管理集群本身。 一、查看系统pod [root@master69 kubernetes]# kubectl get pods -n kube-syste 阅读全文
posted @ 2021-06-30 16:30 sky_cheng 阅读(517) 评论(0) 推荐(0)
 
摘要: 在新版的K8S中,系统资源的采集均使用Metrics-Server服务,可以通过Metrics-Server服务采集节点和Pod的内存、磁盘、CPU和网络的使用率等信息。通过 Metrics API 获取。 Metrics API 只可以查询当前的度量数据,并不保存历史数据 Metrics API 阅读全文
posted @ 2021-06-30 16:28 sky_cheng 阅读(604) 评论(2) 推荐(0)
 
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 28 下一页