摘要: service服务发现 [root@k8s-master ~]# vim busybox-5d4f595646-dzjv4.yaml apiVersion: v1 kind: Pod metadata: name: busybox namespace: default spec: container 阅读全文
posted @ 2019-07-09 16:40 #赵程# 阅读(761) 评论(0) 推荐(0) 编辑
摘要: [root@k8s-master ~]# vim service.yaml apiVersion: v1 kind: Service metadata: name: my-service spec: selector: app: MyApp ports: - name: http protocol: 阅读全文
posted @ 2019-07-09 16:31 #赵程# 阅读(440) 评论(0) 推荐(0) 编辑