统一在 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

路由

kubectlgetvirtualservicetrident-web-nistio-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

优质内容筛选与推荐>>
1、linux性能优化
2、Internet Explorer Developer Toolbar 汉化
3、Javascript:新消息闪烁标题提示代码分享 (转)
4、hexo工具介绍及使用方法
5、灰色记忆2


长按二维码向我转账

受苹果公司新规定影响,微信 iOS 版的赞赏功能被关闭,可通过二维码转账支持公众号。

    阅读
    好看
    已推荐到看一看
    你的朋友可以在“发现”-“看一看”看到你认为好看的文章。
    已取消,“好看”想法已同步删除
    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号