k8s使用env控制容器环境变量
警告
本文最后更新于 2020-05-30 17:09,文中内容可能已过时。
修改配置文件
spec:
containers:
- name: envar-demo-container
image: gcr.io/google-samples/node-hello:1.0
env:
- name: JAVA_OPTS
value: "-Xms500m -Xmx950m -XX:MaxNewSize=250m -XX:+UseConcMarkSweepGC"
请我喝杯水

