github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/prometheus-community/prometheus-node-exporter/values.yaml (about)

     1  # Default values for prometheus-node-exporter.
     2  # This is a YAML-formatted file.
     3  # Declare variables to be passed into your templates.
     4  image:
     5    registry: quay.io
     6    repository: prometheus/node-exporter
     7    # Overrides the image tag whose default is {{ printf "v%s" .Chart.AppVersion }}
     8    tag: ""
     9    pullPolicy: IfNotPresent
    10    digest: ""
    11  
    12  imagePullSecrets: []
    13  # - name: "image-pull-secret"
    14  nameOverride: ""
    15  fullnameOverride: ""
    16  
    17  # Number of old history to retain to allow rollback
    18  # Default Kubernetes value is set to 10
    19  revisionHistoryLimit: 10
    20  
    21  global:
    22    # To help compatibility with other charts which use global.imagePullSecrets.
    23    # Allow either an array of {name: pullSecret} maps (k8s-style), or an array of strings (more common helm-style).
    24    # global:
    25    #   imagePullSecrets:
    26    #   - name: pullSecret1
    27    #   - name: pullSecret2
    28    # or
    29    # global:
    30    #   imagePullSecrets:
    31    #   - pullSecret1
    32    #   - pullSecret2
    33    imagePullSecrets: []
    34    #
    35    # Allow parent charts to override registry hostname
    36    imageRegistry: ""
    37  
    38  # Configure kube-rbac-proxy. When enabled, creates a kube-rbac-proxy to protect the node-exporter http endpoint.
    39  # The requests are served through the same service but requests are HTTPS.
    40  kubeRBACProxy:
    41    enabled: false
    42    image:
    43      registry: quay.io
    44      repository: brancz/kube-rbac-proxy
    45      tag: v0.14.0
    46      sha: ""
    47      pullPolicy: IfNotPresent
    48  
    49    # List of additional cli arguments to configure kube-rbac-prxy
    50    # for example: --tls-cipher-suites, --log-file, etc.
    51    # all the possible args can be found here: https://github.com/brancz/kube-rbac-proxy#usage
    52    extraArgs: []
    53  
    54    ## Specify security settings for a Container
    55    ## Allows overrides and additional options compared to (Pod) securityContext
    56    ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
    57    containerSecurityContext: {}
    58  
    59    resources: {}
    60      # We usually recommend not to specify default resources and to leave this as a conscious
    61      # choice for the user. This also increases chances charts run on environments with little
    62      # resources, such as Minikube. If you do want to specify resources, uncomment the following
    63      # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    64      # limits:
    65      #  cpu: 100m
    66      #  memory: 64Mi
    67    # requests:
    68    #  cpu: 10m
    69    #  memory: 32Mi
    70  
    71  service:
    72    enabled: true
    73    type: ClusterIP
    74    port: 9100
    75    targetPort: 9100
    76    nodePort:
    77    portName: metrics
    78    listenOnAllInterfaces: true
    79    annotations:
    80      prometheus.io/scrape: "true"
    81    ipDualStack:
    82      enabled: false
    83      ipFamilies: ["IPv6", "IPv4"]
    84      ipFamilyPolicy: "PreferDualStack"
    85  
    86  # Set a NetworkPolicy with:
    87  # ingress only on service.port
    88  # no egress permitted
    89  networkPolicy:
    90    enabled: false
    91  
    92  # Additional environment variables that will be passed to the daemonset
    93  env: {}
    94  ##  env:
    95  ##    VARIABLE: value
    96  
    97  prometheus:
    98    monitor:
    99      enabled: false
   100      additionalLabels: {}
   101      namespace: ""
   102  
   103      jobLabel: ""
   104  
   105      # List of pod labels to add to node exporter metrics
   106      # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#servicemonitor
   107      podTargetLabels: []
   108  
   109      scheme: http
   110      basicAuth: {}
   111      bearerTokenFile:
   112      tlsConfig: {}
   113  
   114      ## proxyUrl: URL of a proxy that should be used for scraping.
   115      ##
   116      proxyUrl: ""
   117  
   118      ## Override serviceMonitor selector
   119      ##
   120      selectorOverride: {}
   121  
   122      ## Attach node metadata to discovered targets. Requires Prometheus v2.35.0 and above.
   123      ##
   124      attachMetadata:
   125        node: false
   126  
   127      relabelings: []
   128      metricRelabelings: []
   129      interval: ""
   130      scrapeTimeout: 10s
   131      ## prometheus.monitor.apiVersion ApiVersion for the serviceMonitor Resource(defaults to "monitoring.coreos.com/v1")
   132      apiVersion: ""
   133  
   134      ## SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
   135      ##
   136      sampleLimit: 0
   137  
   138      ## TargetLimit defines a limit on the number of scraped targets that will be accepted.
   139      ##
   140      targetLimit: 0
   141  
   142      ## Per-scrape limit on number of labels that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
   143      ##
   144      labelLimit: 0
   145  
   146      ## Per-scrape limit on length of labels name that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
   147      ##
   148      labelNameLengthLimit: 0
   149  
   150      ## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
   151      ##
   152      labelValueLengthLimit: 0
   153  
   154    # PodMonitor defines monitoring for a set of pods.
   155    # ref. https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.PodMonitor
   156    # Using a PodMonitor may be preferred in some environments where there is very large number
   157    # of Node Exporter endpoints (1000+) behind a single service.
   158    # The PodMonitor is disabled by default. When switching from ServiceMonitor to PodMonitor,
   159    # the time series resulting from the configuration through PodMonitor may have different labels.
   160    # For instance, there will not be the service label any longer which might
   161    # affect PromQL queries selecting that label.
   162    podMonitor:
   163      enabled: false
   164      # Namespace in which to deploy the pod monitor. Defaults to the release namespace.
   165      namespace: ""
   166      # Additional labels, e.g. setting a label for pod monitor selector as set in prometheus
   167      additionalLabels: {}
   168      #  release: kube-prometheus-stack
   169      # PodTargetLabels transfers labels of the Kubernetes Pod onto the target.
   170      podTargetLabels: []
   171      # apiVersion defaults to monitoring.coreos.com/v1.
   172      apiVersion: ""
   173      # Override pod selector to select pod objects.
   174      selectorOverride: {}
   175      # Attach node metadata to discovered targets. Requires Prometheus v2.35.0 and above.
   176      attachMetadata:
   177        node: false
   178      # The label to use to retrieve the job name from. Defaults to label app.kubernetes.io/name.
   179      jobLabel: ""
   180  
   181      # Scheme/protocol to use for scraping.
   182      scheme: "http"
   183      # Path to scrape metrics at.
   184      path: "/metrics"
   185  
   186      # BasicAuth allow an endpoint to authenticate over basic authentication.
   187      # More info: https://prometheus.io/docs/operating/configuration/#endpoint
   188      basicAuth: {}
   189      # Secret to mount to read bearer token for scraping targets.
   190      # The secret needs to be in the same namespace as the pod monitor and accessible by the Prometheus Operator.
   191      # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core
   192      bearerTokenSecret: {}
   193      # TLS configuration to use when scraping the endpoint.
   194      tlsConfig: {}
   195      # Authorization section for this endpoint.
   196      # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.SafeAuthorization
   197      authorization: {}
   198      # OAuth2 for the URL. Only valid in Prometheus versions 2.27.0 and newer.
   199      # https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.OAuth2
   200      oauth2: {}
   201  
   202      # ProxyURL eg http://proxyserver:2195. Directs scrapes through proxy to this endpoint.
   203      proxyUrl: ""
   204      # Interval at which endpoints should be scraped. If not specified Prometheus’ global scrape interval is used.
   205      interval: ""
   206      # Timeout after which the scrape is ended. If not specified, the Prometheus global scrape interval is used.
   207      scrapeTimeout: ""
   208      # HonorTimestamps controls whether Prometheus respects the timestamps present in scraped data.
   209      honorTimestamps: true
   210      # HonorLabels chooses the metric’s labels on collisions with target labels.
   211      honorLabels: true
   212      # Whether to enable HTTP2. Default false.
   213      enableHttp2: ""
   214      # Drop pods that are not running. (Failed, Succeeded).
   215      # Enabled by default. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase
   216      filterRunning: ""
   217      # FollowRedirects configures whether scrape requests follow HTTP 3xx redirects. Default false.
   218      followRedirects: ""
   219      # Optional HTTP URL parameters
   220      params: {}
   221  
   222      # RelabelConfigs to apply to samples before scraping. Prometheus Operator automatically adds
   223      # relabelings for a few standard Kubernetes fields. The original scrape job’s name
   224      # is available via the __tmp_prometheus_job_name label.
   225      # More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
   226      relabelings: []
   227      # MetricRelabelConfigs to apply to samples before ingestion.
   228      metricRelabelings: []
   229  
   230      # SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
   231      sampleLimit: 0
   232      # TargetLimit defines a limit on the number of scraped targets that will be accepted.
   233      targetLimit: 0
   234      # Per-scrape limit on number of labels that will be accepted for a sample.
   235      # Only valid in Prometheus versions 2.27.0 and newer.
   236      labelLimit: 0
   237      # Per-scrape limit on length of labels name that will be accepted for a sample.
   238      # Only valid in Prometheus versions 2.27.0 and newer.
   239      labelNameLengthLimit: 0
   240      # Per-scrape limit on length of labels value that will be accepted for a sample.
   241      # Only valid in Prometheus versions 2.27.0 and newer.
   242      labelValueLengthLimit: 0
   243  
   244  ## Customize the updateStrategy if set
   245  updateStrategy:
   246    type: RollingUpdate
   247    rollingUpdate:
   248      maxUnavailable: 1
   249  
   250  resources: {}
   251    # We usually recommend not to specify default resources and to leave this as a conscious
   252    # choice for the user. This also increases chances charts run on environments with little
   253    # resources, such as Minikube. If you do want to specify resources, uncomment the following
   254    # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
   255    # limits:
   256    #   cpu: 200m
   257    #   memory: 50Mi
   258    # requests:
   259    #   cpu: 100m
   260    #   memory: 30Mi
   261  
   262  serviceAccount:
   263    # Specifies whether a ServiceAccount should be created
   264    create: true
   265    # The name of the ServiceAccount to use.
   266    # If not set and create is true, a name is generated using the fullname template
   267    name:
   268    annotations: {}
   269    imagePullSecrets: []
   270    automountServiceAccountToken: false
   271  
   272  securityContext:
   273    fsGroup: 65534
   274    runAsGroup: 65534
   275    runAsNonRoot: true
   276    runAsUser: 65534
   277  
   278  containerSecurityContext:
   279    readOnlyRootFilesystem: true
   280    # capabilities:
   281    #   add:
   282    #   - SYS_TIME
   283  
   284  rbac:
   285    ## If true, create & use RBAC resources
   286    ##
   287    create: true
   288    ## If true, create & use Pod Security Policy resources
   289    ## https://kubernetes.io/docs/concepts/policy/pod-security-policy/
   290    pspEnabled: true
   291    pspAnnotations: {}
   292  
   293  # for deployments that have node_exporter deployed outside of the cluster, list
   294  # their addresses here
   295  endpoints: []
   296  
   297  # Expose the service to the host network
   298  hostNetwork: true
   299  
   300  # Share the host process ID namespace
   301  hostPID: true
   302  
   303  # Mount the node's root file system (/) at /host/root in the container
   304  hostRootFsMount:
   305    enabled: true
   306    # Defines how new mounts in existing mounts on the node or in the container
   307    # are propagated to the container or node, respectively. Possible values are
   308    # None, HostToContainer, and Bidirectional. If this field is omitted, then
   309    # None is used. More information on:
   310    # https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation
   311    mountPropagation: HostToContainer
   312  
   313  ## Assign a group of affinity scheduling rules
   314  ##
   315  affinity: {}
   316  #   nodeAffinity:
   317  #     requiredDuringSchedulingIgnoredDuringExecution:
   318  #       nodeSelectorTerms:
   319  #         - matchFields:
   320  #             - key: metadata.name
   321  #               operator: In
   322  #               values:
   323  #                 - target-host-name
   324  
   325  # Annotations to be added to node exporter pods
   326  podAnnotations:
   327    # Fix for very slow GKE cluster upgrades
   328    cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
   329  
   330  # Extra labels to be added to node exporter pods
   331  podLabels: {}
   332  
   333  # Annotations to be added to node exporter daemonset
   334  daemonsetAnnotations: {}
   335  
   336  ## set to true to add the release label so scraping of the servicemonitor with kube-prometheus-stack works out of the box
   337  releaseLabel: false
   338  
   339  # Custom DNS configuration to be added to prometheus-node-exporter pods
   340  dnsConfig: {}
   341  # nameservers:
   342  #   - 1.2.3.4
   343  # searches:
   344  #   - ns1.svc.cluster-domain.example
   345  #   - my.dns.search.suffix
   346  # options:
   347  #   - name: ndots
   348  #     value: "2"
   349  #   - name: edns0
   350  
   351  ## Assign a nodeSelector if operating a hybrid cluster
   352  ##
   353  nodeSelector:
   354    kubernetes.io/os: linux
   355    #  kubernetes.io/arch: amd64
   356  
   357  tolerations:
   358    - effect: NoSchedule
   359      operator: Exists
   360  
   361  ## Assign a PriorityClassName to pods if set
   362  # priorityClassName: ""
   363  
   364  ## Additional container arguments
   365  ##
   366  extraArgs: []
   367  #   - --collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v)d[a-z]|nvme\\d+n\\d+p)\\d+$
   368  #   - --collector.textfile.directory=/run/prometheus
   369  
   370  ## Additional mounts from the host to node-exporter container
   371  ##
   372  extraHostVolumeMounts: []
   373  #  - name: <mountName>
   374  #    hostPath: <hostPath>
   375  #    mountPath: <mountPath>
   376  #    readOnly: true|false
   377  #    mountPropagation: None|HostToContainer|Bidirectional
   378  
   379  ## Additional configmaps to be mounted.
   380  ##
   381  configmaps: []
   382  # - name: <configMapName>
   383  #   mountPath: <mountPath>
   384  secrets: []
   385  # - name: <secretName>
   386  #   mountPath: <mountPatch>
   387  ## Override the deployment namespace
   388  ##
   389  namespaceOverride: ""
   390  
   391  ## Additional containers for export metrics to text file
   392  ##
   393  sidecars: []
   394  ##  - name: nvidia-dcgm-exporter
   395  ##    image: nvidia/dcgm-exporter:1.4.3
   396  
   397  ## Volume for sidecar containers
   398  ##
   399  sidecarVolumeMount: []
   400  ##  - name: collector-textfiles
   401  ##    mountPath: /run/prometheus
   402  ##    readOnly: false
   403  
   404  ## Additional mounts from the host to sidecar containers
   405  ##
   406  sidecarHostVolumeMounts: []
   407  #  - name: <mountName>
   408  #    hostPath: <hostPath>
   409  #    mountPath: <mountPath>
   410  #    readOnly: true|false
   411  #    mountPropagation: None|HostToContainer|Bidirectional
   412  
   413  ## Additional InitContainers to initialize the pod
   414  ##
   415  extraInitContainers: []
   416  
   417  ## Liveness probe
   418  ##
   419  livenessProbe:
   420    failureThreshold: 3
   421    httpGet:
   422      httpHeaders: []
   423      scheme: http
   424    initialDelaySeconds: 0
   425    periodSeconds: 10
   426    successThreshold: 1
   427    timeoutSeconds: 1
   428  
   429  ## Readiness probe
   430  ##
   431  readinessProbe:
   432    failureThreshold: 3
   433    httpGet:
   434      httpHeaders: []
   435      scheme: http
   436    initialDelaySeconds: 0
   437    periodSeconds: 10
   438    successThreshold: 1
   439    timeoutSeconds: 1
   440  
   441  # Enable vertical pod autoscaler support for prometheus-node-exporter
   442  verticalPodAutoscaler:
   443    enabled: false
   444  
   445    # Recommender responsible for generating recommendation for the object.
   446    # List should be empty (then the default recommender will generate the recommendation)
   447    # or contain exactly one recommender.
   448    # recommenders:
   449    # - name: custom-recommender-performance
   450  
   451    # List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
   452    controlledResources: []
   453    # Specifies which resource values should be controlled: RequestsOnly or RequestsAndLimits.
   454    # controlledValues: RequestsAndLimits
   455  
   456    # Define the max allowed resources for the pod
   457    maxAllowed: {}
   458    # cpu: 200m
   459    # memory: 100Mi
   460    # Define the min allowed resources for the pod
   461    minAllowed: {}
   462    # cpu: 200m
   463    # memory: 100Mi
   464  
   465    # updatePolicy:
   466      # Specifies minimal number of replicas which need to be alive for VPA Updater to attempt pod eviction
   467      # minReplicas: 1
   468      # Specifies whether recommended updates are applied when a Pod is started and whether recommended updates
   469      # are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto".
   470      # updateMode: Auto
   471  
   472  # Extra manifests to deploy as an array
   473  extraManifests: []
   474    # - |
   475    #   apiVersion: v1
   476    #   kind: ConfigMap
   477    #   metadata:
   478    #     name: prometheus-extra
   479    #   data:
   480    #     extra-data: "value"