Created
May 16, 2018 12:37
-
-
Save exhesham/3c4d2dda2447933cc48af8d66a9b5fcd to your computer and use it in GitHub Desktop.
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
| - kind: ReplicationController | |
| apiVersion: v1 | |
| metadata: | |
| name: bad-frontend | |
| labels: | |
| name: bad-frontend | |
| spec: | |
| replicas: 1 | |
| selector: | |
| name: bad-frontend | |
| template: | |
| metadata: | |
| labels: | |
| name: bad-frontend | |
| spec: | |
| containers: | |
| - name: bad-frontend | |
| image: katacoda/docker-http-server:unhealthy | |
| readinessProbe: | |
| httpGet: | |
| path: / | |
| port: 80 | |
| initialDelaySeconds: 1 | |
| timeoutSeconds: 1 | |
| livenessProbe: | |
| httpGet: | |
| path: / | |
| port: 80 | |
| initialDelaySeconds: 1 | |
| timeoutSeconds: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment