Kubernetes, env:
Jump to navigation
Jump to search
apiVersion: v1 kind: Pod metadata: name: envar-demo labels: purpose: demonstrate-envars spec: containers: - name: envar-demo-container image: gcr.io/google-samples/node-hello:1.0 env: - name: DEMO_GREETING value: "Hello from the environment" - name: DEMO_FAREWELL value: "Such a sweet sorrow"
Related[edit]
kind: DeploymentvalueFrom:fieldRef:fieldPath:- Downward API
- containers:
- VPC-CNI configuration variables
See also[edit]
- Variables: Environment variables,
env,env-cmd,.env/,SHELL,PS1, HOME, $?,PATH,HISTFILE, PWD, LD_LIBRARY_PATH,printenv, getenv, getenv, direnv, AWS cli environmental variables, envsubst,env:, env_file(docker-compose),pyenv, rbenv - Pods,
Mypod.yml, Create and configure a basic Pod,pod (command),pod --help,pod install, List containers on a POD,livenessProbe, readinessProbe, Pod status, Static pod, Pod Security, PodReplacementPolicy
Advertising: