上一页 1 2 3 4 5 6 7 ··· 10 下一页
  2019年6月28日
摘要: 一、saltstack的状态管理 状态管理官网: https://www.unixhot.com/docs/saltstack/ref/states/all/index.html 1)状态分析 2.1) 对于lamp 架构状态管理分析 2.2)安装软件示例和配置文件定义示例 #示例:同时安装多个包 阅读全文
posted @ 2019-06-28 08:06 可口_可乐 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 一、二进制部署 k8s集群 1)参考文章 2)环境架构 二、创建证书 1)hosts 文件修改 k8s-api.virtual.local 为后期设计的高可用的访问地址。现在临时设置 2)环境变量定义 [root@master01 ~]# head -c 16 /dev/urandom | od - 阅读全文
posted @ 2019-06-28 08:05 可口_可乐 阅读(1761) 评论(1) 推荐(2) 编辑
摘要: 一、安装saltstack 1)官网安装 http://repo.saltstack.com/#rhel saltstack的模块: https://www.unixhot.com/docs/saltstack/ref/modules/all/ 2)启动服务 安装源,(所有机器) yum insta 阅读全文
posted @ 2019-06-28 08:05 可口_可乐 阅读(443) 评论(0) 推荐(0) 编辑
  2019年6月27日
摘要: 一、快速搭建文档 一、初始化kubernete kubeadm init --kubernetes-version=v1.14.0 --pod-network-cidr=10.244.0.0/16 --apiserver-advertise-address=192.168.10.12 --image 阅读全文
posted @ 2019-06-27 18:34 可口_可乐 阅读(1938) 评论(0) 推荐(1) 编辑
摘要: 1) 安装 git clone https://github.com/iKubernetes/k8s-prom.git [root@master opt]# cd k8s-prom/ [root@master k8s-prom]# kubectl apply -f namespace.yaml [r 阅读全文
posted @ 2019-06-27 18:33 可口_可乐 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 存储卷查看:kubectl explain pods.spec.volumes 一、简单的存储方式 1)2个容器之间共享存储.。(删除则数据消失) apiVersion: v1 kind: Pod metadata: name: pod-demo namespace: default labels: 阅读全文
posted @ 2019-06-27 18:31 可口_可乐 阅读(1291) 评论(0) 推荐(0) 编辑
  2019年5月6日
摘要: 一、nfs搭建 1)nfs介绍 NFS的优点: 1:简单,容易上手,容易掌握,数据是在文件系统之上 2:方便,部署快速,维护简单 3:可靠,从软件层面上看,数据可靠性高,经久耐用,数据是在文件系统之上 4:稳定 NFS的局限: 1:局限性是存在单点故障,如果nfs server宕机了所有客户端都不能 阅读全文
posted @ 2019-05-06 10:45 可口_可乐 阅读(201) 评论(0) 推荐(0) 编辑
  2019年4月16日
摘要: 一、kubectl的命令参数 1)kubectl 能使用的命令。即查看帮助 [root@k8s6 ~]# kubectl kubectl controls the Kubernetes cluster manager. Find more information at: https://kubern 阅读全文
posted @ 2019-04-16 15:11 可口_可乐 阅读(3135) 评论(0) 推荐(0) 编辑
  2019年4月9日
摘要: docker容器官网:https://hub.docker.com/ 一、centos7.4中指定安装docker版本 1)默认yum源安装的docker版本为docker1.3。性能偏低,不支持k8s。k8s目前只支持docker1.7 谷歌浏览器打开。清华大学镜像网站:https://mirro 阅读全文
posted @ 2019-04-09 17:40 可口_可乐 阅读(717) 评论(0) 推荐(0) 编辑
  2019年4月4日
摘要: 一、安装elasticsearch 官网:https://www.elastic.co/guide/index.html https://www.elastic.co/guide/en/elasticsearch/reference/2.3/index.html 参考搭建文档 Elasticsear 阅读全文
posted @ 2019-04-04 13:11 可口_可乐 阅读(277) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页