kubeservice-custom-limitrange
A Helm chart for Kubernetes
About this chart
Kubeservice Custom LimitRange
Kubeservice Custom LimitRange is kubernetes pod bandwidth rate limiting, setting bandwidth quota & custom-limitrange
Kubeservice Custom LimitRange is a Kubernetes Admission Webhook for kubernetes pod bandwidth rate limiting.
This chart creates a Kubeservice Custom LimitRange deployment on a Kubernetes cluster using the Helm package manager.
Source Code
Requirements
Kubernetes 1.16+ with Beta APIs enabled
Add Helm repository
helm repo add kubeservice-stack https://kubeservice-stack.github.io/kubservice-charts
helm repo update
See helm repo for command documentation.
Install Chart
helm install [RELEASE_NAME] kubeservice-custom-limitrange
See configuration below.
See helm install for command documentation.
Uninstall Chart
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Chart
helm upgrade [RELEASE_NAME] [CHART] --install
See helm upgrade for command documentation.
Configuration
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:
# Helm 2
$ helm inspect values kubeservice-custom-limitrange
# Helm 3
$ helm show values kubeservice-custom-limitrange
See kubeservice-stack/lxcfs-webhook/README.md for further information.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity to add to the controller Pods |
| image | string | "docker.io/dongjiang1989/customlimitrange-manager:latest" | deployment image |
| imagePullSecrets | list | [] | Reference to one or more secrets to be used when pulling images <https:// |
| podAnnotations | object | {} | Additional annotations to add to the controller Pods |
| pullPolicy | string | "IfNotPresent" | The image pull policy. |
| replicas | int | 1 | Number of replicas for the controller |
| resources | object | {"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"10m","memory":"64Mi"}} | Expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#resourcerequirements-v1-core |
| service.port | int | 443 | Expose port for WebHook controller |
| service.type | string | "ClusterIP" | Service type to use |
Autogenerated from chart metadata using helm-docs v1.4.0
Deploy kubeservice-custom-limitrange with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubeservice-custom-limitrange 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 chartkubeservice-custom-limitrange is pinned at v1.3.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