摘要: k8s glusterfs存储的应用 ##################################################### #####################################################在所有节点安装 yum install -y n 阅读全文
posted @ 2019-11-22 11:24 些许记忆 阅读(677) 评论(0) 推荐(0)
摘要: #k8s创建registry镜像仓库和web管理工具 #################################################### ####################################################所有节点执行 ###所有节点执行 # 阅读全文
posted @ 2019-11-21 18:09 些许记忆 阅读(2859) 评论(0) 推荐(0)
摘要: registry web管理工具和启用删除镜像的功能 #################################################### #################################################### 生成证书 只在主节点操作 mkdi 阅读全文
posted @ 2019-11-21 11:36 些许记忆 阅读(1144) 评论(0) 推荐(0)
摘要: k8s ingress配置 ##############ingress配置 #wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml #wget https 阅读全文
posted @ 2019-11-18 15:56 些许记忆 阅读(2357) 评论(0) 推荐(0)
摘要: docker-compose 创建nginx #######docker-compose 创建nginxmkdir -p composetest/nginx cd composetest cat >nginx/Dockerfile <<EOF FROM centos:6.8 RUN yum inst 阅读全文
posted @ 2019-11-18 10:47 些许记忆 阅读(817) 评论(0) 推荐(0)
摘要: k8s 加入节点 centos7 ######基础配置 所有节点 ##################################################### ##################################################### 所有节点运行 ## 阅读全文
posted @ 2019-11-18 10:30 些许记忆 阅读(722) 评论(0) 推荐(0)
摘要: k8s nginx web 测试 #######cat >nginx-web.yaml <<EOF apiVersion: v1 kind: ReplicationController metadata: name: nginx-web spec: replicas: 1 selector: app 阅读全文
posted @ 2019-11-15 16:42 些许记忆 阅读(1088) 评论(0) 推荐(0)
摘要: ####registry 私有镜像仓库 高可用 #################################################### ####################################################所有节点执行 ###所有节点执行 ##每一 阅读全文
posted @ 2019-11-15 15:27 些许记忆 阅读(651) 评论(0) 推荐(0)
摘要: ####hosts管理工具 HTA javaScript #####将下面代码保存为 MT_HOSTS.HTA 文件,执行就可以了,如果要配置vpn服务端地址,修改脚本中PhoneNumber一行中xxxx.xxxx.com为自己的VPN地址。也可以给xxx.xxxx.com这个域名在host指向; 阅读全文
posted @ 2019-11-14 17:24 些许记忆 阅读(466) 评论(0) 推荐(0)
摘要: cloud-init配置文件 系统分区 lvm自动扩容 ###############################################cloud-init配置文件 ##/etc/cloud/cloud.cfg users: - default disable_root: 0 ssh_ 阅读全文
posted @ 2019-11-14 16:44 些许记忆 阅读(2313) 评论(0) 推荐(0)