Skip to content

Instantly share code, notes, and snippets.

@richarddli
Last active October 11, 2018 17:26
Show Gist options
  • Save richarddli/06c956b7d8cf81473e8d8bcfdfefb5ff to your computer and use it in GitHub Desktop.
Save richarddli/06c956b7d8cf81473e8d8bcfdfefb5ff to your computer and use it in GitHub Desktop.
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: ambassador
spec:
replicas: 1
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
labels:
service: ambassador
spec:
serviceAccountName: ambassador
containers:
- name: ambassador
image: quay.io/datawire/ambassador:0.50.0-ea1
resources:
limits:
cpu: 1
memory: 400Mi
requests:
cpu: 200m
memory: 100Mi
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
- name: admin
containerPort: 8877
livenessProbe:
httpGet:
path: /ambassador/v0/check_alive
port: 8877
initialDelaySeconds: 30
periodSeconds: 3
readinessProbe:
httpGet:
path: /ambassador/v0/check_ready
port: 8877
initialDelaySeconds: 30
periodSeconds: 3
restartPolicy: Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment