上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: kubeadm token create --print-join-command 阅读全文
posted @ 2021-12-22 15:58 小清澈 阅读(53) 评论(0) 推荐(0) 编辑
摘要: Master节点: 1、安装docker yum install docker systemctl start dockersystemctl enable docker 2、修改/etc/hostnames 3、修改SELinux setenforce 0 4、关闭swap # 当前临时关闭虚拟内 阅读全文
posted @ 2021-12-22 15:49 小清澈 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: vi /var/lib/kubelet/config.yaml featureGates: CSIMigration: false systemctl daemon-reload systemctl restart kubelet 阅读全文
posted @ 2021-12-22 13:37 小清澈 阅读(448) 评论(0) 推荐(0) 编辑
摘要: cat <<EOF > /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=http://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64 阅读全文
posted @ 2021-12-22 11:02 小清澈 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 容器级别: apiVersion: extensions/v1beta1kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: '1' labels: app: redis1202 chart: redis 阅读全文
posted @ 2021-12-17 15:25 小清澈 阅读(1595) 评论(0) 推荐(0) 编辑
摘要: service iptables restart service docker restart 阅读全文
posted @ 2021-12-17 11:19 小清澈 阅读(627) 评论(0) 推荐(0) 编辑
摘要: #给node节点加标签,用于指定node节点部署 kubectl label nodes NodeName label-key=label-value # kubectl autoscale rc mdname --min=1 --max=10 --cpu-percent=50 #滚动升级 kube 阅读全文
posted @ 2021-12-13 18:06 小清澈 阅读(35) 评论(0) 推荐(0) 编辑
摘要: yum install nfs-utils vi /etc/exports /data xx.xx.xx.xx(rw,no_root_squash,async) service nfs restart 阅读全文
posted @ 2021-12-13 09:50 小清澈 阅读(20) 评论(0) 推荐(0) 编辑
摘要: rpm -ivh --force --nodeps *.rpm 阅读全文
posted @ 2021-12-08 16:11 小清澈 阅读(410) 评论(0) 推荐(0) 编辑
摘要: db2 connect to sample db2 create db wangshn using codeset gbk territory 'zh_CN'; update db cfg [for dbname] using #db2 create db wangshn3 ALIAS wangsh 阅读全文
posted @ 2021-12-08 09:44 小清澈 阅读(235) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页