Created
July 26, 2017 13:45
-
-
Save jtslear/aecb16e73254a6e864cde274c6b0332b to your computer and use it in GitHub Desktop.
Test App for Kubernetes
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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: testapp | |
spec: | |
replicas: 1 | |
progressDeadlineSeconds: 100 | |
strategy: | |
rollingUpdate: | |
maxUnavailable: 0 | |
maxSurge: 1 | |
template: | |
metadata: | |
labels: | |
app: testapp | |
spec: | |
containers: | |
- name: testapp | |
image: jtslear/testapp:0.0.14 | |
ports: | |
- containerPort: 8000 | |
livenessProbe: | |
httpGet: | |
path: / | |
port: 8000 | |
readinessProbe: | |
httpGet: | |
path: / | |
port: 8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment