摘要: 阅读全文
posted @ 2021-09-23 21:55 xman888 阅读(23) 评论(0) 推荐(0) 编辑
摘要: kubectl run mynginx --image=nginx --port=80 创建pod有很多种方法 pod的yaml文件 simple-pod.yaml 创建一个pod kubectl create -f simple-pod.yaml 查看pod的参数情况 kubectl descri 阅读全文
posted @ 2021-09-23 21:37 xman888 阅读(41) 评论(0) 推荐(0) 编辑
摘要: kubectl run --help 阅读全文
posted @ 2021-09-23 21:09 xman888 阅读(38) 评论(0) 推荐(0) 编辑
摘要: curl ifconfig.io 如果一个VM在SLB后端,那么这个public ip显示的就是SLB的public ip地址 如果要看VM对应的NIC上的实际的公网地址,可以去networking去查看网卡配置。 阅读全文
posted @ 2021-09-23 15:28 xman888 阅读(49) 评论(0) 推荐(0) 编辑