公網k8s

dm :32750/swagger/mysql

統一在   cd /opt/iot web

刪除容器,自動建立容器redis

 dmsql

更新dm和acl包docker

 dm源文件chart包
 

cd /var/lib/helmrepo/api

helm package --save=false ./dmide

helm repo index --url=http://10.17.1.160:8879/charts /var/lib/helmrepo/測試

helm repo updateui

 

 cd /opt/ioturl

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

 

 

emqtt查看集羣狀態

cd /usr/sbin 

./emqtt_ctl  cluster status

 

路由

 kubectl get virtualservice trident-web -n istio-system -oyaml 

 

強制刪除pod

kubectl delete pod hub-test0707-emqtt-mysql-0 -n yanhua --force --grace-period=0
 

測試helm命令

helm install --name=yuanqianqian4 --namespace=iop . --debug --dry-run
 

 增長rolebinding

kubectl get rolebinding -n yanhua
kubectl edit  rolebinding trident-yanhua-rolebinding -n yanhua

 

 更換redis,須要環境支持 新建 clusterrole

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: rds-resources-editor
rules:
- apiGroups:
- ''
resources:
- pods
verbs:
- '*'

 kubectl create -f rds-cluesterrole.yml

相關文章
相關標籤/搜索