kube-green

by kube-green

Helm chartv0.7.1App 0.7.1Verified publisher

kube-green helm chart

About this chart

kube-green

kube-green helm chart

Values

KeyTypeDefaultDescription
affinityobject{}Affinity rules for pod assignment.
certManager.enabledbooltrueIf cert-manager is enabled, the configurations will use it to manage the needed certificates.
crds.enabledbooltrue
crds.keepbooltrue
fullnameOverridestring""
imagePullSecretslist[]List of secrets used to access private image repositories.
jobsCert.enabledboolfalseIf enabled, the certificates will be managed by a custom Job, without the integration with the cert-manager.
jobsCert.image.pullPolicystring"IfNotPresent"
jobsCert.image.registrystring"registry.k8s.io"
jobsCert.image.repositorystring"ingress-nginx/kube-webhook-certgen"
jobsCert.image.tagstring"v20221220-controller-v1.5.1-58-g787ea74b6"
manager.hostNetworkboolfalserun the manager in the host network. Required when using a custom CNI on EKS.
manager.image.pullPolicystring"IfNotPresent"Defines the image pull policy. Avoids pulling the image if it's already present.
manager.image.repositorystring"kubegreen/kube-green"The Docker image repository for the kube-green manager application.
manager.image.tagstring"0.7.1"The specific image tag of the kube-green manager to use.
manager.metrics.enabledbooltrueIf enabled, the manager will expose metrics.
manager.metrics.portint8443The address to bind the metrics server.
manager.metrics.securebooltrueIf true, the metrics server will use a secure connection via HTTPS. Set it to false to use HTTP instead. The certificate will be created in a secret called "metrics-server-cert".
manager.metrics.serviceMonitor.additionalLabelsobject{}Prometheus ServiceMonitor labels
manager.metrics.serviceMonitor.enabledboolfalseEnable a Prometheus ServiceMonitor
manager.metrics.serviceMonitor.intervalstring"30s"Prometheus ServiceMonitor interval
manager.metrics.serviceMonitor.metricRelabelingslist[]Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
manager.metrics.serviceMonitor.namespacestring""Prometheus ServiceMonitor namespace
manager.metrics.serviceMonitor.relabelingslist[]Prometheus [RelabelConfigs] to apply to samples before scraping
manager.metrics.serviceMonitor.selectorobject{}Prometheus ServiceMonitor selector
manager.resources.limits.cpustring"400m"Maximum CPU allowed.
manager.resources.limits.memorystring"400Mi"Maximum memory allowed.
manager.resources.requests.cpustring"100m"Requested CPU to guarantee for the pod.
manager.resources.requests.memorystring"50Mi"Requested memory to guarantee for the pod.
manager.securityContext.allowPrivilegeEscalationboolfalsePrevents the pod from gaining additional privileges. Set to false for security.
manager.securityContext.capabilities.drop[0]string"ALL"Drops all Linux capabilities for the pod, enhancing security.
nameOverridestring""
nodeSelectorobject{}Node labels for pod assignment.
podAnnotationsobject{}Annotations to add to each pod.
podSecurityContextobject{}Security settings that apply to all containers in the pod.
priorityClassNamestring""Priority class name for the pods.
rbac.customClusterRole.enabledboolfalseIf true, the custom ClusterRole is enabled.
rbac.customClusterRole.namestring"kube-green-manager-role-custom-aggregate"The name of the custom ClusterRole to aggregate with the default role managed by the chart.
rbac.customClusterRole.ruleslist[]Rules to add to the custom ClusterRole.
serviceAccount.annotationsobject{}Annotations to add to the service account if created.
serviceAccount.createbooltrueSpecifies whether a service account should be created for the application.
serviceAccount.namestring"kube-green-controller-manager"The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
tolerationslist[]Tolerations for pod scheduling.
topologySpreadConstraintslist[]Topology spread constraints for pod placement.

Deploy kube-green with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-green 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 chartkube-green is pinned at v0.7.1 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