Skip to content

Instantly share code, notes, and snippets.

@ChimeraCoder
Created April 5, 2018 00:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChimeraCoder/50630f831efc628d4030482f297e7a80 to your computer and use it in GitHub Desktop.
Save ChimeraCoder/50630f831efc628d4030482f297e7a80 to your computer and use it in GitHub Desktop.
veneur-proxy deployment
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: veneur-proxy
labels:
app: veneur-proxy
spec:
minReadySeconds: 10
replicas: 1
template:
metadata:
labels:
app: veneur-proxy
spec:
containers:
- name: veneur-proxy
image: index.docker.io/stripe/veneur:3.0.0
imagePullPolicy: Always
ports:
- containerPort: 8127
protocol: TCP
livenessProbe:
httpGet:
path: /healthcheck
port: 8127
command: ["veneur-proxy"]
args: ["-f", "/veneur/config_proxy.yaml"]
env:
- name: VENEUR_HTTPADDRESS
value: "0.0.0.0:8127"
- name: VENEUR_DEBUG
value: "true"
- name: VENEUR_FORWARDADDRESS
value: "http://veneur-global:8127"
- name: VENEUR_FORWARDSERVICENAME
value: "veneur-global"
- name: VENEUR_STATSADDRESS
value: "127.0.0.1:8126"
- name: veneur
image: index.docker.io/stripe/veneur:3.0.0
ports:
- containerPort: 8126
protocol: UDP
livenessProbe:
httpGet:
path: /healthcheck
port: 8129
env:
- name: VENEUR_HTTPADDRESS
value: "0.0.0.0:8129"
- name: VENEUR_NUMWORKERS
value: "3"
- name: VENEUR_DATADOGAPIKEY
valueFrom:
secretKeyRef:
name: datadog
key: datadog_api_key
terminationGracePeriodSeconds: 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment