metallb

by apecloud

Helm chartv0.16.2App v0.16.2Verified publisher

A network load-balancer implementation for Kubernetes using standard routing protocols

About this chart

metallb

A network load-balancer implementation for Kubernetes using standard routing protocols

Homepage: https://metallb.universe.tf

Source Code

Requirements

Kubernetes: >= 1.19.0-0

RepositoryNameVersion
crds0.0.0
https://metallb.github.io/frr-k8sfrr-k8s0.0.27

Values

KeyTypeDefaultDescription
controller.affinityobject{}
controller.enabledbooltrue
controller.extraContainerslist[]
controller.image.pullPolicystringnil
controller.image.repositorystring"quay.io/metallb/controller"
controller.image.tagstringnil
controller.labelsobject{}
controller.livenessProbe.enabledbooltrue
controller.livenessProbe.failureThresholdint3
controller.livenessProbe.initialDelaySecondsint10
controller.livenessProbe.periodSecondsint10
controller.livenessProbe.portint17472
controller.livenessProbe.successThresholdint1
controller.livenessProbe.timeoutSecondsint1
controller.logLevelstring"info"Controller log level. Must be one of: all, debug, info, warn, error or none
controller.nodeSelectorobject{}
controller.podAnnotationsobject{}
controller.priorityClassNamestring""
controller.readinessProbe.enabledbooltrue
controller.readinessProbe.failureThresholdint3
controller.readinessProbe.initialDelaySecondsint10
controller.readinessProbe.periodSecondsint10
controller.readinessProbe.portint17472
controller.readinessProbe.successThresholdint1
controller.readinessProbe.timeoutSecondsint1
controller.resourcesobject{}
controller.revisionHistoryLimitint10
controller.runtimeClassNamestring""
controller.securityContext.fsGroupint65534
controller.securityContext.runAsNonRootbooltrue
controller.securityContext.runAsUserint65534
controller.serviceAccount.annotationsobject{}
controller.serviceAccount.createbooltrue
controller.serviceAccount.namestring""
controller.strategy.typestring"RollingUpdate"
controller.tolerationslist[]
controller.webhookModestring"enabled"
crds.enabledbooltrue
crds.validationFailurePolicystring"Fail"
frr-k8s.prometheus.serviceMonitor.enabledboolfalseEnable Prometheus ServiceMonitor for frr-k8s metrics.
frrk8s.enabledbooltrueIf set, enables frrk8s as a backend. This is mutually exclusive to frr mode.
frrk8s.externalboolfalseIf true, uses an external frr-k8s installation instead of the bundled subchart.
frrk8s.namespacestring""Namespace where external frr-k8s is installed (only used when external=true).
frrk8s.secretPassthroughboolfalsePass BGP secret references to frr-k8s without resolving them. The secret must exist in the frr-k8s namespace. Only used when external=true.
fullnameOverridestring""
imagePullSecretslist[]
loadBalancerClassstring""
nameOverridestring""
networkpolicies.apiPortint6443
networkpolicies.defaultDenyboolfalse
networkpolicies.enabledboolfalse
prometheus.metricsPortint9120
prometheus.namespacestring""
prometheus.podMonitor.additionalLabelsobject{}
prometheus.podMonitor.annotationsobject{}
prometheus.podMonitor.enabledboolfalse
prometheus.podMonitor.intervalstringnil
prometheus.podMonitor.jobLabelstring"app.kubernetes.io/name"
prometheus.podMonitor.metricRelabelingslist[]
prometheus.podMonitor.relabelingslist[]
prometheus.podMonitor.tlsConfig.insecureSkipVerifybooltrue
prometheus.prometheusRule.additionalLabelsobject{}
prometheus.prometheusRule.addressPoolExhausted.enabledbooltrue
prometheus.prometheusRule.addressPoolExhausted.excludePoolsstring""
prometheus.prometheusRule.addressPoolExhausted.labels.severitystring"critical"
prometheus.prometheusRule.addressPoolUsage.enabledbooltrue
prometheus.prometheusRule.addressPoolUsage.excludePoolsstring""
prometheus.prometheusRule.addressPoolUsage.thresholds[0].labels.severitystring"warning"
prometheus.prometheusRule.addressPoolUsage.thresholds[0].percentint75
prometheus.prometheusRule.addressPoolUsage.thresholds[1].labels.severitystring"warning"
prometheus.prometheusRule.addressPoolUsage.thresholds[1].percentint85
prometheus.prometheusRule.addressPoolUsage.thresholds[2].labels.severitystring"critical"
prometheus.prometheusRule.addressPoolUsage.thresholds[2].percentint95
prometheus.prometheusRule.annotationsobject{}
prometheus.prometheusRule.bgpSessionDown.enabledbooltrue
prometheus.prometheusRule.bgpSessionDown.labels.severitystring"critical"
prometheus.prometheusRule.configNotLoaded.enabledbooltrue
prometheus.prometheusRule.configNotLoaded.labels.severitystring"warning"
prometheus.prometheusRule.enabledboolfalse
prometheus.prometheusRule.extraAlertslist[]
prometheus.prometheusRule.staleConfig.enabledbooltrue
prometheus.prometheusRule.staleConfig.labels.severitystring"warning"
prometheus.rbacPrometheusbooltrue
prometheus.scrapeAnnotationsboolfalse
prometheus.serviceAccountstring""
prometheus.serviceMonitor.controller.additionalLabelsobject{}
prometheus.serviceMonitor.controller.annotationsobject{}
prometheus.serviceMonitor.controller.tlsConfig.insecureSkipVerifybooltrue
prometheus.serviceMonitor.enabledboolfalse
prometheus.serviceMonitor.intervalstringnil
prometheus.serviceMonitor.jobLabelstring"app.kubernetes.io/name"
prometheus.serviceMonitor.metricRelabelingslist[]
prometheus.serviceMonitor.relabelingslist[]
prometheus.serviceMonitor.speaker.additionalLabelsobject{}
prometheus.serviceMonitor.speaker.annotationsobject{}
prometheus.serviceMonitor.speaker.tlsConfig.insecureSkipVerifybooltrue
rbac.createbooltrue
speaker.affinityobject{}
speaker.bgpDebounceTimeoutstringnilBGP debounce timeout for FRR configuration reloads, in milliseconds. Only applies when BGP type is frr. Default (when unset) is 3000 ms. This feature is experimental
speaker.enabledbooltrue
speaker.excludeInterfaces.enabledbooltrue
speaker.extraContainerslist[]
speaker.frr.dockerStartPathstring"/usr/lib/frr/docker-start"Path to the docker-start script inside the FRR container. Override this when using an FRR image (e.g. Docker Hardened Images) that places docker-start at a different location.
speaker.frr.enabledboolfalse
speaker.frr.image.pullPolicystringnil
speaker.frr.image.repositorystring"quay.io/frrouting/frr"
speaker.frr.image.tagstring"10.5.3"
speaker.frr.metricsPortint9121
speaker.frr.resourcesobject{}
speaker.frr.securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"add":["NET_ADMIN","NET_RAW","SYS_ADMIN","NET_BIND_SERVICE"]},"readOnlyRootFilesystem":true}Security context for the FRR container.
speaker.frr.tiniPathstring"/sbin/tini"Path to the tini binary inside the FRR container. Override this when using an FRR image (e.g. Docker Hardened Images) that places tini at a different location.
speaker.frrMetrics.resourcesobject{}
speaker.gratuitousARPIntervalstringnilInterval in seconds for periodic gratuitous ARP/NDP announcements. Unset or 0 (default) disables periodic announcements.
speaker.ignoreExcludeLBboolfalse
speaker.image.pullPolicystringnil
speaker.image.repositorystring"quay.io/metallb/speaker"
speaker.image.tagstringnil
speaker.initContainers.cpFrrFiles.resourcesobject{}
speaker.initContainers.cpMetrics.resourcesobject{}
speaker.initContainers.cpReloader.resourcesobject{}
speaker.labelsobject{}
speaker.livenessProbe.enabledbooltrue
speaker.livenessProbe.failureThresholdint3
speaker.livenessProbe.initialDelaySecondsint10
speaker.livenessProbe.periodSecondsint10
speaker.livenessProbe.portint17472
speaker.livenessProbe.successThresholdint1
speaker.livenessProbe.timeoutSecondsint1
speaker.logLevelstring"info"Speaker log level. Must be one of: all, debug, info, warn, error or none
speaker.memberlist.enabledbooltrueWhen enabled: false, the speaker pods must run on all nodes
speaker.memberlist.mlBindAddrOverridestring""
speaker.memberlist.mlBindPortint7946
speaker.memberlist.mlSecretKeyPathstring"/etc/ml_secret_key"
speaker.nodeSelectorobject{}
speaker.podAnnotationsobject{}
speaker.priorityClassNamestring""
speaker.readinessProbe.enabledbooltrue
speaker.readinessProbe.failureThresholdint3
speaker.readinessProbe.initialDelaySecondsint10
speaker.readinessProbe.periodSecondsint10
speaker.readinessProbe.portint17472
speaker.readinessProbe.successThresholdint1
speaker.readinessProbe.timeoutSecondsint1
speaker.reloader.resourcesobject{}
speaker.resourcesobject{}
speaker.revisionHistoryLimitint10
speaker.runtimeClassNamestring""
speaker.securityContextobject{}
speaker.serviceAccount.annotationsobject{}
speaker.serviceAccount.createbooltrue
speaker.serviceAccount.namestring""
speaker.startupProbe.enabledbooltrue
speaker.startupProbe.failureThresholdint30
speaker.startupProbe.periodSecondsint5
speaker.tolerateMasterbooltrue
speaker.tolerationslist[]
speaker.updateStrategy.typestring"RollingUpdate"
tls.cipherSuitesstring""Comma-separated list of TLS cipher suites. If empty, uses Go defaults. Only applies to TLS 1.2.
tls.controllerMetricsTLSSecretstring""The name of the secret to be mounted in the controller pod to provide TLS certificates for metrics endpoints. If not present, a self-signed certificate is auto-generated.
tls.curvePreferencesstring""Comma-separated list of numeric CurveID values (e.g. 29,4588). See https://pkg.go.dev/crypto/tls#CurveID. If empty, uses Go defaults.
tls.minVersionstring""Minimum TLS version (VersionTLS12 or VersionTLS13). Defaults to VersionTLS13.
tls.speakerMetricsTLSSecretstring""The name of the secret to be mounted in the speaker pod to provide TLS certificates for metrics endpoints. If not present, a self-signed certificate is auto-generated.

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy metallb with OpenTenant

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