摘要: 参考网址:https://www.bejson.com (网站文件部分有坑,需要擦亮眼睛) nginx k8s版本:v1.20 apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx namespace: test spec: re 阅读全文
posted @ 2021-04-25 18:34 哈喽哈喽111111 阅读(316) 评论(0) 推荐(0)
摘要: yaml文件中个别数值有大写,报错信息如下 : The Deployment "my-nginx" is invalid: spec.template.spec.volumes[0].name: Invalid value: "myEmptyDir": a lowercase RFC 1123 la 阅读全文
posted @ 2021-04-25 17:42 哈喽哈喽111111 阅读(3075) 评论(0) 推荐(0)
摘要: 文件转载自:https://www.orchome.com/1284 本节以GlusterFS为例,从定义StorageClass、创建GlusterFS和Heketi服务、用户申请PVC到创建Pod使用存储资源,对StorageClass和动态资源分配进行详细说明,进一步剖析k8s的存储机制。 1 阅读全文
posted @ 2021-04-25 15:35 哈喽哈喽111111 阅读(547) 评论(0) 推荐(0)
摘要: 文章转载自:https://blog.csdn.net/BigData_Mining/article/details/88849696 基于角色的访问控制(Role-Based Access Control, 即”RBAC”)使用”rbac.authorization.k8s.io” API Gro 阅读全文
posted @ 2021-04-25 15:13 哈喽哈喽111111 阅读(5077) 评论(0) 推荐(0)