公网k8s
2024-10-12 07:32:05
dm :32750/swagger/
统一在 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
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
最新文章
- linux中输入输出和重定向问题
- 论文阅读(Xiang Bai——【PAMI2017】An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition)
- 企业搜索引擎开发之连接器connector(二十九)
- Moment.js 超棒Javascript日期处理类库
- cocos2dx 3.x(常见的46种动作)
- winfrom 导入Excel表到access数据库(来自小抽奖系统)
- Android模拟神器Genymotion eclipse插件安装问题出解决
- Cgroup - Linux 内存资源管理
- Java_XML操作
- js-浏览器DOM
- C#中的线程(一)入门 转
- 远程连接mysql数据库,1130问题
- html5 canvas 实现简单的画图
- stderr和stdout详细解说
- 实时显示数据 SignalR 及时消息提醒( 立即向其推送内容)
- ASP.NET MVC 入门
- PythonStudy——文件操作习题 Document operation exercises
- AngularJS ui-router刷新子页面路由
- ESXi主机性能问题
- head first java读书笔记