摘要: # nginx-pod.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx:alpine ports: - contai 阅读全文
posted @ 2021-09-17 11:27 詹姆溪 阅读(160) 评论(0) 推荐(0) 编辑
摘要: # 允许master节点部署 kubectl taint nodes --all node-role.kubernetes.io/master- # 禁止master节点部署 kubectl taint nodes k8s node-role.kubernetes.io/master=true:No 阅读全文
posted @ 2021-09-17 11:04 詹姆溪 阅读(280) 评论(0) 推荐(0) 编辑
摘要: # 下载flannel镜像(快速下载链接:https://yanfayun.oss-cn-shenzhen.aliyuncs.com/app/816683262184259584/graph/flanneld-v0.14.0-amd64.docker) https://github.com/flan 阅读全文
posted @ 2021-09-17 10:38 詹姆溪 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 一、安装docker和docker-compose https://www.cnblogs.com/konglingxi/p/12378295.html https://www.cnblogs.com/konglingxi/p/12497347.html 二、docker国内镜像加速 https:/ 阅读全文
posted @ 2021-09-16 15:42 詹姆溪 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-09-16 14:38 詹姆溪 阅读(18) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/xmtblog/article/details/108806423 1.安装docker 2.环境条件 # 安装必备工具 yum -y install yum-utils device-mapper-persistent-data lvm2 yum-con 阅读全文
posted @ 2021-09-15 15:43 詹姆溪 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1.网络和主机名:开启网络连接->打开以太网 2.安装源(填写时去https://):https://mirrors.aliyun.com/centos/7/os/x86_64/ 3.软件选择:GNOME桌面 阅读全文
posted @ 2021-09-13 17:11 詹姆溪 阅读(12) 评论(0) 推荐(0) 编辑
摘要: static >> Constructor >> @Autowired >> @PostConstruct 阅读全文
posted @ 2021-09-13 11:27 詹姆溪 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 1、编辑 vi /etc/sysctl.conf 2、添加 net.ipv4.ip_forward=1 3、重启network服务 systemctl restart network 阅读全文
posted @ 2021-09-07 15:14 詹姆溪 阅读(53) 评论(0) 推荐(0) 编辑
摘要: classpath 等价于 main/java + main/resources + 第三方jar包的根目录 阅读全文
posted @ 2021-08-11 10:33 詹姆溪 阅读(82) 评论(0) 推荐(0) 编辑