Last active
May 18, 2017 11:01
-
-
Save arslanbekov/1cd641e8526e0e9ea6aaac3093ceff53 to your computer and use it in GitHub Desktop.
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/v1beta1 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
spec: | |
replicas: 3 | |
template: | |
metadata: | |
labels: | |
app: nginx | |
spec: | |
containers: | |
- name: nginx | |
image: nginx:1.7.9 | |
resources: | |
limits: | |
memory: 999Mi | |
requests: | |
cpu: 900m | |
memory: 900Mi | |
ports: | |
- containerPort: 80 | |
env: | |
- name: FOR_GODS_SAKE_PLEASE_REDEPLOY | |
value: 'THIS_STRING_IS_REPLACED_DURING_BUILD' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment