1 2 3 4 5 ··· 10 下一页
摘要: 共享存储: apiVersion: v1kind: Podmetadata: labels: app: test name: pod-volume-test namespace: defaultspec: containers: - image: busybox name: test command 阅读全文
posted @ 2021-08-18 23:49 jamespeng2020 阅读(166) 评论(0) 推荐(0)
摘要: 一、开发分支(dev)上的代码达到上线的标准后,要合并到 master 分支 git checkout dev git pull git checkout master git merge dev git push -u origin master 二、当master代码改动了,需要更新开发分支(d 阅读全文
posted @ 2021-08-09 00:21 jamespeng2020 阅读(66) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-08-08 15:47 jamespeng2020 阅读(87) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-08-08 15:33 jamespeng2020 阅读(498) 评论(0) 推荐(0)
摘要: 弃用dockershim,dockershim集成在CRI中,现在kubelet代码删掉dockershim的代码,所以意味着k8s无法直接连接docker,docker公司也没有适配k8s的CRI。 由docker切换到container容器: 阅读全文
posted @ 2021-08-08 14:44 jamespeng2020 阅读(528) 评论(0) 推荐(0)
摘要: 撤销暂存区的文件: git服务端: mkdir /opt/demo.git git init --bare cd /opt chown git. demo.git/ -R git客户端: [root@localhost demo]# touch 11 加入暂存区: [root@localhost d 阅读全文
posted @ 2021-08-08 13:04 jamespeng2020 阅读(71) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-08-08 10:50 jamespeng2020 阅读(329) 评论(0) 推荐(0)
摘要: 引用变量,每个ip后面加上变量 组变量vars: group_vars里面定义变量: 阅读全文
posted @ 2021-08-07 00:36 jamespeng2020 阅读(40) 评论(0) 推荐(0)
摘要: [root@localhost config]# pwd/opt/elk/kibana/config[root@localhost config]# cat kibana.ymlserver.port: 5601server.host: "0.0.0.0"elasticsearch.hosts: [ 阅读全文
posted @ 2021-08-01 23:19 jamespeng2020 阅读(82) 评论(0) 推荐(0)
摘要: 升级方法: 在能上网的机器下载内核rpm包,传到不能上网的机器安装 准备两台机器: 192.168.1.1(能上网)和192.168.1.2(不能上网) 两台机器的系统版本: [root@localhost ~]# uname -r3.10.0-1062.el7.x86_64[root@localh 阅读全文
posted @ 2021-07-24 23:45 jamespeng2020 阅读(685) 评论(0) 推荐(0)
1 2 3 4 5 ··· 10 下一页