摘要: 1.修改主机名(分别操作)hostnamectl set-hostname k8s-master01 && bashhostnamectl set-hostname k8s-master02 && bashhostnamectl set-hostname k8s-master03 && bashho 阅读全文
posted @ 2022-05-02 22:53 awks 阅读(91) 评论(0) 推荐(0)
摘要: keepalive+nginx高可用架构图: 阅读全文
posted @ 2022-04-30 14:51 awks 阅读(101) 评论(0) 推荐(0)
摘要: kubernetes学习资料https://github.com/dotbalo/kubernetes-study-documents 阅读全文
posted @ 2022-04-29 09:18 awks 阅读(84) 评论(1) 推荐(0)
摘要: 下载安装包下载地址:https://github.com/kubernetes/kubernetes/tree/master/CHANGELOGcd /data/appwget https://dl.k8s.io/v1.22.1/kubernetes-server-linux-amd64.tar.g 阅读全文
posted @ 2022-04-28 19:24 awks 阅读(105) 评论(0) 推荐(0)
摘要: 一丶生成ectd自签名证书 下载cfssl工具https://github.com/cloudflare/cfssl/releaseswget -O /usr/bin/cfssl https://github.com/cloudflare/cfssl/releases/download/v1.6.1 阅读全文
posted @ 2022-04-27 17:10 awks 阅读(296) 评论(0) 推荐(0)
摘要: 1.安装初始化 k8s 需要的软件包yum install -y kubelet-1.22.1 kubeadm-1.22.1 kubectl-1.22.1systemctl enable kubelet && systemctl start kubeletsystemctl status kubel 阅读全文
posted @ 2022-04-25 21:42 awks 阅读(170) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-04-25 19:39 awks 阅读(471) 评论(0) 推荐(0)
摘要: 源码地址:https://github.com/prometheus-operator/kube-prometheus 阅读全文
posted @ 2022-04-23 10:43 awks 阅读(19) 评论(0) 推荐(0)
摘要: k8s核心组件架构图: 一丶Pod Pod是Kubernetes中的最小调度单元,k8s是通过定义一个Pod的资源,然后在Pod里面运行容器,容器需要指定镜像,用来运行具体的服务。Pod代表集群上正在运行的一个进程,一个Pod封装一个容器(也可以封装多个容器),Pod里的容器共享存储、网络等。也就是 阅读全文
posted @ 2022-04-21 17:17 awks 阅读(68) 评论(0) 推荐(0)
摘要: 下载安装包官方下载地址:https://prometheus.io/download/下载历史版本:https://github.com/prometheus/pushgateway/releaseswget https://github.com/prometheus/pushgateway/rel 阅读全文
posted @ 2022-04-15 15:04 awks 阅读(325) 评论(0) 推荐(0)