上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: StatefulSet 有状态应用[有状态应用] 有状态:StatefulSet - 集群节点之间的关系。 - 数据不完全一致。 - 实例之间不对等的关系。 - 依靠外部存储的应用。 - 通过dns维持身份 - 每个pod都有特定的名称和网络标识(如pod名是由statefulSet名+有序的数字组 阅读全文
posted @ 2021-07-17 19:39 陈雷雷 阅读(1625) 评论(0) 推荐(0)
摘要: StatefulSet(有状态集,缩写为sts)常用于部署有状态的且需要有序启动的应用程序,比如在进行SpringCloud项目容器化时,Eureka的部署是比较适合用StatefulSet部署方式的,可以给每个Eureka实例创建一个唯一且固定的标识符,并且每个Eureka实例无需配置多余的Ser 阅读全文
posted @ 2021-07-17 18:36 陈雷雷 阅读(3417) 评论(1) 推荐(0)
摘要: grafan+cadvisor+prometheus监控docker: 运行cadvisor: docker run \ --volume=/:/rootfs:ro \ --volume=/var/run:/var/run:ro \ --volume=/sys:/sys:ro \ --volume= 阅读全文
posted @ 2021-07-14 15:00 陈雷雷 阅读(391) 评论(0) 推荐(1)
摘要: #启动tomcat容器: docker run -d --name tomcat9.0 -p 8080:8080 registry.cn-hangzhou.aliyuncs.com/chenleilei/tomcat9:latest docker cp tomcat9.0:/usr/local/to 阅读全文
posted @ 2021-07-12 10:13 陈雷雷 阅读(121) 评论(0) 推荐(0)
摘要: 运行一个容器: apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" generation: 1 labels: app: nginx name: ngin 阅读全文
posted @ 2021-07-06 22:30 陈雷雷 阅读(506) 评论(0) 推荐(0)
摘要: 运行一个容器: apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" creationTimestamp: "2020-09-19T02:41:11Z" g 阅读全文
posted @ 2021-07-05 01:50 陈雷雷 阅读(225) 评论(0) 推荐(0)
摘要: php8.0 nginx1.18 mysql5.7 #安装docker wget -O /etc/yum.repos.d/ali_docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum i 阅读全文
posted @ 2021-07-04 12:08 陈雷雷 阅读(527) 评论(0) 推荐(0)
摘要: 学习课程笔记: kubernetes学习课程笔记 环境规划 主机名 IP地址 说明 k8s-master01 ~ 03 192.168.3.81 ~ 83 master节点 * 3 k8s-master-lb 192.168.3.200 keepalived虚拟IP k8s-node01 ~ 02 阅读全文
posted @ 2021-07-02 02:24 陈雷雷 阅读(1483) 评论(3) 推荐(0)
摘要: kubernetes的三种探针 startupprobe: k8s1.16版本后新加的探测方式,用于判断容器内应用程序是否已经启动,如果配置了startuprobe,就会先禁用其他的探测,直到它成功为止,成功后将不再进行探测。 ReadinessProbe: 一般用于探测容器内的程序是否健康,它的返 阅读全文
posted @ 2021-06-26 12:31 陈雷雷 阅读(7622) 评论(0) 推荐(0)
摘要: mkdir -p /usr/local/openssl #wget https://www.openssl.org/source/openssl-1.1.1d.tar.gz tar -xf openssl-1.1.1d.tar.gz -C /usr/local cd /usr/local/opens 阅读全文
posted @ 2021-06-13 22:16 陈雷雷 阅读(241) 评论(0) 推荐(0)
摘要: mkdir -p /usr/local/openssl #wget https://www.openssl.org/source/openssl-1.1.1d.tar.gz tar -xf openssl-1.1.1d.tar.gz -C /usr/local cd /usr/local/opens 阅读全文
posted @ 2021-06-13 17:53 陈雷雷 阅读(177) 评论(0) 推荐(0)
摘要: 环境规划: IP 主机名 组件 配置 备注 192.168.3.81 node1 8核16G 磁盘X2-50G 没有8核16G无法添加服务器 192.168.3.82 node2 cache,proxy 8核16G 磁盘X2-50G 192.168.3.83 node3c cache,proxy 8 阅读全文
posted @ 2021-05-30 18:53 陈雷雷 阅读(617) 评论(1) 推荐(0)
摘要: 一、环境准备 0. 服务器环境 系统版本 IP 配置 主机名 CentOS Linux release 7.4.1708 192.168.1.151 8核32g 40G磁盘 node1 CentOS Linux release 7.4.1708 192.168.1.152 4核8g 40G磁盘 no 阅读全文
posted @ 2021-05-27 17:23 陈雷雷 阅读(337) 评论(0) 推荐(0)
摘要: https://dlk2qiw7lh.feishu.cn/docs/doccnWeuWZYYgHel36oeqVkNG2e# 阅读全文
posted @ 2021-05-24 19:38 陈雷雷 阅读(118) 评论(0) 推荐(0)
摘要: 系统版本 IP 配置 主机名 CentOS Linux release 7.4.1708 192.168.1.66 4核4g40G磁盘 node1 CentOS Linux release 7.4.1708 192.168.1.160 4核4g40G磁盘 node2 CentOS Linux rel 阅读全文
posted @ 2021-04-30 17:50 陈雷雷 阅读(687) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页