Skip to content

Instantly share code, notes, and snippets.

@robertBrem
Last active March 31, 2016 06:12
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save robertBrem/3065cca2031f16d7f838 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ReplicationController
metadata:
name: reservation-controller
labels:
name: reservation
version: v2
visualize: "true"
spec:
replicas: 3
selector:
name: reservation
version: v2
template:
metadata:
labels:
visualize: "true"
name: reservation
version: v2
spec:
containers:
- name: reservation
image: 45.62.224.95:30500/robertbrem/payara-reservation:v2
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /reservation/resources/reservations
port: 8080
initialDelaySeconds: 15
timeoutSeconds: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment