
我爱k8s k8s爱我
k8s
豪豪君在此
这个作者很懒,什么都没留下…
展开
-
k8s cheat sheet
https://kubernetes.io/docs/reference/kubectl/cheatsheet/k8s端口转发examplekubectl port-forward --address 0.0.0.0 service/xx-storage-service-xxxe 9743:9743 >/dev/null &kubectl port-forward --address 0.0.0.0 service/tomcat 8079:8079 >/dev/null .原创 2020-10-21 15:00:51 · 264 阅读 · 0 评论 -
k8s使用configmap载入环境变量
从官网 https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ 搬运configmap配置如下apiVersion: v1kind: ConfigMapmetadata: name: special-config namespace: defaultdata: SPECIAL_LEVEL: very SPECIAL_TYPE: charmdeployment/statef原创 2020-06-10 20:43:22 · 4263 阅读 · 0 评论 -
k8s yml使用案例
https://github.com/guyuanhao/counter-app原创 2020-05-28 14:57:46 · 195 阅读 · 0 评论