github.com/microsoft/fabrikate@v1.0.0-alpha.1.0.20210115014322-dc09194d0885/testdata/local-charts/prometheus/charts/kube-state-metrics/README.md (about)

     1  # kube-state-metrics Helm Chart
     2  
     3  * Installs the [kube-state-metrics agent](https://github.com/kubernetes/kube-state-metrics).
     4  
     5  ## Installing the Chart
     6  
     7  To install the chart with the release name `my-release`:
     8  
     9  ```bash
    10  $ helm install stable/kube-state-metrics
    11  ```
    12  
    13  ## Configuration
    14  
    15  | Parameter                                    | Description                                                                           | Default                                    |
    16  |:---------------------------------------------|:--------------------------------------------------------------------------------------|:-------------------------------------------|
    17  | `image.repository`                           | The image repository to pull from                                                     | `quay.io/coreos/kube-state-metrics`        |
    18  | `image.tag`                                  | The image tag to pull from                                                            | `v1.9.7`                                   |
    19  | `image.pullPolicy`                           | Image pull policy                                                                     | `IfNotPresent`                             |
    20  | `imagePullSecrets`                           | List of container registry secrets                                                    | `[]`                                       |
    21  | `replicas`                                   | Number of replicas                                                                    | `1`                                        |
    22  | `autosharding.enabled`                       | Set to `true` to automatically shard data across `replicas` pods. EXPERIMENTAL        | `false`                                    |
    23  | `service.port`                               | The port of the container                                                             | `8080`                                     |
    24  | `service.annotations`                        | Annotations to be added to the service                                                | `{}`                                       |
    25  | `customLabels`                               | Custom labels to apply to service, deployment and pods                                | `{}`                                       |
    26  | `hostNetwork`                                | Whether or not to use the host network                                                | `false`                                    |
    27  | `prometheusScrape`                           | Whether or not enable prom scrape                                                     | `true`                                     |
    28  | `rbac.create`                                | If true, create & use RBAC resources                                                  | `true`                                     |
    29  | `serviceAccount.create`                      | If true, create & use serviceAccount                                                  | `true`                                     |
    30  | `serviceAccount.name`                        | If not set & create is true, use template fullname                                    |                                            |
    31  | `serviceAccount.imagePullSecrets`            | Specify image pull secrets field                                                      | `[]`                                       |
    32  | `serviceAccount.annotations`                 | Annotations to be added to the serviceAccount                                         | `{}`                                       |
    33  | `podSecurityPolicy.enabled`                  | If true, create & use PodSecurityPolicy resources. Note that related RBACs are created only if `rbac.enabled` is `true`. | `false` |
    34  | `podSecurityPolicy.annotations`              | Specify pod annotations in the pod security policy                                    | `{}`                                       |
    35  | `podSecurityPolicy.additionalVolumes`        | Specify allowed volumes in the pod security policy (`secret` is always allowed)       | `[]`                                       |
    36  | `securityContext.enabled`                    | Enable security context                                                               | `true`                                     |
    37  | `securityContext.fsGroup`                    | Group ID for the filesystem                                                           | `65534`                                    |
    38  | `securityContext.runAsGroup`                 | Group ID for the container                                                            | `65534`                                    |
    39  | `securityContext.runAsUser`                  | User ID for the container                                                             | `65534`                                    |
    40  | `priorityClassName`                          | Name of Priority Class to assign pods                                                 | `nil`                                      |
    41  | `nodeSelector`                               | Node labels for pod assignment                                                        | `{}`                                       |
    42  | `affinity`                                   | Affinity settings for pod assignment                                                  | `{}`                                       |
    43  | `tolerations`                                | Tolerations for pod assignment                                                        | `[]`                                       |
    44  | `podAnnotations`                             | Annotations to be added to the pod                                                    | `{}`                                       |
    45  | `podDisruptionBudget`                        | Optional PodDisruptionBudget                                                          | `{}`                                       |
    46  | `resources`                                  | kube-state-metrics resource requests and limits                                       | `{}`                                       |
    47  | `collectors.certificatesigningrequests`      | Enable the certificatesigningrequests collector.                                      | `true`                                     |
    48  | `collectors.configmaps`                      | Enable the configmaps collector.                                                      | `true`                                     |
    49  | `collectors.cronjobs`                        | Enable the cronjobs collector.                                                        | `true`                                     |
    50  | `collectors.daemonsets`                      | Enable the daemonsets collector.                                                      | `true`                                     |
    51  | `collectors.deployments`                     | Enable the deployments collector.                                                     | `true`                                     |
    52  | `collectors.endpoints`                       | Enable the endpoints collector.                                                       | `true`                                     |
    53  | `collectors.horizontalpodautoscalers`        | Enable the horizontalpodautoscalers collector.                                        | `true`                                     |
    54  | `collectors.ingresses`                       | Enable the ingresses collector.                                                       | `true`                                     |
    55  | `collectors.jobs`                            | Enable the jobs collector.                                                            | `true`                                     |
    56  | `collectors.limitranges`                     | Enable the limitranges collector.                                                     | `true`                                     |
    57  | `collectors.mutatingwebhookconfigurations`   | Enable the mutatingwebhookconfigurations collector.                                   | `true`                                     |
    58  | `collectors.namespaces`                      | Enable the namespaces collector.                                                      | `true`                                     |
    59  | `collectors.networkpolicies`                 | Enable the networkpolicies collector.                                                 | `true`                                     |
    60  | `collectors.nodes`                           | Enable the nodes collector.                                                           | `true`                                     |
    61  | `collectors.persistentvolumeclaims`          | Enable the persistentvolumeclaims collector.                                          | `true`                                     |
    62  | `collectors.persistentvolumes`               | Enable the persistentvolumes collector.                                               | `true`                                     |
    63  | `collectors.poddisruptionbudgets`            | Enable the poddisruptionbudgets collector.                                            | `true`                                     |
    64  | `collectors.pods`                            | Enable the pods collector.                                                            | `true`                                     |
    65  | `collectors.replicasets`                     | Enable the replicasets collector.                                                     | `true`                                     |
    66  | `collectors.replicationcontrollers`          | Enable the replicationcontrollers collector.                                          | `true`                                     |
    67  | `collectors.resourcequotas`                  | Enable the resourcequotas collector.                                                  | `true`                                     |
    68  | `collectors.secrets`                         | Enable the secrets collector.                                                         | `true`                                     |
    69  | `collectors.services`                        | Enable the services collector.                                                        | `true`                                     |
    70  | `collectors.statefulsets`                    | Enable the statefulsets collector.                                                    | `true`                                     |
    71  | `collectors.storageclasses`                  | Enable the storageclasses collector.                                                  | `true`                                     |
    72  | `collectors.validatingwebhookconfigurations` | Enable the validatingwebhookconfigurations collector.                                 | `true`                                     |
    73  | `collectors.verticalpodautoscalers`          | Enable the verticalpodautoscalers collector.                                          | `true`                                     |
    74  | `collectors.volumeattachments`               | Enable the volumeattachments collector.                                               | `true`                                     |
    75  | `prometheus.monitor.enabled`                 | Set this to `true` to create ServiceMonitor for Prometheus operator                   | `false`                                    |
    76  | `prometheus.monitor.additionalLabels`        | Additional labels that can be used so ServiceMonitor will be discovered by Prometheus | `{}`                                       |
    77  | `prometheus.monitor.namespace`               | Namespace where servicemonitor resource should be created                             | `the same namespace as kube-state-metrics` |
    78  | `prometheus.monitor.honorLabels`             | Honor metric labels                                                                   | `false`                                    |
    79  | `namespaceOverride`                          | Override the deployment namespace                                                     | `""` (`Release.Namespace`)                 |
    80  | `kubeTargetVersionOverride`                  | Override the k8s version of the target cluster                                        | `""`                                       |