runtimeclass-controller
by rlex
Helm chartv0.1.0App latest
A Helm chart for Kubernetes
About this chart
runtimeclass-controller
A Helm chart for Kubernetes
Source Code
Usage
Not every helm chart, executor, operator, etc supports runtimeClassName on object specs yet. This app allows you to mutate objects based on namespace labels. To use it, after install label your namespace with runtimeclassname-default, ie
kubectl label namespace example runtimeclassname-default=gvisor --overwrite
And deploy your app
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | affinity for scheduling pods |
| autoscaling.enabled | bool | false | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| fullnameOverride | string | "" | Overrides helm-generated chart fullname |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.repository | string | "ghcr.io/jlclx/runtimeclass-controller" | Image repository |
| image.tag | string | "latest" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | specifies pull secrets for image repository |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | overrides chart name |
| nodeSelector | object | {} | node selector for scheduling pods |
| podAnnotations | object | {} | annotations for pod |
| podSecurityContext | object | {} | security context for pod |
| replicaCount | int | 1 | Amount of replicas to run |
| resources | object | {"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}} | resource limits and requests |
| securityContext | object | {} | security context for pod |
| service.port | int | 443 | service port |
| service.type | string | "ClusterIP" | service type |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | true | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tls.autogenerate | bool | true | Generate certs with helm |
| tls.certManagerIssuerRef | object | {} | Specifies cert-manager issuer ref |
| tls.certificateSecret | string | "" | Specified if secret is pre-generated |
| tls.renew | bool | false | Set to renew certs |
| tolerations | list | [] | tolerations for scheduling pods |
Upgrading
A major chart version change indicates that there is an incompatible breaking change needing manual actions.
Deploy runtimeclass-controller with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has runtimeclass-controller 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 chartruntimeclass-controller is pinned at v0.1.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