ocean-vpa

by Spot by NetApp

Helm chartv1.0.8App 1.6.0

A Helm chart for Kubernetes

About this chart

ocean-vpa

A Helm chart for Kubernetes.

Installation

  1. Add the Spot Helm chart repository:
helm repo add spot https://charts.spot.io
  1. Update your local Helm chart repository cache:
helm repo update
  1. Install ocean-vpa:
helm install my-release spot/ocean-vpa

Values

KeyTypeDefaultDescription
admissionController.affinityobject{}
admissionController.certGen.affinityobject{}
admissionController.certGen.envobject{}Additional environment variables to be added to the certgen container. Format is KEY: Value format
admissionController.certGen.image.pullPolicystring"Always"The pull policy for the certgen image. Recommend not changing this
admissionController.certGen.image.repositorystring"registry.k8s.io/ingress-nginx/kube-webhook-certgen"An image that contains certgen for creating certificates. Only used if admissionController.generateCertificate is true
admissionController.certGen.image.tagstring"v1.4.1"An image tag for the admissionController.certGen.image.repository image. Only used if admissionController.generateCertificate is true
admissionController.certGen.nodeSelectorobject{}
admissionController.certGen.resourcesobject{}The resources block for the certgen pod
admissionController.certGen.securityContextobject{}The securityContext block for the certgen pod
admissionController.certGen.tolerationslist[]
admissionController.extraArgs.feature-gatesstring"InPlaceOrRecreate=true"
admissionController.extraArgs.stderrthresholdstring"info"
admissionController.extraArgs.vint4
admissionController.generateCertificatebooltrueIf true and admissionController is enabled, a pre-install hook will run to create the certificate for the webhook
admissionController.hostNetworkboolfalseWhether to use the host network for the admission controller. This is required in some situations such as when using a custom CNI on EKS.
admissionController.httpPortint8000Port of the admission controller for the mutating webhooks
admissionController.image.pullPolicystring"Always"The pull policy for the admission controller image. Recommend not changing this
admissionController.image.repositorystring"registry.k8s.io/autoscaling/vpa-admission-controller"The location of the vpa admission controller image
admissionController.image.tagstring""Overrides the image tag whose default is the chart appVersion
admissionController.mutatingWebhookConfiguration.annotationsobject{}Additional annotations for the MutatingWebhookConfiguration. Can be used for integration with cert-manager
admissionController.nodeSelectorobject{}
admissionController.podAnnotationsobject{}Annotations to add to the admission controller pod
admissionController.podLabelsobject{}Labels to add to the admission controller pod
admissionController.podSecurityContextobject{"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}The security context for the admission controller pod
admissionController.replicaCountint1
admissionController.resourcesobject{"limits":{},"requests":{"cpu":"50m","memory":"200Mi"}}The resources block for the admission controller pod
admissionController.secretDelete.image.pullPolicystring"IfNotPresent"Pull policy for the secret-delete image.
admissionController.secretDelete.image.repositorystring"bitnami/kubectl"kubectl image for the post-delete cleanup job. Override with a private registry mirror for air-gapped / network-isolated clusters.
admissionController.secretDelete.image.tagstring"latest"Image tag. Override with a specific version from your private registry for air-gapped clusters.
admissionController.secretNamestring"{{ include \"ocean-vpa.fullname\" . }}-tls-secret"Name for the TLS secret created for the webhook. Default {{ .Release.Name }}-tls-secret
admissionController.tlsSecretKeyslist[]The keys in the vpa-tls-certs secret to map in to the admission controller
admissionController.tolerationslist[]
commonLabelsobject{}Common labels to apply to all resources created by this chart
fullnameOverridestring""A template override for the fullname
imagePullSecretslist[]A list of image pull secrets to be used for all pods
nameOverridestring""A template override for the name
priorityClassNamestring""To set the priorityclass for all pods
serviceAccount.annotationsobject{}Annotations to add to the service accounts for each component
serviceAccount.createbooltrueSpecifies whether a service account should be created for each component
serviceAccount.namestring""The base name of the service account to use (appended with the component). If not set and create is true, a name is generated using the fullname template and appended for each component
updater.affinityobject{}
updater.evictionTolerancefloat0.25
updater.extraArgs.feature-gatesstring"InPlaceOrRecreate=true"
updater.extraArgs.min-replicasint1
updater.extraArgs.stderrthresholdstring"info"
updater.extraArgs.vint4
updater.image.pullPolicystring"Always"The pull policy for the updater image. Recommend not changing this
updater.image.repositorystring"registry.k8s.io/autoscaling/vpa-updater"The location of the updater image
updater.image.tagstring""Overrides the image tag whose default is the chart appVersion
updater.nodeSelectorobject{}
updater.podAnnotationsobject{}Annotations to add to the updater pod
updater.podLabelsobject{}Labels to add to the updater pod
updater.podSecurityContextobject{"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}The security context for the updater pod
updater.replicaCountint1
updater.resourcesobject{"limits":{},"requests":{"cpu":"50m","memory":"500Mi"}}The resources block for the updater pod
updater.tolerationslist[]

Autogenerated from chart metadata using helm-docs v1.13.1

Deploy ocean-vpa with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ocean-vpa 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartocean-vpa is pinned at v1.0.8 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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