随笔分类 - k8s集群
摘要:kubectl create -f deployment.yml kubectl autoscale deployment dnginx --min=2 --max=6 --cpu-percent=80 动态伸缩 [root@220 ~]# kubectl get horizontalpodauto
阅读全文
摘要:服务端 yum install -y nfs-utils rpcbind mkdir -p /wp/{data,code} echo "/wp/data 192.168.3.0/24(rw,async,no_root_squash,no_all_squash) ">>/etc/exports \ &
阅读全文
摘要:apiVersion: v1 kind: ReplicationController metadata: name: nginxrc spec: replicas: 3 selector: app: nginx1 template: metadata: labels: app: nginx1 spe
阅读全文
摘要:vim image.sh #!/bin/bash url=registry.cn-hangzhou.aliyuncs.com/google_containers version=v1.14.2 images=(`kubeadm config images list --kubernetes-vers
阅读全文
摘要:kubectl create -f k8s_pod.yml kubectl get pods kubectl get pods -o wide kubectl get pods [NAME] -o wide kubectl get pods -o wide -l app=[NAME] kubectl
阅读全文
摘要:[root@master ~]# docker imagesREPOSITORY TAG IMAGE ID CREATED SIZE192.168.3.228:5000/test/s v1 fdcfe04e9ea4 3 days ago 398MBsshd v1 fdcfe04e9ea4 3 day
阅读全文
摘要:处理好selinux iptables firewalld ( iptables -P FORWARD ACCEPT) master 228 node 229 230 所有节点安装docker-ce master中 sed -i 's#http://127.0.0.1:2379#http://192
阅读全文

浙公网安备 33010602011771号