mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
chore/deploy: make interval property in PodMonitor configurable
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
This commit is contained in:
parent
013254404e
commit
74153e11b5
3 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
podMetricsEndpoints:
|
podMetricsEndpoints:
|
||||||
- honorLabels: true
|
- honorLabels: true
|
||||||
interval: 10s
|
interval: {{ .Values.prometheus.scrapeInterval }}
|
||||||
path: /metrics
|
path: /metrics
|
||||||
port: metrics
|
port: metrics
|
||||||
scheme: http
|
scheme: http
|
||||||
|
|
|
@ -537,4 +537,5 @@ tls:
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
enable: false
|
enable: false
|
||||||
|
scrapeInterval: 10s
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
|
@ -101,6 +101,7 @@ Chart parameters are available.
|
||||||
| `featureGates.NodeFeatureAPI`| bool | true | Enable the [NodeFeature](../usage/custom-resources.md#nodefeature) CRD API for communicating node features. This will automatically disable the gRPC communication. **NOTE**: this parameter is related to the deprecated gRPC API and will be removed with it in a future release |
|
| `featureGates.NodeFeatureAPI`| bool | true | Enable the [NodeFeature](../usage/custom-resources.md#nodefeature) CRD API for communicating node features. This will automatically disable the gRPC communication. **NOTE**: this parameter is related to the deprecated gRPC API and will be removed with it in a future release |
|
||||||
| `prometheus.enable` | bool | false | Specifies whether to expose metrics using prometheus operator |
|
| `prometheus.enable` | bool | false | Specifies whether to expose metrics using prometheus operator |
|
||||||
| `prometheus.labels` | dict | {} | Specifies labels for use with the prometheus operator to control how it is selected |
|
| `prometheus.labels` | dict | {} | Specifies labels for use with the prometheus operator to control how it is selected |
|
||||||
|
| `prometheus.scrapeInterval` | string | 10s | Specifies the interval by which metrics are scraped |
|
||||||
| `priorityClassName` | string | | The name of the PriorityClass to be used for the NFD pods. |
|
| `priorityClassName` | string | | The name of the PriorityClass to be used for the NFD pods. |
|
||||||
|
|
||||||
Metrics are configured to be exposed using prometheus operator API's by
|
Metrics are configured to be exposed using prometheus operator API's by
|
||||||
|
|
Loading…
Reference in a new issue