NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES pod1 1/1 Running 0 20m 10.244.5.205 vms72.rhce.cc <none> <none> pod2 1/1 Running 0 20m 10.244.5.204 vms72.rhce.cc <none> <none> 1. 2. 3. 4. 创建Loadbalance类型的svc1和svc2: kubectl expose --name=svc1 pod...
|NODE |INTERNAL_IP |dev-4-control-plane |172.18.0.2 |dev-4-worker |172.18.0.5 |dev-4-worker2 |172.18.0.4 |dev-4-worker3 |172.18.0.3 1. 2. 3. 4. 5. 6. 三副本的前端服务: root@dev-4-control-plane# sh pod.sh |NAME |NODE |IP |STATUS |frontend-5b79c8694b-6hjrc |dev-4-wo...
[kubeadm] WARNING: kubeadmisinbeta, pleasedonotuse itforproduction clusters. [preflight] Running pre-flight checks [preflight] WARNING: hostname""couldnotbe reached [preflight] WARNING: hostname""lookup : no such host [preflight] Some fatal errors occurred: hostname""a DNS-1123subdomain must...
]# dig container1 ;; communications error to 10.89.2.1#53: host unreachable ;; communications error to 10.89.2.1#53: host unreachable ;; communications error to 10.89.2.1#53: host unreachable ; <<>> DiG 9.18.26 <<>> container1 ;; global options: +cmd ;; no servers could be reached ...
k8s subPath hostpath 一起使用 k8s pod hostname,1.系统准备我用了两台虚拟机,一个作为云(master),一个作为端(slave)。1.1修改主机名及映射(全部节点)vi/etc/hostnamevi的使用:i键进入编辑模式,esc退出编辑模式,输入“:q!“不保存强制退出,输入“:wq”,保