09 2021 档案
摘要:# nginx-pod.yaml apiVersion: v1 kind: Pod metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx:alpine ports: - contai
阅读全文
摘要:# 允许master节点部署 kubectl taint nodes --all node-role.kubernetes.io/master- # 禁止master节点部署 kubectl taint nodes k8s node-role.kubernetes.io/master=true:No
阅读全文
摘要:# 下载flannel镜像(快速下载链接:https://yanfayun.oss-cn-shenzhen.aliyuncs.com/app/816683262184259584/graph/flanneld-v0.14.0-amd64.docker) https://github.com/flan
阅读全文
摘要:一、安装docker和docker-compose https://www.cnblogs.com/konglingxi/p/12378295.html https://www.cnblogs.com/konglingxi/p/12497347.html 二、docker国内镜像加速 https:/
阅读全文
摘要:https://blog.csdn.net/xmtblog/article/details/108806423 1.安装docker 2.环境条件 # 安装必备工具 yum -y install yum-utils device-mapper-persistent-data lvm2 yum-con
阅读全文
摘要:1.网络和主机名:开启网络连接->打开以太网 2.安装源(填写时去https://):https://mirrors.aliyun.com/centos/7/os/x86_64/ 3.软件选择:GNOME桌面
阅读全文
摘要:static >> Constructor >> @Autowired >> @PostConstruct
阅读全文
摘要:1、编辑 vi /etc/sysctl.conf 2、添加 net.ipv4.ip_forward=1 3、重启network服务 systemctl restart network
阅读全文