client-go InClusterConfig 实现Pod内与K8S API Server交互

7-15 1 views

参考:https://kubernetes.io/zh/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod 参考:https://github.com/kubernet...
阅读全文 0

阿里云ACK的CSI组件挂载NAS

6-14 4 views

CSI插件的安装与检测参照:https://help.aliyun.com/document_detail/204011.html?spm=a2c4g.11186623.6.579.15eb5dd20oLQ6z 确认是否已安装CSI插件 > kubect...
阅读全文 0

玩转K8S RBAC授权

3-14 4 views

定义角色 拥有查询pods、deployments的权限 YAML kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name...
阅读全文 0

K8S 1.18 Cronjob实现定时任务

7-15 0 views

参见:https://v1-18.docs.kubernetes.io/zh/docs/tasks/job/automated-tasks-with-cron-jobs/ 每5分钟执行一次startup.sh YAML ...
阅读全文 0