k8s知识
统一在 cd /opt/iot
删除容器,自动创建容器
dm
更新dm和acl包
dm源文件chart包cd /var/lib/helmrepo/
helm package --save=false ./dm
helm repo index --url=http://10.17.1.160:8879/charts /var/lib/helmrepo/
helm repo update
cd /opt/iot
docker build -t registry.iot.com:5000/library/iot/dm-and-acl:0.0.1 .
docker push registry.iot.com:5000/library/iot/dm-and-acl:0.0.1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: rds-resources-editor
rules:
- apiGroups:
- ''
resources:
- pods
verbs:
- '*'
kubectl create -f rds-cluesterrole.yml
优质内容筛选与推荐>>