Created
January 15, 2022 15:12
-
-
Save parisnakitakejser/ddf7d3baa42612a6a843dd28404d797e to your computer and use it in GitHub Desktop.
Use static environment variables in Kubernetes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: static-env-test | |
spec: | |
replicas: 3 | |
template: | |
spec: | |
containers: | |
- name: pods-static-env-test | |
image: parisnk/flask-test:v1.0.0 | |
env: | |
- name: SERVICE_NAME | |
value: "flask-api-test-env" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment