Skip to content

Instantly share code, notes, and snippets.

@exhesham
Created May 16, 2018 12:37
Show Gist options
  • Select an option

  • Save exhesham/3c4d2dda2447933cc48af8d66a9b5fcd to your computer and use it in GitHub Desktop.

Select an option

Save exhesham/3c4d2dda2447933cc48af8d66a9b5fcd to your computer and use it in GitHub Desktop.
kubernetes
- 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