main
Jaromir Rivera 2022-08-26 10:21:56 -04:00
parent e478b09d68
commit 6973620c1f
1 changed files with 40 additions and 40 deletions

View File

@ -6,26 +6,26 @@ metadata:
namespace: metallb-system namespace: metallb-system
data: data:
values.yaml: |- values.yaml: |-
# Default values for metallb. # Default values for metallb.
# This is a YAML-formatted file. # This is a YAML-formatted file.
# Declare variables to be passed into your templates. # Declare variables to be passed into your templates.
imagePullSecrets: [] imagePullSecrets: []
nameOverride: "" nameOverride: ""
fullnameOverride: "" fullnameOverride: ""
loadBalancerClass: "" loadBalancerClass: ""
# To configure MetalLB, you must specify ONE of the following two # To configure MetalLB, you must specify ONE of the following two
# options. # options.
rbac: rbac:
# create specifies whether to install and use RBAC rules. # create specifies whether to install and use RBAC rules.
create: true create: true
psp: psp:
# create specifies whether to install and use Pod Security Policies. # create specifies whether to install and use Pod Security Policies.
create: true create: true
prometheus: prometheus:
# scrape annotations specifies whether to add Prometheus metric # scrape annotations specifies whether to add Prometheus metric
# auto-collection annotations to pods. See # auto-collection annotations to pods. See
@ -36,60 +36,60 @@ data:
# monitoring configuration. If you use the Prometheus operator, this # monitoring configuration. If you use the Prometheus operator, this
# can be left at false. # can be left at false.
scrapeAnnotations: false scrapeAnnotations: false
# port both controller and speaker will listen on for metrics # port both controller and speaker will listen on for metrics
metricsPort: 7472 metricsPort: 7472
# if set, enables rbac proxy on the controller and speaker to expose # if set, enables rbac proxy on the controller and speaker to expose
# the metrics via tls. # the metrics via tls.
# secureMetricsPort: 9120 # secureMetricsPort: 9120
# the name of the secret to be mounted in the speaker pod # the name of the secret to be mounted in the speaker pod
# to expose the metrics securely. If not present, a self signed # to expose the metrics securely. If not present, a self signed
# certificate to be used. # certificate to be used.
speakerMetricsTLSSecret: "" speakerMetricsTLSSecret: ""
# the name of the secret to be mounted in the controller pod # the name of the secret to be mounted in the controller pod
# to expose the metrics securely. If not present, a self signed # to expose the metrics securely. If not present, a self signed
# certificate to be used. # certificate to be used.
controllerMetricsTLSSecret: "" controllerMetricsTLSSecret: ""
# the service account used by prometheus # the service account used by prometheus
# required when .Values.prometheus.podMonitor.enabled == true # required when .Values.prometheus.podMonitor.enabled == true
serviceAccount: "" serviceAccount: ""
# the namespace where prometheus is deployed # the namespace where prometheus is deployed
# required when .Values.prometheus.podMonitor.enabled == true # required when .Values.prometheus.podMonitor.enabled == true
namespace: "" namespace: ""
# the image to be used for the kuberbacproxy container # the image to be used for the kuberbacproxy container
rbacProxy: rbacProxy:
repository: gcr.io/kubebuilder/kube-rbac-proxy repository: gcr.io/kubebuilder/kube-rbac-proxy
tag: v0.12.0 tag: v0.12.0
# Prometheus Operator PodMonitors # Prometheus Operator PodMonitors
podMonitor: podMonitor:
# enable support for Prometheus Operator # enable support for Prometheus Operator
enabled: false enabled: false
# optional additionnal labels for podMonitors # optional additionnal labels for podMonitors
additionalLabels: {} additionalLabels: {}
# optional annotations for podMonitors # optional annotations for podMonitors
annotations: {} annotations: {}
# Job label for scrape target # Job label for scrape target
jobLabel: "app.kubernetes.io/name" jobLabel: "app.kubernetes.io/name"
# Scrape interval. If not set, the Prometheus default scrape interval is used. # Scrape interval. If not set, the Prometheus default scrape interval is used.
interval: interval:
# metric relabel configs to apply to samples before ingestion. # metric relabel configs to apply to samples before ingestion.
metricRelabelings: [] metricRelabelings: []
# - action: keep # - action: keep
# regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+' # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
# sourceLabels: [__name__] # sourceLabels: [__name__]
# relabel configs to apply to samples before ingestion. # relabel configs to apply to samples before ingestion.
relabelings: [] relabelings: []
# - sourceLabels: [__meta_kubernetes_pod_node_name] # - sourceLabels: [__meta_kubernetes_pod_node_name]
@ -98,13 +98,13 @@ data:
# target_label: nodename # target_label: nodename
# replacement: $1 # replacement: $1
# action: replace # action: replace
# Prometheus Operator ServiceMonitors. To be used as an alternative # Prometheus Operator ServiceMonitors. To be used as an alternative
# to podMonitor, supports secure metrics. # to podMonitor, supports secure metrics.
serviceMonitor: serviceMonitor:
# enable support for Prometheus Operator # enable support for Prometheus Operator
enabled: false enabled: false
speaker: speaker:
# optional additional labels for the speaker serviceMonitor # optional additional labels for the speaker serviceMonitor
additionalLabels: {} additionalLabels: {}
@ -114,7 +114,7 @@ data:
# secure metrics are enabled. # secure metrics are enabled.
tlsConfig: tlsConfig:
insecureSkipVerify: true insecureSkipVerify: true
controller: controller:
# optional additional labels for the controller serviceMonitor # optional additional labels for the controller serviceMonitor
additionalLabels: {} additionalLabels: {}
@ -124,19 +124,19 @@ data:
# secure metrics are enabled. # secure metrics are enabled.
tlsConfig: tlsConfig:
insecureSkipVerify: true insecureSkipVerify: true
# Job label for scrape target # Job label for scrape target
jobLabel: "app.kubernetes.io/name" jobLabel: "app.kubernetes.io/name"
# Scrape interval. If not set, the Prometheus default scrape interval is used. # Scrape interval. If not set, the Prometheus default scrape interval is used.
interval: interval:
# metric relabel configs to apply to samples before ingestion. # metric relabel configs to apply to samples before ingestion.
metricRelabelings: [] metricRelabelings: []
# - action: keep # - action: keep
# regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+' # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
# sourceLabels: [__name__] # sourceLabels: [__name__]
# relabel configs to apply to samples before ingestion. # relabel configs to apply to samples before ingestion.
relabelings: [] relabelings: []
# - sourceLabels: [__meta_kubernetes_pod_node_name] # - sourceLabels: [__meta_kubernetes_pod_node_name]
@ -145,36 +145,36 @@ data:
# target_label: nodename # target_label: nodename
# replacement: $1 # replacement: $1
# action: replace # action: replace
# Prometheus Operator alertmanager alerts # Prometheus Operator alertmanager alerts
prometheusRule: prometheusRule:
# enable alertmanager alerts # enable alertmanager alerts
enabled: false enabled: false
# optional additionnal labels for prometheusRules # optional additionnal labels for prometheusRules
additionalLabels: {} additionalLabels: {}
# optional annotations for prometheusRules # optional annotations for prometheusRules
annotations: {} annotations: {}
# MetalLBStaleConfig # MetalLBStaleConfig
staleConfig: staleConfig:
enabled: true enabled: true
labels: labels:
severity: warning severity: warning
# MetalLBConfigNotLoaded # MetalLBConfigNotLoaded
configNotLoaded: configNotLoaded:
enabled: true enabled: true
labels: labels:
severity: warning severity: warning
# MetalLBAddressPoolExhausted # MetalLBAddressPoolExhausted
addressPoolExhausted: addressPoolExhausted:
enabled: true enabled: true
labels: labels:
severity: alert severity: alert
addressPoolUsage: addressPoolUsage:
enabled: true enabled: true
thresholds: thresholds:
@ -187,15 +187,15 @@ data:
- percent: 95 - percent: 95
labels: labels:
severity: alert severity: alert
# MetalLBBGPSessionDown # MetalLBBGPSessionDown
bgpSessionDown: bgpSessionDown:
enabled: true enabled: true
labels: labels:
severity: alert severity: alert
extraAlerts: [] extraAlerts: []
# controller contains configuration specific to the MetalLB cluster # controller contains configuration specific to the MetalLB cluster
# controller. # controller.
controller: controller:
@ -255,7 +255,7 @@ data:
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 1 timeoutSeconds: 1
# speaker contains configuration specific to the MetalLB speaker # speaker contains configuration specific to the MetalLB speaker
# daemonset. # daemonset.
speaker: speaker:
@ -324,10 +324,10 @@ data:
tag: v7.5.1 tag: v7.5.1
pullPolicy: pullPolicy:
metricsPort: 7473 metricsPort: 7473
# if set, enables a rbac proxy sidecar container on the speaker to # if set, enables a rbac proxy sidecar container on the speaker to
# expose the frr metrics via tls. # expose the frr metrics via tls.
# secureMetricsPort: 9121 # secureMetricsPort: 9121
crds: crds:
enabled: true enabled: true