flux/metallb-system/configmap-metallb-helm-char...

333 lines
10 KiB
YAML
Raw Normal View History

2022-08-25 20:54:59 -04:00
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: null
name: metallb-helm-chart-value-overrides
namespace: metallb-system
data:
values.yaml: |-
2022-08-26 10:21:56 -04:00
# Default values for metallb.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
2022-08-26 10:21:56 -04:00
imagePullSecrets: []
2022-08-26 09:06:08 -04:00
nameOverride: ""
fullnameOverride: ""
2022-08-26 10:16:11 -04:00
loadBalancerClass: ""
2022-08-26 10:21:56 -04:00
# To configure MetalLB, you must specify ONE of the following two
# options.
2022-08-26 10:21:56 -04:00
2022-08-25 20:54:59 -04:00
rbac:
# create specifies whether to install and use RBAC rules.
2022-08-25 20:54:59 -04:00
create: true
2022-08-26 10:21:56 -04:00
2022-08-25 20:54:59 -04:00
psp:
# create specifies whether to install and use Pod Security Policies.
create: true
2022-08-26 10:21:56 -04:00
prometheus:
# scrape annotations specifies whether to add Prometheus metric
# auto-collection annotations to pods. See
# https://github.com/prometheus/prometheus/blob/release-2.1/documentation/examples/ prometheus-kubernetes.yml
# for a corresponding Prometheus configuration. Alternatively, you
# may want to use the Prometheus Operator
# (https://github.com/coreos/prometheus-operator) for more powerful
# monitoring configuration. If you use the Prometheus operator, this
# can be left at false.
scrapeAnnotations: false
2022-08-26 10:21:56 -04:00
# port both controller and speaker will listen on for metrics
metricsPort: 7472
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# if set, enables rbac proxy on the controller and speaker to expose
# the metrics via tls.
# secureMetricsPort: 9120
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# the name of the secret to be mounted in the speaker pod
# to expose the metrics securely. If not present, a self signed
# certificate to be used.
speakerMetricsTLSSecret: ""
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# the name of the secret to be mounted in the controller pod
# to expose the metrics securely. If not present, a self signed
# certificate to be used.
controllerMetricsTLSSecret: ""
2022-08-26 10:21:56 -04:00
# the service account used by prometheus
# required when .Values.prometheus.podMonitor.enabled == true
serviceAccount: ""
2022-08-26 10:21:56 -04:00
# the namespace where prometheus is deployed
# required when .Values.prometheus.podMonitor.enabled == true
namespace: ""
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# the image to be used for the kuberbacproxy container
rbacProxy:
repository: gcr.io/kubebuilder/kube-rbac-proxy
tag: v0.12.0
2022-08-26 10:21:56 -04:00
# Prometheus Operator PodMonitors
podMonitor:
# enable support for Prometheus Operator
enabled: false
2022-08-26 10:21:56 -04:00
# optional additionnal labels for podMonitors
additionalLabels: {}
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# optional annotations for podMonitors
annotations: {}
2022-08-26 10:21:56 -04:00
# Job label for scrape target
jobLabel: "app.kubernetes.io/name"
2022-08-26 10:21:56 -04:00
# Scrape interval. If not set, the Prometheus default scrape interval is used.
interval:
2022-08-26 10:21:56 -04:00
# metric relabel configs to apply to samples before ingestion.
metricRelabelings: []
# - action: keep
# regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
# sourceLabels: [__name__]
2022-08-26 10:21:56 -04:00
# relabel configs to apply to samples before ingestion.
relabelings: []
# - sourceLabels: [__meta_kubernetes_pod_node_name]
# separator: ;
# regex: ^(.*)$
# target_label: nodename
# replacement: $1
# action: replace
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# Prometheus Operator ServiceMonitors. To be used as an alternative
# to podMonitor, supports secure metrics.
serviceMonitor:
# enable support for Prometheus Operator
enabled: false
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
speaker:
# optional additional labels for the speaker serviceMonitor
additionalLabels: {}
# optional additional annotations for the speaker serviceMonitor
annotations: {}
# optional tls configuration for the speaker serviceMonitor, in case
# secure metrics are enabled.
tlsConfig:
insecureSkipVerify: true
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
controller:
# optional additional labels for the controller serviceMonitor
additionalLabels: {}
# optional additional annotations for the controller serviceMonitor
annotations: {}
# optional tls configuration for the controller serviceMonitor, in case
# secure metrics are enabled.
tlsConfig:
insecureSkipVerify: true
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# Job label for scrape target
jobLabel: "app.kubernetes.io/name"
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# Scrape interval. If not set, the Prometheus default scrape interval is used.
interval:
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# metric relabel configs to apply to samples before ingestion.
metricRelabelings: []
# - action: keep
# regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
# sourceLabels: [__name__]
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# relabel configs to apply to samples before ingestion.
relabelings: []
# - sourceLabels: [__meta_kubernetes_pod_node_name]
# separator: ;
# regex: ^(.*)$
# target_label: nodename
# replacement: $1
# action: replace
2022-08-26 10:21:56 -04:00
# Prometheus Operator alertmanager alerts
prometheusRule:
# enable alertmanager alerts
enabled: false
2022-08-26 10:21:56 -04:00
# optional additionnal labels for prometheusRules
additionalLabels: {}
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# optional annotations for prometheusRules
annotations: {}
2022-08-26 10:21:56 -04:00
# MetalLBStaleConfig
staleConfig:
enabled: true
labels:
severity: warning
2022-08-26 10:21:56 -04:00
# MetalLBConfigNotLoaded
configNotLoaded:
enabled: true
labels:
severity: warning
2022-08-26 10:21:56 -04:00
# MetalLBAddressPoolExhausted
addressPoolExhausted:
enabled: true
labels:
severity: alert
2022-08-26 10:21:56 -04:00
addressPoolUsage:
enabled: true
thresholds:
- percent: 75
labels:
severity: warning
- percent: 85
labels:
severity: warning
- percent: 95
labels:
severity: alert
2022-08-26 10:21:56 -04:00
# MetalLBBGPSessionDown
bgpSessionDown:
enabled: true
labels:
severity: alert
2022-08-26 10:21:56 -04:00
extraAlerts: []
2022-08-26 10:21:56 -04:00
# controller contains configuration specific to the MetalLB cluster
# controller.
2022-08-25 20:54:59 -04:00
controller:
enabled: true
# -- Controller log level. Must be one of: `all`, `debug`, `info`, `warn`, `error` or `none`
logLevel: info
2022-08-26 10:16:11 -04:00
# command: /controller
# webhookMode: enabled
2022-08-25 20:54:59 -04:00
image:
repository: quay.io/metallb/controller
tag:
pullPolicy:
2022-08-26 10:16:11 -04:00
## @param controller.updateStrategy.type Metallb controller deployment strategy type.
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
## e.g:
## strategy:
## type: RollingUpdate
## rollingUpdate:
## maxSurge: 25%
## maxUnavailable: 25%
##
strategy:
type: RollingUpdate
serviceAccount:
# Specifies whether a ServiceAccount should be created
2022-08-26 09:06:08 -04:00
create: true
# The name of the ServiceAccount to use. If not set and create is
# true, a name is generated using the fullname template
name: ""
annotations: {}
securityContext:
runAsNonRoot: true
# nobody
runAsUser: 65534
fsGroup: 65534
resources: {}
# limits:
# cpu: 100m
# memory: 100Mi
2022-08-25 20:54:59 -04:00
nodeSelector: {}
tolerations: []
priorityClassName: ""
2022-08-26 10:16:11 -04:00
runtimeClassName: ""
2022-08-25 20:54:59 -04:00
affinity: {}
podAnnotations: {}
livenessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
2022-08-26 10:21:56 -04:00
# speaker contains configuration specific to the MetalLB speaker
# daemonset.
2022-08-25 20:54:59 -04:00
speaker:
enabled: true
2022-08-26 10:16:11 -04:00
# command: /speaker
# -- Speaker log level. Must be one of: `all`, `debug`, `info`, `warn`, `error` or `none`
logLevel: info
tolerateMaster: true
memberlist:
enabled: true
mlBindPort: 7946
2022-08-25 20:54:59 -04:00
image:
repository: quay.io/metallb/speaker
tag:
pullPolicy:
2022-08-26 10:16:11 -04:00
## @param speaker.updateStrategy.type Speaker daemonset strategy type
## ref: https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/
##
updateStrategy:
## StrategyType
## Can be set to RollingUpdate or OnDelete
##
type: RollingUpdate
serviceAccount:
# Specifies whether a ServiceAccount should be created
2022-08-26 09:06:08 -04:00
create: true
# The name of the ServiceAccount to use. If not set and create is
# true, a name is generated using the fullname template
name: ""
annotations: {}
## Defines a secret name for the controller to generate a memberlist encryption secret
## By default secretName: {{ "metallb.fullname" }}-memberlist
##
# secretName:
resources: {}
# limits:
# cpu: 100m
# memory: 100Mi
2022-08-25 20:54:59 -04:00
nodeSelector: {}
tolerations: []
priorityClassName: ""
2022-08-25 20:54:59 -04:00
affinity: {}
## Selects which runtime class will be used by the pod.
2022-08-26 10:16:11 -04:00
runtimeClassName: ""
2022-08-25 20:54:59 -04:00
podAnnotations: {}
livenessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
enabled: true
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
# frr contains configuration specific to the MetalLB FRR container,
# for speaker running alongside FRR.
frr:
2022-08-26 10:16:11 -04:00
enabled: false
image:
2022-08-26 10:16:11 -04:00
repository: frrouting/frr
tag: v7.5.1
pullPolicy:
metricsPort: 7473
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
# if set, enables a rbac proxy sidecar container on the speaker to
# expose the frr metrics via tls.
# secureMetricsPort: 9121
2022-08-26 10:21:56 -04:00
2022-08-26 10:16:11 -04:00
crds:
enabled: true