overleaf/services/clsi/kube.yaml

42 lines
699 B
YAML
Raw Normal View History

2018-02-16 07:52:12 -05:00
apiVersion: v1
kind: Service
metadata:
name: clsi
namespace: default
spec:
type: LoadBalancer
ports:
2018-02-21 10:42:51 -05:00
- port: 80
2018-02-16 07:52:12 -05:00
protocol: TCP
2018-02-21 10:42:51 -05:00
targetPort: 80
2018-02-16 07:52:12 -05:00
selector:
run: clsi
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: clsi
namespace: default
spec:
replicas: 2
template:
metadata:
labels:
run: clsi
spec:
containers:
- name: clsi
2018-02-21 10:42:51 -05:00
image: gcr.io/henry-terraform-admin/clsi
2018-02-16 07:52:12 -05:00
imagePullPolicy: Always
readinessProbe:
httpGet:
path: status
2018-02-21 10:42:51 -05:00
port: 80
2018-02-16 07:52:12 -05:00
periodSeconds: 5
initialDelaySeconds: 0
failureThreshold: 3
successThreshold: 1