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

     1  affinity: {}
     2  
     3  topologySpreadConstraints: []
     4  
     5  image:
     6    repository: k8s.gcr.io/prometheus-adapter/prometheus-adapter
     7    tag: v0.10.0
     8    pullPolicy: IfNotPresent
     9  
    10  logLevel: 4
    11  
    12  metricsRelistInterval: 1m
    13  
    14  listenPort: 6443
    15  
    16  # User to run adapter container as
    17  runAsUser: 10001
    18  
    19  nodeSelector: {}
    20  
    21  priorityClassName: ""
    22  
    23  ## Override the release namespace (for multi-namespace deployments in combined charts)
    24  namespaceOverride: ""
    25  
    26  ## Additional annotations to add to all resources
    27  customAnnotations: {}
    28    # role: custom-metrics
    29  
    30  ## Additional labels to add to all resources
    31  customLabels: {}
    32    # monitoring: prometheus-adapter
    33  
    34  # Url to access prometheus
    35  prometheus:
    36    # Value is templated
    37    url: http://prometheus.default.svc
    38    port: 9090
    39    path: ""
    40  
    41  replicas: 1
    42  
    43  # k8s 1.21 needs fsGroup to be set for non root deployments
    44  # ref: https://github.com/kubernetes/kubernetes/issues/70679
    45  podSecurityContext:
    46    fsGroup: 10001
    47  
    48  rbac:
    49    # Specifies whether RBAC resources should be created
    50    create: true
    51  
    52  psp:
    53    # Specifies whether PSP resources should be created
    54    create: false
    55  
    56  serviceAccount:
    57    # Specifies whether a service account should be created
    58    create: true
    59    # The name of the service account to use.
    60    # If not set and create is true, a name is generated using the fullname template
    61    name:
    62    # ServiceAccount annotations.
    63    # Use case: AWS EKS IAM roles for service accounts
    64    # ref: https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html
    65    annotations: {}
    66  
    67  # Custom DNS configuration to be added to prometheus-adapter pods
    68  dnsConfig: {}
    69    # nameservers:
    70    #   - 1.2.3.4
    71    # searches:
    72    #   - ns1.svc.cluster-domain.example
    73    #   - my.dns.search.suffix
    74    # options:
    75    #   - name: ndots
    76    #     value: "2"
    77    #   - name: edns0
    78  
    79  resources: {}
    80    # requests:
    81    #   cpu: 100m
    82    #   memory: 128Mi
    83    # limits:
    84    #   cpu: 100m
    85    #   memory: 128Mi
    86  
    87  rules:
    88    default: true
    89  
    90    custom: []
    91      # - seriesQuery: '{__name__=~"^some_metric_count$"}'
    92      #   resources:
    93      #     template: <<.Resource>>
    94      #   name:
    95      #     matches: ""
    96      #     as: "my_custom_metric"
    97      #   metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (<<.GroupBy>>)
    98  
    99    # Mounts a configMap with pre-generated rules for use. Overrides the
   100    # default, custom, external and resource entries
   101    existing:
   102  
   103    external: []
   104      # - seriesQuery: '{__name__=~"^some_metric_count$"}'
   105      #   resources:
   106      #     template: <<.Resource>>
   107      #   name:
   108      #     matches: ""
   109      #     as: "my_external_metric"
   110      #   metricsQuery: sum(<<.Series>>{<<.LabelMatchers>>}) by (<<.GroupBy>>)
   111  
   112    # resource:
   113    #   cpu:
   114    #     containerQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>, container!=""}[3m])) by (<<.GroupBy>>)
   115    #     nodeQuery: sum(rate(container_cpu_usage_seconds_total{<<.LabelMatchers>>, id='/'}[3m])) by (<<.GroupBy>>)
   116    #     resources:
   117    #       overrides:
   118    #         node:
   119    #           resource: node
   120    #         namespace:
   121    #           resource: namespace
   122    #         pod:
   123    #           resource: pod
   124    #     containerLabel: container
   125    #   memory:
   126    #     containerQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>, container!=""}) by (<<.GroupBy>>)
   127    #     nodeQuery: sum(container_memory_working_set_bytes{<<.LabelMatchers>>,id='/'}) by (<<.GroupBy>>)
   128    #     resources:
   129    #       overrides:
   130    #         node:
   131    #           resource: node
   132    #         namespace:
   133    #           resource: namespace
   134    #         pod:
   135    #           resource: pod
   136    #     containerLabel: container
   137    #   window: 3m
   138  
   139  service:
   140    annotations: {}
   141    port: 443
   142    type: ClusterIP
   143    # clusterIP: 1.2.3.4
   144  
   145  tls:
   146    enable: false
   147    ca: |-
   148      # Public CA file that signed the APIService
   149    key: |-
   150      # Private key of the APIService
   151    certificate: |-
   152      # Public key of the APIService
   153  
   154  # Any extra arguments
   155  extraArguments: []
   156    # - --tls-private-key-file=/etc/tls/tls.key
   157    # - --tls-cert-file=/etc/tls/tls.crt
   158  
   159  # Any extra volumes
   160  extraVolumes: []
   161    # - name: example-name
   162    #   hostPath:
   163    #     path: /path/on/host
   164    #     type: DirectoryOrCreate
   165    # - name: ssl-certs
   166    #   hostPath:
   167    #     path: /etc/ssl/certs/ca-bundle.crt
   168    #     type: File
   169  
   170  # Any extra volume mounts
   171  extraVolumeMounts: []
   172    #   - name: example-name
   173    #     mountPath: /path/in/container
   174    #   - name: ssl-certs
   175    #     mountPath: /etc/ssl/certs/ca-certificates.crt
   176    #     readOnly: true
   177  
   178  tolerations: []
   179  
   180  # Labels added to the pod
   181  podLabels: {}
   182  
   183  # Annotations added to the pod
   184  podAnnotations: {}
   185  
   186  hostNetwork:
   187    # Specifies if prometheus-adapter should be started in hostNetwork mode.
   188    #
   189    # You would require this enabled if you use alternate overlay networking for pods and
   190    # API server unable to communicate with metrics-server. As an example, this is required
   191    # if you use Weave network on EKS. See also dnsPolicy
   192    enabled: false
   193  
   194  # When hostNetwork is enabled, you probably want to set this to ClusterFirstWithHostNet
   195  # dnsPolicy: ClusterFirstWithHostNet
   196  
   197  # Deployment strategy type
   198  strategy:
   199    type: RollingUpdate
   200    rollingUpdate:
   201      maxUnavailable: 25%
   202      maxSurge: 25%
   203  
   204  podDisruptionBudget:
   205    # Specifies if PodDisruptionBudget should be enabled
   206    # When enabled, minAvailable or maxUnavailable should also be defined.
   207    enabled: false
   208    minAvailable:
   209    maxUnavailable: 1
   210  
   211  certManager:
   212    enabled: false
   213    caCertDuration: 43800h
   214    certDuration: 8760h