priority-class
by Snowplow
Helm chartv0.2.0Verified publisher
A Helm Chart to setup priority classes for all tiers
About this chart
priority-class
A Helm chart to deploy generic priority classes for all tiers.
TL;DR
helm repo add snowplow-devops https://snowplow-devops.github.io/helm-charts
helm install priority-class snowplow-devops/priority-class
Introduction
This chart attempts to take care of deploying a set of generic priority classes that cover all use cases for pod prioritization
- Critical - Used for mission critical priority pods that preempt all other priority classes
- High - High priority pods that preempt medium and low priority pods
- Medium - Medium priority pods to be used as default with
globalDefault: true - Low - Lowest priority pods
Installing the Chart
Install or upgrading the chart with default configuration:
helm upgrade --install priority-class snowplow-devops/priority-class
Uninstalling the Chart
To uninstall/delete the priority-class release:
helm delete priority-class
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
| nameOverride | string | "" | Overrides the name given to the deployment resources (default: .Release.Name) |
| fullnameOverride | string | "" | Overrides the full-name given to the deployment resources (default: .Release.Name) |
| labels | object | {} | labels deployed to all priority classes deployed by the chart |
Deploy priority-class with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has priority-class on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpriority-class is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply