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.
Metadata
Release files for sentry-streams-k8s 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sentry_streams_k8s-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for sentry_streams_k8s-0.0.10-py3-none-any.whl |
Release files / sentry_streams_k8s-0.0.10-py3-none-any.whl
| Download URL | sentry_streams_k8s-0.0.10-py3-none-any.whl |
|---|---|
| Size | 25.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
836232334e1c989b8d28f03db1a386fb21d0ab435e0e2494898cf40bb4e1a8a6
|
|
BLAKE2b-256 checksum How to use checksums |
ea49c7885dfab5ab02d3fd8047a2696031af52e9ae90b7657e48503c811b34e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Security for sentry-streams-k8s 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.