![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Kubernetes
Mix Mind
这个作者很懒,什么都没留下…
展开
-
kubernetes 资源清单 initC 特殊说明
initC特殊说明查看编辑pod 的配置文件kubectl edit pod myapp-pod编辑read.yaml文件vim read.yamlapiVersion: v1 kind: Pod metadata: name: readiness-httpget-pod namespace: defaultspec: containers: - name: readiness-httpget-container image: hub.atguigu.com原创 2020-09-07 21:25:29 · 224 阅读 · 0 评论 -
kubernetes 资源清单 initC
编写配置验证initC编写 init-pod.yaml文件vim init-pod.yamlapiVersion: v1kind: Podmetadata: name: myapp-pod labels: app: myappspec: containers: - name: myapp-container image: busybox command: ['sh', '-c', 'echo The app is running! &&原创 2020-09-07 21:19:14 · 209 阅读 · 0 评论 -
kubernetes 资源清单 常用字段说明
编写一个yaml格式文件 并测试能否正常使用192.168.66.10(master01)编写pod.ymal文件vim pod.yamlapiVersion: v1kind: Podmetadata: name: myapp-pod labels: app: myapp version: v1spec: containers: - name: app image: hub.atguigu.com/cdzbc/myapp:v1执行pod.yma原创 2020-09-07 21:12:24 · 484 阅读 · 0 评论