Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Basic veneur-emit example with credentials
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: veneur-emit
labels:
app: veneur-emit
spec:
minReadySeconds: 10
replicas: 1
template:
metadata:
labels:
app: veneur-emit
spec:
containers:
- name: veneur-emit
image: index.docker.io/stripe/veneur:3.0.0
imagePullPolicy: Always
command: ["/bin/sh"]
args: ["-c", "while true; do veneur-emit -hostport udp://localhost:8126 -name 'my.test.timer' -timing '100ms'; sleep 10; done"]
- name: veneur
image: index.docker.io/stripe/veneur:3.0.0
ports:
- containerPort: 8126
protocol: UDP
- containerPort: 8127
protocol: TCP
livenessProbe:
httpGet:
path: /healthcheck
port: 8127
env:
- 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