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

     1  # Default values for prometheus-pushgateway.
     2  # This is a YAML-formatted file.
     3  # Declare variables to be passed into your templates.
     4  
     5  # Provide a name in place of prometheus-pushgateway for `app:` labels
     6  nameOverride: ""
     7  
     8  # Provide a name to substitute for the full names of resources
     9  fullnameOverride: ""
    10  
    11  # Provide a namespace to substitude for the namespace on resources
    12  namespaceOverride: ""
    13  
    14  image:
    15    repository: quay.io/prometheus/pushgateway
    16    # if not set appVersion field from Chart.yaml is used
    17    tag: ""
    18    pullPolicy: IfNotPresent
    19  
    20  # Optional pod imagePullSecrets
    21  imagePullSecrets: []
    22  
    23  service:
    24    type: ClusterIP
    25    port: 9091
    26    targetPort: 9091
    27    # nodePort: 32100
    28  
    29    # Optional - Can be used for headless if value is "None"
    30    clusterIP: ""
    31  
    32    loadBalancerIP: ""
    33    loadBalancerSourceRanges: []
    34  
    35  # Optional pod annotations
    36  podAnnotations: {}
    37  
    38  # Optional pod labels
    39  podLabels: {}
    40  
    41  # Optional service annotations
    42  serviceAnnotations: {}
    43  
    44  # Optional service labels
    45  serviceLabels: {}
    46  
    47  # Optional serviceAccount labels
    48  serviceAccountLabels: {}
    49  
    50  # Optional persistentVolume labels
    51  persistentVolumeLabels: {}
    52  
    53  # Optional additional environment variables
    54  extraVars: []
    55  
    56  ## Additional pushgateway container arguments
    57  ##
    58  ## example:
    59  ## extraArgs:
    60  ##  - --persistence.file=/data/pushgateway.data
    61  ##  - --persistence.interval=5m
    62  extraArgs: []
    63  
    64  ## Additional InitContainers to initialize the pod
    65  ##
    66  extraInitContainers: []
    67  
    68  # Optional additional containers (sidecar)
    69  extraContainers: []
    70    # - name: oAuth2-proxy
    71    #   args:
    72    #     - -https-address=:9092
    73    #     - -upstream=http://localhost:9091
    74    #     - -skip-auth-regex=^/metrics
    75    #     - -openshift-delegate-urls={"/":{"group":"monitoring.coreos.com","resource":"prometheuses","verb":"get"}}
    76    #   image: openshift/oauth-proxy:v1.1.0
    77    #   ports:
    78    #       - containerPort: 9092
    79    #         name: proxy
    80    #   resources:
    81    #       limits:
    82    #         memory: 16Mi
    83    #       requests:
    84    #         memory: 4Mi
    85    #         cpu: 20m
    86    #   volumeMounts:
    87    #     - mountPath: /etc/prometheus/secrets/pushgateway-tls
    88    #       name: secret-pushgateway-tls
    89  
    90  resources: {}
    91    # We usually recommend not to specify default resources and to leave this as a conscious
    92    # choice for the user. This also increases chances charts run on environments with little
    93    # resources, such as Minikube. If you do want to specify resources, uncomment the following
    94    # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    95    # limits:
    96    #   cpu: 200m
    97    #   memory: 50Mi
    98    # requests:
    99    #   cpu: 100m
   100    #   memory: 30Mi
   101  
   102  liveness:
   103    enabled: true
   104    probe:
   105      httpGet:
   106        path: /-/healthy
   107        port: 9091
   108      initialDelaySeconds: 10
   109      timeoutSeconds: 10
   110  
   111  readiness:
   112    enabled: true
   113    probe:
   114      httpGet:
   115        path: /-/ready
   116        port: 9091
   117      initialDelaySeconds: 10
   118      timeoutSeconds: 10
   119  
   120  serviceAccount:
   121    # Specifies whether a ServiceAccount should be created
   122    create: true
   123    # The name of the ServiceAccount to use.
   124    # If not set and create is true, a name is generated using the fullname template
   125    name:
   126  
   127  ## Configure ingress resource that allow you to access the
   128  ## pushgateway installation. Set up the URL
   129  ## ref: http://kubernetes.io/docs/user-guide/ingress/
   130  ##
   131  ingress:
   132    ## Enable Ingress.
   133    ##
   134    enabled: false
   135    # AWS ALB requires path of /*
   136    className: ""
   137    path: /
   138    pathType: ImplementationSpecific
   139  
   140    ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
   141    extraPaths: []
   142    # - path: /*
   143    #   backend:
   144    #     serviceName: ssl-redirect
   145    #     servicePort: use-annotation
   146  
   147    ## Annotations.
   148    ##
   149    # annotations:
   150    #   kubernetes.io/ingress.class: nginx
   151    #   kubernetes.io/tls-acme: 'true'
   152  
   153    ## Hostnames.
   154    ## Must be provided if Ingress is enabled.
   155    ##
   156    # hosts:
   157    #   - pushgateway.domain.com
   158  
   159    ## TLS configuration.
   160    ## Secrets must be manually created in the namespace.
   161    ##
   162    # tls:
   163    #   - secretName: pushgateway-tls
   164    #     hosts:
   165    #       - pushgateway.domain.com
   166  
   167  tolerations: []
   168    # - effect: NoSchedule
   169    #   operator: Exists
   170  
   171  ## Node labels for pushgateway pod assignment
   172  ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
   173  ##
   174  nodeSelector: {}
   175  
   176  replicaCount: 1
   177  
   178  ## When running more than one replica alongside with persistence, different volumes are needed
   179  ## per replica, since sharing a `persistence.file` across replicas does not keep metrics synced.
   180  ## For this purpose, you can enable the `runAsStatefulSet` to deploy the pushgateway as a
   181  ## StatefulSet instead of as a Deployment.
   182  runAsStatefulSet: false
   183  
   184  ## Security context to be added to push-gateway pods
   185  ##
   186  securityContext:
   187    fsGroup: 65534
   188    runAsUser: 65534
   189    runAsNonRoot: true
   190  
   191  ## Security context to be added to push-gateway containers
   192  ## Having a separate variable as securityContext differs for pods and containers.
   193  containerSecurityContext: {}
   194  #  allowPrivilegeEscalation: false
   195  #  readOnlyRootFilesystem: true
   196  #  runAsUser: 65534
   197  #  runAsNonRoot: true
   198  
   199  ## Affinity for pod assignment
   200  ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
   201  affinity: {}
   202  
   203  ## Topology spread constraints for pods
   204  ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
   205  topologySpreadConstraints: []
   206  
   207  # Enable this if you're using https://github.com/coreos/prometheus-operator
   208  serviceMonitor:
   209    enabled: false
   210    namespace: monitoring
   211  
   212    # telemetryPath: HTTP resource path from which to fetch metrics.
   213    # Telemetry path, default /metrics, has to be prefixed accordingly if pushgateway sets a route prefix at start-up.
   214    #
   215    telemetryPath: "/metrics"
   216  
   217    # Fallback to the prometheus default unless specified
   218    # interval: 10s
   219  
   220    ## scheme: HTTP scheme to use for scraping. Can be used with `tlsConfig` for example if using istio mTLS.
   221    # scheme: ""
   222  
   223    ## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS.
   224    ## Of type: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
   225    # tlsConfig: {}
   226  
   227    # bearerTokenFile:
   228    # Fallback to the prometheus default unless specified
   229    # scrapeTimeout: 30s
   230  
   231    ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Service Monitors to work with
   232    ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec
   233    additionalLabels: {}
   234  
   235    # Retain the job and instance labels of the metrics pushed to the Pushgateway
   236    # [Scraping Pushgateway](https://github.com/prometheus/pushgateway#configure-the-pushgateway-as-a-target-to-scrape)
   237    honorLabels: true
   238  
   239    ## Metric relabel configs to apply to samples before ingestion.
   240    ## [Metric Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs)
   241    metricRelabelings: []
   242    # - action: keep
   243    #   regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
   244    #   sourceLabels: [__name__]
   245  
   246    ## Relabel configs to apply to samples before ingestion.
   247    ## [Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config)
   248    relabelings: []
   249    # - sourceLabels: [__meta_kubernetes_pod_node_name]
   250    #   separator: ;
   251    #   regex: ^(.*)$
   252    #   targetLabel: nodename
   253    #   replacement: $1
   254    #   action: replace
   255  
   256  # The values to set in the PodDisruptionBudget spec (minAvailable/maxUnavailable)
   257  # If not set then a PodDisruptionBudget will not be created
   258  podDisruptionBudget: {}
   259  
   260  priorityClassName:
   261  
   262  # Deployment Strategy type
   263  strategy:
   264    type: Recreate
   265  
   266  persistentVolume:
   267    ## If true, pushgateway will create/use a Persistent Volume Claim
   268    ## If false, use emptyDir
   269    ##
   270    enabled: false
   271  
   272    ## pushgateway data Persistent Volume access modes
   273    ## Must match those of existing PV or dynamic provisioner
   274    ## Ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
   275    ##
   276    accessModes:
   277      - ReadWriteOnce
   278  
   279    ## pushgateway data Persistent Volume Claim annotations
   280    ##
   281    annotations: {}
   282  
   283    ## pushgateway data Persistent Volume existing claim name
   284    ## Requires pushgateway.persistentVolume.enabled: true
   285    ## If defined, PVC must be created manually before volume will be bound
   286    existingClaim: ""
   287  
   288    ## pushgateway data Persistent Volume mount root path
   289    ##
   290    mountPath: /data
   291  
   292    ## pushgateway data Persistent Volume size
   293    ##
   294    size: 2Gi
   295  
   296    ## pushgateway data Persistent Volume Storage Class
   297    ## If defined, storageClassName: <storageClass>
   298    ## If set to "-", storageClassName: "", which disables dynamic provisioning
   299    ## If undefined (the default) or set to null, no storageClassName spec is
   300    ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
   301    ##   GKE, AWS & OpenStack)
   302    ##
   303    # storageClass: "-"
   304  
   305    ## Subdirectory of pushgateway data Persistent Volume to mount
   306    ## Useful if the volume's root directory is not empty
   307    ##
   308    subPath: ""
   309  
   310  extraVolumes: []
   311    # - name: extra
   312    #   emptyDir: {}
   313  extraVolumeMounts: []
   314    # - name: extra
   315    #   mountPath: /usr/share/extras
   316    #   readOnly: true
   317  
   318  # Configuration for clusters with restrictive network policies in place:
   319  # - allowAll allows access to the PushGateway from any namespace
   320  # - customSelector is a list of pod/namespaceSelectors to allow access from
   321  # These options are mutually exclusive and the latter will take precedence.
   322  networkPolicy: {}
   323    # allowAll: true
   324    # customSelectors:
   325    #   - namespaceSelector:
   326    #       matchLabels:
   327    #         type: admin
   328    #   - podSelector:
   329    #       matchLabels:
   330    #         app: myapp