mirror of
https://github.com/bitnami/charts.git
synced 2026-03-12 06:47:32 +08:00
688 lines
27 KiB
YAML
688 lines
27 KiB
YAML
## @section Global parameters
|
|
## Global Docker image parameters
|
|
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
|
|
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
|
|
|
|
## @param global.imageRegistry Global Docker image registry
|
|
## @param global.imagePullSecrets Global Docker registry secret names as an array
|
|
##
|
|
global:
|
|
imageRegistry: ""
|
|
## E.g.
|
|
## imagePullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
imagePullSecrets: []
|
|
|
|
## @section Common parameters
|
|
|
|
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
|
|
##
|
|
kubeVersion: ""
|
|
## @param nameOverride String to partially override logstash.fullname template (will maintain the release name)
|
|
##
|
|
nameOverride: ""
|
|
## @param fullnameOverride String to fully override logstash.fullname template
|
|
##
|
|
fullnameOverride: ""
|
|
## @param clusterDomain Default Kubernetes cluster domain
|
|
##
|
|
clusterDomain: cluster.local
|
|
## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template).
|
|
##
|
|
extraDeploy: []
|
|
|
|
## Enable diagnostic mode in the deployment
|
|
##
|
|
diagnosticMode:
|
|
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
|
|
##
|
|
enabled: false
|
|
## @param diagnosticMode.command Command to override all containers in the deployment
|
|
##
|
|
command:
|
|
- sleep
|
|
## @param diagnosticMode.args Args to override all containers in the deployment
|
|
##
|
|
args:
|
|
- infinity
|
|
|
|
## @section Logstash parameters
|
|
|
|
## Bitnami Logstash image
|
|
## ref: https://hub.docker.com/r/bitnami/logstash/tags/
|
|
## @param image.registry Logstash image registry
|
|
## @param image.repository Logstash image repository
|
|
## @param image.tag Logstash image tag (immutable tags are recommended)
|
|
## @param image.pullPolicy Logstash image pull policy
|
|
## @param image.pullSecrets Specify docker-registry secret names as an array
|
|
## @param image.debug Specify if debug logs should be enabled
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/logstash
|
|
tag: 7.15.0-debian-10-r0
|
|
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
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/
|
|
## Example:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Set to true if you would like to see extra information on logs
|
|
##
|
|
debug: false
|
|
## @param hostAliases Add deployment host aliases
|
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
|
##
|
|
hostAliases: []
|
|
## @param configFileName Logstash configuration file name. It must match the name of the configuration file mounted as a configmap.
|
|
##
|
|
configFileName: logstash.conf
|
|
## @param enableMonitoringAPI Whether to enable the Logstash Monitoring API or not Kubernetes cluster domain
|
|
##
|
|
enableMonitoringAPI: true
|
|
## @param monitoringAPIPort Logstash Monitoring API Port
|
|
##
|
|
monitoringAPIPort: 9600
|
|
## @param extraEnvVars Array containing extra env vars to configure Logstash
|
|
## For example:
|
|
## extraEnvVars:
|
|
## - name: ELASTICSEARCH_HOST
|
|
## value: "x.y.z"
|
|
##
|
|
extraEnvVars: []
|
|
## @param extraEnvVarsSecret To add secrets to environment
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
## @param extraEnvVarsCM To add configmaps to environment
|
|
##
|
|
extraEnvVarsCM: ""
|
|
## @param input [string] Input Plugins configuration
|
|
## ref: https://www.elastic.co/guide/en/logstash/current/input-plugins.html
|
|
##
|
|
input: |-
|
|
# udp {
|
|
# port => 1514
|
|
# type => syslog
|
|
# }
|
|
# tcp {
|
|
# port => 1514
|
|
# type => syslog
|
|
# }
|
|
http { port => 8080 }
|
|
## @param filter Filter Plugins configuration
|
|
## ref: https://www.elastic.co/guide/en/logstash/current/filter-plugins.html
|
|
## e.g:
|
|
## filter: |-
|
|
## grok {
|
|
## match => { "message" => "%{COMBINEDAPACHELOG}" }
|
|
## }
|
|
## date {
|
|
## match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
|
|
## }
|
|
##
|
|
filter: ""
|
|
## @param output [string] Output Plugins configuration
|
|
## ref: https://www.elastic.co/guide/en/logstash/current/output-plugins.html
|
|
##
|
|
output: |-
|
|
# elasticsearch {
|
|
# hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"]
|
|
# manage_template => false
|
|
# index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
|
|
# }
|
|
# gelf {
|
|
# host => "${GRAYLOG_HOST}"
|
|
# port => ${GRAYLOG_PORT}
|
|
# }
|
|
stdout {}
|
|
## @param existingConfiguration Name of existing ConfigMap object with the Logstash configuration (`input`, `filter`, and `output` will be ignored).
|
|
##
|
|
existingConfiguration: ""
|
|
## @param enableMultiplePipelines Allows user to use multiple pipelines
|
|
## ref: https://www.elastic.co/guide/en/logstash/master/multiple-pipelines.html
|
|
##
|
|
enableMultiplePipelines: false
|
|
## @param extraVolumes Array to add extra volumes (evaluated as a template)
|
|
## extraVolumes:
|
|
## - name: myvolume
|
|
## configMap:
|
|
## name: myconfigmap
|
|
##
|
|
extraVolumes: []
|
|
## @param extraVolumeMounts Array to add extra mounts (normally used with extraVolumes, evaluated as a template)
|
|
## extraVolumeMounts:
|
|
## - mountPath: /opt/bitnami/desired-path
|
|
## name: myvolume
|
|
## readOnly: true
|
|
##
|
|
extraVolumeMounts: []
|
|
## @param containerPorts [array] Array containing the ports to open in the Logstash container
|
|
##
|
|
containerPorts:
|
|
## - name: syslog-udp
|
|
## containerPort: 1514
|
|
## protocol: UDP
|
|
## - name: syslog-tcp
|
|
## containerPort: 1514
|
|
## protocol: TCP
|
|
##
|
|
- name: http
|
|
containerPort: 8080
|
|
protocol: TCP
|
|
- name: monitoring
|
|
containerPort: 9600
|
|
protocol: TCP
|
|
## @param replicaCount Number of Logstash replicas to deploy
|
|
##
|
|
replicaCount: 1
|
|
## @param updateStrategy Update strategy (`RollingUpdate`, or `OnDelete`)
|
|
## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
|
##
|
|
updateStrategy: RollingUpdate
|
|
## @param podManagementPolicy Pod management policy
|
|
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
|
|
##
|
|
podManagementPolicy: OrderedReady
|
|
## @param podAnnotations Pod annotations
|
|
## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAffinityPreset: ""
|
|
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
##
|
|
nodeAffinityPreset:
|
|
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
type: ""
|
|
## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set.
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
## @param affinity Affinity for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
|
##
|
|
affinity: {}
|
|
## @param nodeSelector Node labels for pod assignment
|
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
## @param tolerations Tolerations for pod assignment
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## @param priorityClassName Pod priority
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
|
##
|
|
priorityClassName: ""
|
|
## K8s Security Context for Logstash pods
|
|
## https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
## @param securityContext.enabled Enable security context for Logstash
|
|
## @param securityContext.fsGroup Group ID for the Logstash filesystem
|
|
## @param securityContext.runAsUser User ID for the Logstash container
|
|
##
|
|
securityContext:
|
|
enabled: true
|
|
fsGroup: 1001
|
|
runAsUser: 1001
|
|
## Logstash containers' resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
## We usually recommend not to specify default resources and to leave this as a conscious
|
|
## choice for the user. This also increases chances charts run on environments with little
|
|
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
## @param resources.limits The resources limits for the Logstash container
|
|
## @param resources.requests The requested resources for the Logstash container
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
requests: {}
|
|
## Logstash pods' liveness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param livenessProbe.httpGet.path Request path for livenessProbe
|
|
## @param livenessProbe.httpGet.port Port for livenessProbe
|
|
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
|
|
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
|
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
|
|
## @param livenessProbe.successThreshold Success threshold for livenessProbe
|
|
##
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: monitoring
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 6
|
|
## Logstash pods' readiness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param readinessProbe.httpGet.path Request path for readinessProbe
|
|
## @param readinessProbe.httpGet.port Port for readinessProbe
|
|
## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: monitoring
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 6
|
|
## @param lifecycle Logstash pods' lifecycle hooks
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/
|
|
## e.g:
|
|
## preStop:
|
|
## exec:
|
|
## command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
|
|
## postStart:
|
|
## exec:
|
|
## command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
|
|
##
|
|
lifecycle: {}
|
|
## Service parameters
|
|
##
|
|
service:
|
|
## @param service.type Kubernetes service type (`ClusterIP`, `NodePort`, or `LoadBalancer`)
|
|
##
|
|
type: ClusterIP
|
|
## @param service.ports.http [object] Logstash svc ports
|
|
##
|
|
ports:
|
|
## syslog-udp:
|
|
## port: 1514
|
|
## targetPort: syslog-udp
|
|
## protocol: UDP
|
|
## syslog-tcp:
|
|
## port: 1514
|
|
## targetPort: syslog-tcp
|
|
## protocol: TCP
|
|
##
|
|
http:
|
|
port: 8080
|
|
targetPort: http
|
|
protocol: TCP
|
|
## @param service.loadBalancerIP loadBalancerIP if service type is `LoadBalancer`
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
|
|
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param service.externalTrafficPolicy External traffic policy, configure to Local to preserve client source IP when using an external loadBalancer
|
|
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: ""
|
|
## @param service.clusterIP Static clusterIP or None for headless services
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
|
|
## e.g:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param service.annotations Annotations for Logstash service
|
|
##
|
|
annotations: {}
|
|
## Persistence parameters
|
|
##
|
|
persistence:
|
|
## @param persistence.enabled Enable Logstash data persistence using PVC
|
|
##
|
|
enabled: false
|
|
## @param persistence.existingClaim A manually managed Persistent Volume and Claim
|
|
## If defined, PVC must be created manually before volume will be bound
|
|
## The value is evaluated as a template
|
|
##
|
|
existingClaim: ""
|
|
## @param persistence.storageClass PVC Storage Class for Logstash data volume
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner.
|
|
##
|
|
storageClass: ""
|
|
## @param persistence.accessModes PVC Access Mode for Logstash data volume
|
|
##
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
## @param persistence.size PVC Storage Request for Logstash data volume
|
|
##
|
|
size: 2Gi
|
|
## @param persistence.annotations Annotations for the PVC
|
|
##
|
|
annotations: {}
|
|
## @param persistence.mountPath Mount path of the Logstash data volume
|
|
##
|
|
mountPath: /bitnami/logstash/data
|
|
## Init Container parameters
|
|
## Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each component
|
|
## values from the securityContext section of the component
|
|
##
|
|
volumePermissions:
|
|
## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume(s) mountpoint to `runAsUser:fsGroup`
|
|
##
|
|
enabled: false
|
|
## The security context for the volumePermissions init container
|
|
## @param volumePermissions.securityContext.runAsUser User ID for the volumePermissions init container
|
|
##
|
|
securityContext:
|
|
runAsUser: 0
|
|
## @param volumePermissions.image.registry Init container volume-permissions image registry
|
|
## @param volumePermissions.image.repository Init container volume-permissions image repository
|
|
## @param volumePermissions.image.tag Init container volume-permissions image tag (immutable tags are recommended)
|
|
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
|
|
## @param volumePermissions.image.pullSecrets Specify docker-registry secret names as an array
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/bitnami-shell
|
|
tag: 10-debian-10-r200
|
|
## Specify a imagePullPolicy
|
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
pullPolicy: Always
|
|
## 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/
|
|
## Example:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Init Container resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
## We usually recommend not to specify default resources and to leave this as a conscious
|
|
## choice for the user. This also increases chances charts run on environments with little
|
|
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
## @param volumePermissions.resources.limits Init container volume-permissions resource limits
|
|
## @param volumePermissions.resources.requests Init container volume-permissions resource requests
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
requests: {}
|
|
## Configure the ingress resource that allows you to access the
|
|
## Logstash installation. Set up the URL
|
|
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
## @param ingress.enabled Enable ingress controller resource
|
|
##
|
|
enabled: false
|
|
## @param ingress.certManager Set this to true in order to add the corresponding annotations for cert-manager
|
|
##
|
|
certManager: false
|
|
## @param ingress.pathType Ingress Path type
|
|
##
|
|
pathType: ImplementationSpecific
|
|
## @param ingress.apiVersion Override API Version (automatically detected if not set)
|
|
##
|
|
apiVersion: ""
|
|
## @param ingress.hostname Default host for the ingress resource
|
|
##
|
|
hostname: logstash.local
|
|
## @param ingress.path The Path to Logstash. You may need to set this to '/*' in order to use this with ALB ingress controllers.
|
|
##
|
|
path: /
|
|
## @param ingress.annotations Ingress annotations
|
|
## For a full list of possible ingress annotations, please see
|
|
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
|
##
|
|
## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
|
|
##
|
|
annotations: {}
|
|
## @param ingress.tls Enable TLS configuration for the hostname defined at ingress.hostname parameter
|
|
## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }}
|
|
## You can use the ingress.secrets parameter to create this TLS secret or relay on cert-manager to create it
|
|
##
|
|
tls: false
|
|
## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
|
|
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
|
|
## extraHosts:
|
|
## - name: logstash.local
|
|
## path: /
|
|
##
|
|
extraHosts: []
|
|
## @param ingress.extraPaths Any additional arbitrary paths that may need to be added to the ingress under the main host.
|
|
## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
|
|
## extraPaths:
|
|
## - path: /*
|
|
## backend:
|
|
## serviceName: ssl-redirect
|
|
## servicePort: use-annotation
|
|
##
|
|
extraPaths: []
|
|
## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
|
|
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
|
|
## extraTls:
|
|
## - hosts:
|
|
## - logstash.local
|
|
## secretName: logstash.local-tls
|
|
##
|
|
extraTls: []
|
|
## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
|
|
## key and certificate should start with -----BEGIN CERTIFICATE----- or
|
|
## -----BEGIN RSA PRIVATE KEY-----
|
|
##
|
|
## name should line up with a tlsSecret set further up
|
|
## If you're using cert-manager, this is unneeded, as it will create the secret for you if it is not set
|
|
##
|
|
## It is also possible to create and manage the certificates outside of this helm chart
|
|
## Please see README.md for more information
|
|
##
|
|
secrets: []
|
|
## - name: logstash.local-tls
|
|
## key:
|
|
## certificate:
|
|
##
|
|
## Prometheus metrics
|
|
##
|
|
metrics:
|
|
## @param metrics.enabled Enable the export of Prometheus metrics
|
|
##
|
|
enabled: false
|
|
## Bitnami Logstash Promtheus Exporter image
|
|
## ref: https://hub.docker.com/r/bitnami/logstash-exporter/tags/
|
|
## @param metrics.image.registry Logstash Relay image registry
|
|
## @param metrics.image.repository Logstash Relay image repository
|
|
## @param metrics.image.tag Logstash Relay image tag (immutable tags are recommended)
|
|
## @param metrics.image.pullPolicy Logstash Relay image pull policy
|
|
## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/logstash-exporter
|
|
tag: 7.3.0-debian-10-r306
|
|
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
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/
|
|
## Example:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Logstash Prometheus Exporter containers' resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
## We usually recommend not to specify default resources and to leave this as a conscious
|
|
## choice for the user. This also increases chances charts run on environments with little
|
|
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
## @param metrics.resources.limits The resources limits for the Logstash Prometheus Exporter container
|
|
## @param metrics.resources.requests The requested resources for the Logstash Prometheus Exporter container
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 100m
|
|
## memory: 128Mi
|
|
requests: {}
|
|
## Prometheus Operator ServiceMonitor configuration
|
|
##
|
|
serviceMonitor:
|
|
## @param metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
|
|
##
|
|
enabled: false
|
|
## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
|
|
## e.g:
|
|
## namespace: monitoring
|
|
##
|
|
namespace: ""
|
|
## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped.
|
|
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
|
|
## e.g:
|
|
## interval: 10s
|
|
##
|
|
interval: ""
|
|
## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
|
|
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
|
|
## e.g:
|
|
## scrapeTimeout: 10s
|
|
##
|
|
scrapeTimeout: ""
|
|
## @param metrics.serviceMonitor.selector ServiceMonitor selector labels
|
|
## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration
|
|
## e.g:
|
|
## selector:
|
|
## prometheus: my-prometheus
|
|
##
|
|
selector: {}
|
|
## Logstash Prometheus Exporter containers' liveness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param metrics.livenessProbe.httpGet.path Request path for livenessProbe
|
|
## @param metrics.livenessProbe.httpGet.port Port for livenessProbe
|
|
## @param metrics.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param metrics.livenessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param metrics.livenessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param metrics.livenessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param metrics.livenessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: metrics
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 6
|
|
## Logstash Prometheus Exporter containers' readiness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param metrics.readinessProbe.httpGet.path Request path for readinessProbe
|
|
## @param metrics.readinessProbe.httpGet.port Port for readinessProbe
|
|
## @param metrics.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param metrics.readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param metrics.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param metrics.readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param metrics.readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: metrics
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 6
|
|
service:
|
|
## @param metrics.service.type Kubernetes service type (`ClusterIP`, `NodePort` or `LoadBalancer`)
|
|
##
|
|
type: ClusterIP
|
|
## @param metrics.service.port Logstash Prometheus port
|
|
##
|
|
port: 9198
|
|
## @param metrics.service.nodePort Kubernetes HTTP node port
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
nodePort: ""
|
|
## @param metrics.service.loadBalancerIP loadBalancerIP if service type is `LoadBalancer`
|
|
## Set the LoadBalancer service type to internal only
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param metrics.service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
|
|
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
loadBalancerSourceRanges: []
|
|
## @param metrics.service.clusterIP Static clusterIP or None for headless services
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
|
|
##
|
|
clusterIP: None
|
|
## @param metrics.service.annotations [object] Annotations for the Prometheus metrics service
|
|
##
|
|
annotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "9198"
|
|
prometheus.io/path: "/metrics"
|
|
## Pod disruption budget configuration
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
|
|
## @param podDisruptionBudget.create If true, create a pod disruption budget for pods.
|
|
## @param podDisruptionBudget.minAvailable Minimum number / percentage of pods that should remain scheduled
|
|
## @param podDisruptionBudget.maxUnavailable Maximum number / percentage of pods that may be made unavailable
|
|
##
|
|
podDisruptionBudget:
|
|
create: false
|
|
minAvailable: 1
|
|
maxUnavailable: ""
|
|
## @param initContainers Extra containers to run before logstash for initialization purposes like custom plugin install.
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
|
##
|
|
initContainers: []
|