Skip to content

Instantly share code, notes, and snippets.

@framp
Created May 27, 2024 18:18
Show Gist options
  • Save framp/c0624f2d74f0d5f80cf9f532e66388af to your computer and use it in GitHub Desktop.
Save framp/c0624f2d74f0d5f80cf9f532e66388af to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
k8s-app: sentry-logging
name: sentry
namespace: kube-system
spec:
selector:
matchLabels:
name: sentry-logging
template:
metadata:
labels:
name: sentry-logging
spec:
containers:
- env:
- name: SENTRY_DSN
valueFrom:
secretKeyRef:
key: sentry-dsn
name: sentry-dsn
- name: SENTRY_ENVIRONMENT
value: production
- name: SENTRY_K8S_WATCH_NAMESPACES
value: default
- name: SENTRY_K8S_LOG_LEVEL
value: error
image: getsentry/sentry-kubernetes
name: sentry-logging
resources:
limits:
memory: 200Mi
requests:
cpu: 100m
memory: 200Mi
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment