上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: #!/bin/sh sleep 10 & pid=$! # Process Id of the previous running command spin='-\|/' i=0 while kill -0 $pid 2>/dev/null do i=$(( (i+1) %4 )) printf "\ 阅读全文
posted @ 2022-01-13 17:10 小清澈 阅读(1031) 评论(0) 推荐(0)
摘要: kubeadm token create --print-join-command 阅读全文
posted @ 2021-12-22 15:58 小清澈 阅读(81) 评论(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 小清澈 阅读(1378) 评论(0) 推荐(0)
摘要: vi /var/lib/kubelet/config.yaml featureGates: CSIMigration: false systemctl daemon-reload systemctl restart kubelet 阅读全文
posted @ 2021-12-22 13:37 小清澈 阅读(570) 评论(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 小清澈 阅读(187) 评论(0) 推荐(0)
摘要: 容器级别: apiVersion: extensions/v1beta1kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: '1' labels: app: redis1202 chart: redis 阅读全文
posted @ 2021-12-17 15:25 小清澈 阅读(1785) 评论(0) 推荐(0)
摘要: service iptables restart service docker restart 阅读全文
posted @ 2021-12-17 11:19 小清澈 阅读(639) 评论(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 小清澈 阅读(48) 评论(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 小清澈 阅读(30) 评论(0) 推荐(0)
摘要: rpm -ivh --force --nodeps *.rpm 阅读全文
posted @ 2021-12-08 16:11 小清澈 阅读(440) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页