keel/hack/deployment.sample.yml

37 lines
860 B
YAML
Raw Normal View History

2017-06-10 11:23:22 +00:00
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
2017-06-11 10:28:55 +00:00
annotations:
kubernetes.io/service-account.name: keel
2017-06-10 11:23:22 +00:00
name: keel
2017-06-11 10:28:55 +00:00
namespace: kube-system
2017-06-10 11:23:22 +00:00
labels:
name: "keel"
spec:
replicas: 1
template:
metadata:
name: keel
labels:
app: keel
spec:
containers:
2017-07-02 07:47:24 +00:00
- image: karolisr/keel:0.2.3
2017-06-11 10:28:55 +00:00
imagePullPolicy: Always
env:
- name: PUBSUB
value: "1"
- name: PROJECT_ID
value: "my-project-id"
2017-06-10 11:23:22 +00:00
name: keel
command: ["/bin/keel"]
ports:
- containerPort: 9300
livenessProbe:
httpGet:
path: /healthz
port: 9300
initialDelaySeconds: 30
2017-07-02 07:47:24 +00:00
timeoutSeconds: 10