Sentry is a service that helps you monitor and fix crashes in realtime. The server is in Python, but it contains a full API for sending events from any language, in any application.
This article is about how to use Helm to install Sentry 9.x on Kubernetes (K8S).
Prerequisites
Kubernetes (K8S)
Kubernetes (K8s) is an open-source system for automating deployment, scaling, and management of containerized applications.
For more information about installing and using Kubernetes (K8s), see the Kubernetes (K8s) Docs.
Helm
Helm is the best way to find, share, and use software built for Kubernetes.
For more information about installing and using Helm, see the Helm Docs.
# charts/values.yaml at master · helm/charts # https://github.com/helm/charts/blob/master/stable/sentry/values.yaml
# Admin user to create user: # Indicated to create the admin user or not, # Default is true as the initial installation. create:true email: {{ .Values.user.email }} password: {{ .Values.user.password }}
# Name of the service and what port to expose on the pod # Don't change these unless you know what you're doing service: type:ClusterIP
# Configure the location of Sentry artifacts filestore:
filesystem:
## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ## persistence: # enabled: true # database data Persistent Volume Storage Class # If defined, storageClassName: <storageClass> # If set to "-", storageClassName: "", which disables dynamic provisioning # If undefined (the default) or set to null, no storageClassName spec is # set, choosing the default provisioner. (gp2 on AWS, standard on # GKE, AWS & OpenStack) # storageClass: {{ .Values.filestore.filesystem.persistence.storageClass }}
## Configure ingress resource that allow you to access the ## Sentry installation. Set up the URL ## ref: http://kubernetes.io/docs/user-guide/ingress/ ## ingress: enabled:true annotations: kubernetes.io/ingress.class:"nginx" # kubernetes.io/tls-acme: "true"