Last active
September 16, 2020 21:07
-
-
Save hunter32292/3c44a83491d49903c45d1975ae8b28c2 to your computer and use it in GitHub Desktop.
Sample Ubuntu Deploy for checking on things internally in cluster
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 # for versions before 1.9.0 use apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: ubuntu-deployment | |
spec: | |
selector: | |
matchLabels: | |
app: ubuntu | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: ubuntu | |
spec: | |
containers: | |
- name: ubuntu | |
image: ubuntu:latest | |
command: [ "/bin/bash", "-c", "--" ] | |
args: [ "while true; do sleep 30; done;" ] | |
hostNetwork: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment