Created
April 7, 2019 22:38
-
-
Save openstacker/c7c8767875c11c3a91920db85f9c9b13 to your computer and use it in GitHub Desktop.
This file contains 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: manypods-deployment | |
labels: | |
app: manypods | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: manypods | |
template: | |
metadata: | |
labels: | |
app: manypods | |
spec: | |
containers: | |
- name: manypods | |
image: busybox | |
command: | |
- /bin/sh | |
- -c | |
- "trap : TERM INT; (while true; do sleep 1000; done) & wait" | |
resources: | |
requests: | |
memory: "512Mi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment