2018-02-01 13:31:52 -08:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: hw
|
|
|
|
labels:
|
|
|
|
app: hw
|
|
|
|
spec:
|
2018-03-23 09:52:12 -07:00
|
|
|
replicas: 40
|
2018-02-01 13:31:52 -08:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: hw
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: hw
|
|
|
|
spec:
|
2018-03-19 14:37:38 -07:00
|
|
|
terminationGracePeriodSeconds: 3
|
2018-02-01 13:31:52 -08:00
|
|
|
containers:
|
2018-02-07 15:13:56 -08:00
|
|
|
- name: hw
|
2018-05-16 15:45:56 -07:00
|
|
|
image: smcquay/hw:v0.1.5
|
2018-05-16 15:46:49 -07:00
|
|
|
imagePullPolicy: Always
|
2018-02-01 13:31:52 -08:00
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
2018-02-07 15:13:56 -08:00
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /live
|
|
|
|
port: 8080
|
|
|
|
initialDelaySeconds: 5
|
|
|
|
periodSeconds: 5
|
|
|
|
readinessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /ready
|
|
|
|
port: 8080
|
|
|
|
periodSeconds: 5
|
2018-03-23 09:44:43 -07:00
|
|
|
- image: smcquay/alpine:v1.0.0
|
2018-03-02 11:50:27 -08:00
|
|
|
name: debug
|