k8s资源之-configmap

网友投稿 264 2022-09-08

k8s资源之-configmap

​​istio多集群探秘,部署了50次多集群后我得出的结论​​

​​istio多集群链路追踪,附实操视频​​

​​istio防故障利器,你知道几个,istio新手不要读,太难!​​

​​istio业务权限控制,原来可以这么玩​​

​​istio实现非侵入压缩,微服务之间如何实现压缩​​

​​不懂envoyfilter也敢说精通istio系列-filter-再也不用再代码里写csrf逻辑了​​

​​不懂envoyfilter也敢说精通istio系列filter​​

​​不懂envoyfilter也敢说精通istio系列-network filter-redis proxy​​

​​不懂envoyfilter也敢说精通istio系列-network filter-HttpConnectionManager​​

​​不懂envoyfilter也敢说精通istio系列-ratelimit-istio ratelimit完全手册​​

————————————————

作用:配置文件

•简写:cm

•常用命令:

kubectl create cm game-config --from-file=game.properties

kubectl create cm game-config --from-file=game=game.properties --from-file=ui=ui.properties

kubectl create cm game-config --from-file=gameconfig/

•kubectl create cm game-config --from-literal=start=10 --from-literal=end=20

•kubectl create cm game-config --from-literal=start=10 --from-literal=end=20 --from-file=gameconfig/

•Kubectl  get cm

•kubectl get cm game-config -o json

•kubectl get cm game-config -o yaml

•kubectl create cm game-config --from-env-file=badgame.properties

•Kubectl delete cm game-config

•Kubectl edit cm game-config

•kubectl delete cm –all

• kubectl patch cm game-config -p '{"data":{"game.properties":"aaa=bb\ncc=dd"}}‘

•kubectl get cm game-config -w

•kubectl label cm game-config game=true

• kubectl get cm -l game=true -o yaml

•kubectl annotate cm game-config game=xpace

•kubectl annotate cm  game-config game=xpacex --overwrite

•kubectl annotate cm game-config game-

•kubectl describe cm game-config

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:k3s部署
下一篇:科技狐:这款黑科技产品,一直被模仿,从未被超越!
相关文章

 发表评论

暂时没有评论,来抢沙发吧~