Skip to main content

Kubernetes integration for Sentry Streams

Project description

Sentry Streams K8s

Kubernetes integration for Sentry Streams.

Sentry Streams contains the streaming platform. That is everything that runs the streaming applications. Sentry Streams is agnostic to the way the application is deployed in production or in any environment.

This package instead provides the automation and the infrastructure to deploy Sentry Streams in a Kubernetes environment.

At the moment it targets Sentry production environment that is based on sentry-kube, though in the future we expect to have something more Sentry agnostic like Helm charts and a Kubernetes operator.

The Consumer Macro

The main component is the Consumer macro. This is a sentry-kube external macro that can be used inside the sentry-kube jinja template in the ops repo. This takes the basic deployment infrastructure (application specific) and fills it with containers and other resources to run the streaming platform.

The system to render a deployment would work this way:

graph LR
    subgraph sentry_streams_k8s
        consumer_macro[Consumer Macro]
        consumer_deployment[Consumer Deployment]
        config_map[Config Map]

        consumer_macro -- renders --> consumer_deployment
        consumer_macro -- renders --> config_map
    end

    subgraph ops_repo
        manifest[Manifest]
        deployment_template[Basic Deployment Template]
    end

    manifest -- imports --> deployment_template
    manifest -- imports --> consumer_macro
  • The Consumer Macro renders all the Kubernetes resources to run the streaming platform.
  • The application manifest is responsible to create all the resources needed to run the application (like service accounts or additional config maps)
  • The basic structure of the deployment template is application specific, it contains settings like labeling scheme and nodepool selectors. We expect these to be provided to the macro by the application in the form of the deployment template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentry_streams_k8s-0.0.6-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file sentry_streams_k8s-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_streams_k8s-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9a27a73e56a3ccf36b6cdd34e917ea5afaa2389b9609cca7e0f7bd179d069d76
MD5 30c4f6ddde9094320952d53e3ce0db15
BLAKE2b-256 f9d99fe8d6613b4382ab33a7121bc24d7144bf29cfa53a44a0585be3f32242a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page