Guest User

Untitled

a guest
Jul 14th, 2022
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. # Default values for metallb.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4.  
  5. imagePullSecrets: []
  6. nameOverride: ""
  7. fullnameOverride: ""
  8. loadBalancerClass: ""
  9.  
  10. # To configure MetalLB, you must specify ONE of the following two
  11. # options.
  12.  
  13. rbac:
  14. # create specifies whether to install and use RBAC rules.
  15. create: true
  16.  
  17. psp:
  18. # create specifies whether to install and use Pod Security Policies.
  19. create: false
  20.  
  21. prometheus:
  22. # scrape annotations specifies whether to add Prometheus metric
  23. # auto-collection annotations to pods. See
  24. # https://github.com/prometheus/prometheus/blob/release-2.1/documentation/examples/prometheus-kubernetes.yml
  25. # for a corresponding Prometheus configuration. Alternatively, you
  26. # may want to use the Prometheus Operator
  27. # (https://github.com/coreos/prometheus-operator) for more powerful
  28. # monitoring configuration. If you use the Prometheus operator, this
  29. # can be left at false.
  30. scrapeAnnotations: false
  31.  
  32. # port both controller and speaker will listen on for metrics
  33. metricsPort: 7472
  34.  
  35. # the service account used by prometheus
  36. # required when .Values.prometheus.podMonitor.enabled == true
  37. serviceAccount: ""
  38.  
  39. # the namespace where prometheus is deployed
  40. # required when .Values.prometheus.podMonitor.enabled == true
  41. namespace: ""
  42.  
  43. # Prometheus Operator PodMonitors
  44. podMonitor:
  45.  
  46. # enable support for Prometheus Operator
  47. enabled: false
  48.  
  49. # optional additionnal labels for podMonitors
  50. additionalLabels: {}
  51.  
  52. # optional annotations for podMonitors
  53. annotations: {}
  54.  
  55. # Job label for scrape target
  56. jobLabel: "app.kubernetes.io/name"
  57.  
  58. # Scrape interval. If not set, the Prometheus default scrape interval is used.
  59. interval:
  60.  
  61. # metric relabel configs to apply to samples before ingestion.
  62. metricRelabelings: []
  63. # - action: keep
  64. # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
  65. # sourceLabels: [__name__]
  66.  
  67. # relabel configs to apply to samples before ingestion.
  68. relabelings: []
  69. # - sourceLabels: [__meta_kubernetes_pod_node_name]
  70. # separator: ;
  71. # regex: ^(.*)$
  72. # target_label: nodename
  73. # replacement: $1
  74. # action: replace
  75.  
  76. # Prometheus Operator alertmanager alerts
  77. prometheusRule:
  78.  
  79. # enable alertmanager alerts
  80. enabled: false
  81.  
  82. # optional additionnal labels for prometheusRules
  83. additionalLabels: {}
  84.  
  85. # optional annotations for prometheusRules
  86. annotations: {}
  87.  
  88. # MetalLBStaleConfig
  89. staleConfig:
  90. enabled: true
  91. labels:
  92. severity: warning
  93.  
  94. # MetalLBConfigNotLoaded
  95. configNotLoaded:
  96. enabled: true
  97. labels:
  98. severity: warning
  99.  
  100. # MetalLBAddressPoolExhausted
  101. addressPoolExhausted:
  102. enabled: true
  103. labels:
  104. severity: alert
  105.  
  106. addressPoolUsage:
  107. enabled: true
  108. thresholds:
  109. - percent: 75
  110. labels:
  111. severity: warning
  112. - percent: 85
  113. labels:
  114. severity: warning
  115. - percent: 95
  116. labels:
  117. severity: alert
  118.  
  119. # MetalLBBGPSessionDown
  120. bgpSessionDown:
  121. enabled: true
  122. labels:
  123. severity: alert
  124.  
  125. extraAlerts: []
  126.  
  127. # controller contains configuration specific to the MetalLB cluster
  128. # controller.
  129. controller:
  130. enabled: true
  131. # -- Controller log level. Must be one of: `all`, `debug`, `info`, `warn`, `error` or `none`
  132. logLevel: info
  133. image:
  134. repository: quay.io/metallb/controller
  135. tag: v0.13.3
  136. pullPolicy:
  137. serviceAccount:
  138. # Specifies whether a ServiceAccount should be created
  139. create: true
  140. # The name of the ServiceAccount to use. If not set and create is
  141. # true, a name is generated using the fullname template
  142. name: ""
  143. annotations: {}
  144. securityContext:
  145. runAsNonRoot: true
  146. # nobody
  147. runAsUser: 65534
  148. fsGroup: 65534
  149. resources: {}
  150. # limits:
  151. # cpu: 100m
  152. # memory: 100Mi
  153. nodeSelector: {}
  154. tolerations: []
  155. priorityClassName: ""
  156. runtimeClassName: ""
  157. affinity: {}
  158. podAnnotations: {}
  159. livenessProbe:
  160. enabled: true
  161. failureThreshold: 3
  162. initialDelaySeconds: 10
  163. periodSeconds: 10
  164. successThreshold: 1
  165. timeoutSeconds: 1
  166. readinessProbe:
  167. enabled: true
  168. failureThreshold: 3
  169. initialDelaySeconds: 10
  170. periodSeconds: 10
  171. successThreshold: 1
  172. timeoutSeconds: 1
  173.  
  174. # speaker contains configuration specific to the MetalLB speaker
  175. # daemonset.
  176. speaker:
  177. enabled: true
  178. # -- Speaker log level. Must be one of: `all`, `debug`, `info`, `warn`, `error` or `none`
  179. logLevel: info
  180. tolerateMaster: true
  181. memberlist:
  182. enabled: true
  183. mlBindPort: 7946
  184. image:
  185. repository: quay.io/metallb/speaker
  186. tag: v0.13.3
  187. pullPolicy:
  188. serviceAccount:
  189. # Specifies whether a ServiceAccount should be created
  190. create: true
  191. # The name of the ServiceAccount to use. If not set and create is
  192. # true, a name is generated using the fullname template
  193. name: ""
  194. annotations: {}
  195. ## Defines a secret name for the controller to generate a memberlist encryption secret
  196. ## By default secretName: {{ "metallb.fullname" }}-memberlist
  197. ##
  198. # secretName:
  199. resources: {}
  200. # limits:
  201. # cpu: 100m
  202. # memory: 100Mi
  203. nodeSelector: {}
  204. tolerations: []
  205. priorityClassName: ""
  206. affinity: {}
  207. ## Selects which runtime class will be used by the pod.
  208. runtimeClassName: ""
  209. podAnnotations: {}
  210. livenessProbe:
  211. enabled: true
  212. failureThreshold: 3
  213. initialDelaySeconds: 10
  214. periodSeconds: 10
  215. successThreshold: 1
  216. timeoutSeconds: 1
  217. readinessProbe:
  218. enabled: true
  219. failureThreshold: 3
  220. initialDelaySeconds: 10
  221. periodSeconds: 10
  222. successThreshold: 1
  223. timeoutSeconds: 1
  224. # frr contains configuration specific to the MetalLB FRR container,
  225. # for speaker running alongside FRR.
  226. frr:
  227. enabled: false
  228. image:
  229. repository: frrouting/frr
  230. tag: v7.5.1
  231. pullPolicy:
  232.  
  233. crds:
  234. enabled: true
  235.  
Advertisement
Add Comment
Please, Sign In to add comment