110 lines
2.6 KiB
YAML
110 lines
2.6 KiB
YAML
restartPolicy: Always
|
|
|
|
podDisruptionBudget: {}
|
|
# maxUnavailable: 0
|
|
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
type: RollingUpdate
|
|
|
|
image:
|
|
repository: prom/blackbox-exporter
|
|
tag: v0.19.0
|
|
pullPolicy: IfNotPresent
|
|
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
# pullSecrets:
|
|
# - myRegistrKeySecretName
|
|
|
|
## User to run blackbox-exporter container as
|
|
runAsUser: 1000
|
|
readOnlyRootFilesystem: true
|
|
runAsNonRoot: true
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
|
|
secretConfig: false
|
|
config:
|
|
modules:
|
|
http_2xx:
|
|
prober: http
|
|
timeout: 5s
|
|
http:
|
|
valid_http_versions: ["HTTP/1.1", "HTTP/2"]
|
|
no_follow_redirects: false
|
|
preferred_ip_protocol: "ip4"
|
|
|
|
extraConfigmapMounts: []
|
|
# - name: certs-configmap
|
|
# mountPath: /etc/secrets/ssl/
|
|
# subPath: certificates.crt # (optional)
|
|
# configMap: certs-configmap
|
|
# readOnly: true
|
|
# defaultMode: 420
|
|
|
|
## Additional secret mounts
|
|
# Defines additional mounts with secrets. Secrets must be manually created in the namespace.
|
|
extraSecretMounts: []
|
|
# - name: secret-files
|
|
# mountPath: /etc/secrets
|
|
# secretName: blackbox-secret-files
|
|
# readOnly: true
|
|
# defaultMode: 420
|
|
|
|
resources: {}
|
|
# limits:
|
|
# memory: 300Mi
|
|
# requests:
|
|
# memory: 50Mi
|
|
|
|
priorityClassName: ""
|
|
|
|
service:
|
|
annotations: {}
|
|
type: ClusterIP
|
|
port: 9115
|
|
|
|
## An Ingress resource can provide name-based virtual hosting and TLS
|
|
## termination among other things for CouchDB deployments which are accessed
|
|
## from outside the Kubernetes cluster.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
|
|
ingress:
|
|
enabled: false
|
|
hosts: []
|
|
# - chart-example.local
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
tls: []
|
|
# Secrets must be manually created in the namespace.
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
podAnnotations: {}
|
|
|
|
extraArgs: []
|
|
# --history.limit=1000
|
|
|
|
replicas: 1
|
|
|
|
serviceMonitors: []
|
|
## If any, ServiceMonitor CRDs are created for a prometheus operator
|
|
## https://github.com/coreos/prometheus-operator
|
|
## - name: example-com
|
|
## labels: {}
|
|
## interval: 30s
|
|
## scrapeTimeout: 30s
|
|
## module: http_2xx
|
|
## # The URL that blackbox will scrape
|
|
## url: http://example.com/healthz
|
|
## # Optional human readable URL that will appear in Prometheus / AlertManager
|
|
## urlHumanReadable: www.changemeoriwillfail.com
|
|
## removePodLabel: false
|