Difference between revisions of "Kubernetes, env:"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
apiVersion: v1 | apiVersion: v1 | ||
[[kind: Pod]] | [[kind: Pod]] | ||
− | metadata: | + | [[metadata:]] |
name: envar-demo | name: envar-demo | ||
labels: | labels: |
Revision as of 13:23, 1 November 2022
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"
See also
Advertising: