33 lines
604 B
YAML
33 lines
604 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: hw
|
|
labels:
|
|
app: hw
|
|
spec:
|
|
replicas: 10
|
|
selector:
|
|
matchLabels:
|
|
app: hw
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hw
|
|
spec:
|
|
containers:
|
|
- name: hw
|
|
image: smcquay/hw:v0.0.10
|
|
ports:
|
|
- containerPort: 8080
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /live
|
|
port: 8080
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /ready
|
|
port: 8080
|
|
periodSeconds: 5
|