摘要:
1.本节架构 主机名 ip 角色 hdss7-21.host.com 10.4.7.21 kube-schedular hdss7-22.host.com 10.4.7.22 kube-schedular 2.创建启动脚本 cat > /opt/kubernetes/server/bin/kube-
阅读全文
posted @ 2021-07-22 11:02
jiayou111
阅读(219)
推荐(0)
摘要:
1.集群规划 主机名 IP 角色 节点 hdss7-21.host.com 10.4.7.21 kube-apiserver master hdss7-22.host.com 10.4.7.22 kube-apiserver master 2.创建生成client证书csr的json配置文件 在hd
阅读全文
posted @ 2021-07-22 10:45
jiayou111
阅读(305)
推荐(0)
摘要:
1.集群规划 主机 IP 角色 hdss7-12.host.com 10.4.7.12 etcd leader hdss7-21.host.com 10.4.7.21 etcd follow hdss7-22.host.com 10.4.7.22 etcd follow 2.创建基于根证书的conf
阅读全文
posted @ 2021-07-21 18:48
jiayou111
阅读(333)
推荐(0)
摘要:
0.架构图 1.本节架构 主机 IP 角色 hdss7-200.host.com 10.4.7.200 harbor私有仓库 2.下载软件解压 github下载地址:https://github.com/goharbor/harbor mkdir /src cd /src rz ==> harbor
阅读全文
posted @ 2021-07-21 17:32
jiayou111
阅读(230)
推荐(0)
摘要:
0.架构图 1.本节架构 主机 IP 角色 hdss-7-21.host.com 10.4.7.21 docker hdss-7-22.host.com 10.4.7.22 docker hdss-7-200.host.com 10.4.7.200 docker 2.安装 curl -fsSL ht
阅读全文
posted @ 2021-07-21 16:55
jiayou111
阅读(174)
推荐(0)
摘要:
0.架构图 1.本节架构 主机 IP 角色 hdss7-11.host.com 10.4.7.11 DNS服务器 2.安装cfssl证书签发工具 wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -O /usr/bin/cfssl wget http
阅读全文
posted @ 2021-07-21 14:54
jiayou111
阅读(195)
推荐(0)
摘要:
0.架构图 1.本节架构 本机 IP 角色 hdss7-11.host.com 10.4.7.11 DNS服务器 2.安装bind(在hdss7-11上执行) yum -y install bind-utils 3.配置/etc/named.conf 13 listen-on port 53 { 1
阅读全文
posted @ 2021-07-21 14:24
jiayou111
阅读(189)
推荐(0)
摘要:
本系列教程转载自博客:https://blog.51cto.com/yht1990/2535020 1.架构图 2.环境准备 准备5台2c/2g/50g虚机,使用10.4.7.0/24网络 预装CentOS7.6系统,做好基础优化 安部部署bind9,部署自建DNS系统 准备自签证书环境 安装部署D
阅读全文
posted @ 2021-07-21 14:02
jiayou111
阅读(182)
推荐(0)
摘要:
语法详解 语法规则:location [=|~|~*|^~] /uri/ { … } = 开头表示精确匹配。 ^~ 开头表示uri以某个常规字符串开头,理解为匹配 url路径即可。nginx不对url做编码,因此请求为/static/20%/aa,可以被规则^~ /static/ /aa匹配到(注意
阅读全文
posted @ 2021-07-19 15:17
jiayou111
阅读(1192)
推荐(0)
摘要:
1.下载安装包 yum install wget -y wget https://golang.google.cn/dl/go1.15.6.linux-amd64.tar.gz 2.解压 tar zxf go1.15.6.linux-amd64.tar.gz -C /usr/local/ 3.添加环
阅读全文
posted @ 2021-07-16 15:24
jiayou111
阅读(400)
推荐(0)