following contributer steps
* Update the pinned kube-prometheus dependency in jsonnetfile.lock.json: `jb update` * Generate dependent *.yaml files: make generate
This commit is contained in:
1
go.mod
1
go.mod
@@ -4,6 +4,7 @@ go 1.15
|
|||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Jeffail/gabs v1.4.0
|
github.com/Jeffail/gabs v1.4.0
|
||||||
|
github.com/jsonnet-bundler/jsonnet-bundler v0.4.0 // indirect
|
||||||
github.com/pkg/errors v0.9.1
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/prometheus/client_golang v1.8.0
|
github.com/prometheus/client_golang v1.8.0
|
||||||
k8s.io/apimachinery v0.19.3
|
k8s.io/apimachinery v0.19.3
|
||||||
|
|||||||
7
go.sum
7
go.sum
@@ -54,6 +54,7 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24
|
|||||||
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
|
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
|
||||||
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
|
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
|
||||||
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
|
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
|
||||||
|
github.com/campoy/embedmd v1.0.0/go.mod h1:oxyr9RCiSXg0M3VJ3ks0UGfp98BpSSGr0kpiX3MzVl8=
|
||||||
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
|
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
|
||||||
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
|
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
|
||||||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||||
@@ -208,6 +209,8 @@ github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/u
|
|||||||
github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
|
github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
|
||||||
github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68=
|
github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68=
|
||||||
github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
|
github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
|
||||||
|
github.com/jsonnet-bundler/jsonnet-bundler v0.4.0 h1:4BKZ6LDqPc2wJDmaKnmYD/vDjUptJtnUpai802MibFc=
|
||||||
|
github.com/jsonnet-bundler/jsonnet-bundler v0.4.0/go.mod h1:/by7P/OoohkI3q4CgSFqcoFsVY+IaNbzOVDknEsKDeU=
|
||||||
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
|
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
|
||||||
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
|
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
|
||||||
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
|
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
|
||||||
@@ -233,6 +236,8 @@ github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRU
|
|||||||
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
|
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
|
||||||
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
|
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
|
||||||
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
|
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
|
||||||
|
github.com/mattn/go-isatty v0.0.6 h1:SrwhHcpV4nWrMGdNcC2kXpMfcBVYGDuTArqyhocJgvA=
|
||||||
|
github.com/mattn/go-isatty v0.0.6/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
|
||||||
github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
||||||
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
||||||
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
|
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
|
||||||
@@ -443,6 +448,8 @@ golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5h
|
|||||||
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
|
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
|
golang.org/x/sys v0.0.0-20190310054646-10058d7d4faa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
|
|||||||
@@ -762,17 +762,21 @@ spec:
|
|||||||
record: node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile
|
record: node_quantile:kubelet_pleg_relist_duration_seconds:histogram_quantile
|
||||||
- name: kube-prometheus-node-recording.rules
|
- name: kube-prometheus-node-recording.rules
|
||||||
rules:
|
rules:
|
||||||
- expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[3m])) BY (instance)
|
- expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[3m]))
|
||||||
|
BY (instance)
|
||||||
record: instance:node_cpu:rate:sum
|
record: instance:node_cpu:rate:sum
|
||||||
- expr: sum(rate(node_network_receive_bytes_total[3m])) BY (instance)
|
- expr: sum(rate(node_network_receive_bytes_total[3m])) BY (instance)
|
||||||
record: instance:node_network_receive_bytes:rate:sum
|
record: instance:node_network_receive_bytes:rate:sum
|
||||||
- expr: sum(rate(node_network_transmit_bytes_total[3m])) BY (instance)
|
- expr: sum(rate(node_network_transmit_bytes_total[3m])) BY (instance)
|
||||||
record: instance:node_network_transmit_bytes:rate:sum
|
record: instance:node_network_transmit_bytes:rate:sum
|
||||||
- expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[5m])) WITHOUT (cpu, mode) / ON(instance) GROUP_LEFT() count(sum(node_cpu_seconds_total) BY (instance, cpu)) BY (instance)
|
- expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[5m]))
|
||||||
|
WITHOUT (cpu, mode) / ON(instance) GROUP_LEFT() count(sum(node_cpu_seconds_total)
|
||||||
|
BY (instance, cpu)) BY (instance)
|
||||||
record: instance:node_cpu:ratio
|
record: instance:node_cpu:ratio
|
||||||
- expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[5m]))
|
- expr: sum(rate(node_cpu_seconds_total{mode!="idle",mode!="iowait",mode!="steal"}[5m]))
|
||||||
record: cluster:node_cpu:sum_rate5m
|
record: cluster:node_cpu:sum_rate5m
|
||||||
- expr: cluster:node_cpu_seconds_total:rate5m / count(sum(node_cpu_seconds_total) BY (instance, cpu))
|
- expr: cluster:node_cpu_seconds_total:rate5m / count(sum(node_cpu_seconds_total)
|
||||||
|
BY (instance, cpu))
|
||||||
record: cluster:node_cpu:ratio
|
record: cluster:node_cpu:ratio
|
||||||
- name: kube-prometheus-general.rules
|
- name: kube-prometheus-general.rules
|
||||||
rules:
|
rules:
|
||||||
@@ -784,7 +788,9 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: KubeStateMetricsListErrors
|
- alert: KubeStateMetricsListErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: kube-state-metrics is experiencing errors at an elevated rate in list operations. This is likely causing it to not be able to expose metrics about Kubernetes objects correctly or at all.
|
description: kube-state-metrics is experiencing errors at an elevated rate
|
||||||
|
in list operations. This is likely causing it to not be able to expose metrics
|
||||||
|
about Kubernetes objects correctly or at all.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatemetricslisterrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatemetricslisterrors
|
||||||
summary: kube-state-metrics is experiencing errors in list operations.
|
summary: kube-state-metrics is experiencing errors in list operations.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -797,7 +803,9 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: KubeStateMetricsWatchErrors
|
- alert: KubeStateMetricsWatchErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: kube-state-metrics is experiencing errors at an elevated rate in watch operations. This is likely causing it to not be able to expose metrics about Kubernetes objects correctly or at all.
|
description: kube-state-metrics is experiencing errors at an elevated rate
|
||||||
|
in watch operations. This is likely causing it to not be able to expose
|
||||||
|
metrics about Kubernetes objects correctly or at all.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatemetricswatcherrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatemetricswatcherrors
|
||||||
summary: kube-state-metrics is experiencing errors in watch operations.
|
summary: kube-state-metrics is experiencing errors in watch operations.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -812,7 +820,9 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: NodeFilesystemSpaceFillingUp
|
- alert: NodeFilesystemSpaceFillingUp
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left and is filling up.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available space left and is filling
|
||||||
|
up.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemspacefillingup
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemspacefillingup
|
||||||
summary: Filesystem is predicted to run out of space within the next 24 hours.
|
summary: Filesystem is predicted to run out of space within the next 24 hours.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -828,7 +838,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeFilesystemSpaceFillingUp
|
- alert: NodeFilesystemSpaceFillingUp
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left and is filling up fast.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available space left and is filling
|
||||||
|
up fast.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemspacefillingup
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemspacefillingup
|
||||||
summary: Filesystem is predicted to run out of space within the next 4 hours.
|
summary: Filesystem is predicted to run out of space within the next 4 hours.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -844,7 +856,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: NodeFilesystemAlmostOutOfSpace
|
- alert: NodeFilesystemAlmostOutOfSpace
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available space left.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutofspace
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutofspace
|
||||||
summary: Filesystem has less than 5% space left.
|
summary: Filesystem has less than 5% space left.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -858,7 +871,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeFilesystemAlmostOutOfSpace
|
- alert: NodeFilesystemAlmostOutOfSpace
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available space left.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available space left.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutofspace
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutofspace
|
||||||
summary: Filesystem has less than 3% space left.
|
summary: Filesystem has less than 3% space left.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -872,7 +886,9 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: NodeFilesystemFilesFillingUp
|
- alert: NodeFilesystemFilesFillingUp
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left and is filling up.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available inodes left and is filling
|
||||||
|
up.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemfilesfillingup
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemfilesfillingup
|
||||||
summary: Filesystem is predicted to run out of inodes within the next 24 hours.
|
summary: Filesystem is predicted to run out of inodes within the next 24 hours.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -888,7 +904,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeFilesystemFilesFillingUp
|
- alert: NodeFilesystemFilesFillingUp
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left and is filling up fast.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available inodes left and is filling
|
||||||
|
up fast.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemfilesfillingup
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemfilesfillingup
|
||||||
summary: Filesystem is predicted to run out of inodes within the next 4 hours.
|
summary: Filesystem is predicted to run out of inodes within the next 4 hours.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -904,7 +922,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: NodeFilesystemAlmostOutOfFiles
|
- alert: NodeFilesystemAlmostOutOfFiles
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available inodes left.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutoffiles
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutoffiles
|
||||||
summary: Filesystem has less than 5% inodes left.
|
summary: Filesystem has less than 5% inodes left.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -918,7 +937,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeFilesystemAlmostOutOfFiles
|
- alert: NodeFilesystemAlmostOutOfFiles
|
||||||
annotations:
|
annotations:
|
||||||
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }} has only {{ printf "%.2f" $value }}% available inodes left.
|
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
|
||||||
|
has only {{ printf "%.2f" $value }}% available inodes left.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutoffiles
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodefilesystemalmostoutoffiles
|
||||||
summary: Filesystem has less than 3% inodes left.
|
summary: Filesystem has less than 3% inodes left.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -932,7 +952,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: NodeNetworkReceiveErrs
|
- alert: NodeNetworkReceiveErrs
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} receive errors in the last two minutes.'
|
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered
|
||||||
|
{{ printf "%.0f" $value }} receive errors in the last two minutes.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodenetworkreceiveerrs
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodenetworkreceiveerrs
|
||||||
summary: Network interface is reporting many receive errors.
|
summary: Network interface is reporting many receive errors.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -942,7 +963,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeNetworkTransmitErrs
|
- alert: NodeNetworkTransmitErrs
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last two minutes.'
|
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered
|
||||||
|
{{ printf "%.0f" $value }} transmit errors in the last two minutes.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodenetworktransmiterrs
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodenetworktransmiterrs
|
||||||
summary: Network interface is reporting many transmit errors.
|
summary: Network interface is reporting many transmit errors.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -970,7 +992,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeClockSkewDetected
|
- alert: NodeClockSkewDetected
|
||||||
annotations:
|
annotations:
|
||||||
message: Clock on {{ $labels.instance }} is out of sync by more than 300s. Ensure NTP is configured correctly on this host.
|
message: Clock on {{ $labels.instance }} is out of sync by more than 300s.
|
||||||
|
Ensure NTP is configured correctly on this host.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodeclockskewdetected
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodeclockskewdetected
|
||||||
summary: Clock skew detected.
|
summary: Clock skew detected.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -990,7 +1013,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeClockNotSynchronising
|
- alert: NodeClockNotSynchronising
|
||||||
annotations:
|
annotations:
|
||||||
message: Clock on {{ $labels.instance }} is not synchronising. Ensure NTP is configured on this host.
|
message: Clock on {{ $labels.instance }} is not synchronising. Ensure NTP
|
||||||
|
is configured on this host.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodeclocknotsynchronising
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/nodeclocknotsynchronising
|
||||||
summary: Clock not synchronising.
|
summary: Clock not synchronising.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1002,7 +1026,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: NodeRAIDDegraded
|
- alert: NodeRAIDDegraded
|
||||||
annotations:
|
annotations:
|
||||||
description: RAID array '{{ $labels.device }}' on {{ $labels.instance }} is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically.
|
description: RAID array '{{ $labels.device }}' on {{ $labels.instance }} is
|
||||||
|
in degraded state due to one or more disks failures. Number of spare drives
|
||||||
|
is insufficient to fix issue automatically.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/noderaiddegraded
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/noderaiddegraded
|
||||||
summary: RAID Array is degraded
|
summary: RAID Array is degraded
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1012,7 +1038,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: NodeRAIDDiskFailure
|
- alert: NodeRAIDDiskFailure
|
||||||
annotations:
|
annotations:
|
||||||
description: At least one device in RAID array on {{ $labels.instance }} failed. Array '{{ $labels.device }}' needs attention and possibly a disk swap.
|
description: At least one device in RAID array on {{ $labels.instance }} failed.
|
||||||
|
Array '{{ $labels.device }}' needs attention and possibly a disk swap.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/noderaiddiskfailure
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/noderaiddiskfailure
|
||||||
summary: Failed device in RAID array
|
summary: Failed device in RAID array
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1023,7 +1050,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: PrometheusOperatorListErrors
|
- alert: PrometheusOperatorListErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: Errors while performing List operations in controller {{$labels.controller}} in {{$labels.namespace}} namespace.
|
description: Errors while performing List operations in controller {{$labels.controller}}
|
||||||
|
in {{$labels.namespace}} namespace.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorlisterrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorlisterrors
|
||||||
summary: Errors while performing list operations in controller.
|
summary: Errors while performing list operations in controller.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1033,7 +1061,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusOperatorWatchErrors
|
- alert: PrometheusOperatorWatchErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: Errors while performing watch operations in controller {{$labels.controller}} in {{$labels.namespace}} namespace.
|
description: Errors while performing watch operations in controller {{$labels.controller}}
|
||||||
|
in {{$labels.namespace}} namespace.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorwatcherrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorwatcherrors
|
||||||
summary: Errors while performing watch operations in controller.
|
summary: Errors while performing watch operations in controller.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1043,7 +1072,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusOperatorSyncFailed
|
- alert: PrometheusOperatorSyncFailed
|
||||||
annotations:
|
annotations:
|
||||||
description: Controller {{ $labels.controller }} in {{ $labels.namespace }} namespace fails to reconcile {{ $value }} objects.
|
description: Controller {{ $labels.controller }} in {{ $labels.namespace }}
|
||||||
|
namespace fails to reconcile {{ $value }} objects.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorsyncfailed
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorsyncfailed
|
||||||
summary: Last controller reconciliation failed
|
summary: Last controller reconciliation failed
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1053,7 +1083,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusOperatorReconcileErrors
|
- alert: PrometheusOperatorReconcileErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ $value | humanizePercentage }} of reconciling operations failed for {{ $labels.controller }} controller in {{ $labels.namespace }} namespace.'
|
description: '{{ $value | humanizePercentage }} of reconciling operations
|
||||||
|
failed for {{ $labels.controller }} controller in {{ $labels.namespace }}
|
||||||
|
namespace.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorreconcileerrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorreconcileerrors
|
||||||
summary: Errors while reconciling controller.
|
summary: Errors while reconciling controller.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1063,7 +1095,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusOperatorNodeLookupErrors
|
- alert: PrometheusOperatorNodeLookupErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: Errors while reconciling Prometheus in {{ $labels.namespace }} Namespace.
|
description: Errors while reconciling Prometheus in {{ $labels.namespace }}
|
||||||
|
Namespace.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatornodelookuperrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatornodelookuperrors
|
||||||
summary: Errors while reconciling Prometheus.
|
summary: Errors while reconciling Prometheus.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1073,7 +1106,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusOperatorNotReady
|
- alert: PrometheusOperatorNotReady
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus operator in {{ $labels.namespace }} namespace isn't ready to reconcile {{ $labels.controller }} resources.
|
description: Prometheus operator in {{ $labels.namespace }} namespace isn't
|
||||||
|
ready to reconcile {{ $labels.controller }} resources.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatornotready
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatornotready
|
||||||
summary: Prometheus operator not ready
|
summary: Prometheus operator not ready
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1083,7 +1117,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusOperatorRejectedResources
|
- alert: PrometheusOperatorRejectedResources
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus operator in {{ $labels.namespace }} namespace rejected {{ printf "%0.0f" $value }} {{ $labels.controller }}/{{ $labels.resource }} resources.
|
description: Prometheus operator in {{ $labels.namespace }} namespace rejected
|
||||||
|
{{ printf "%0.0f" $value }} {{ $labels.controller }}/{{ $labels.resource
|
||||||
|
}} resources.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorrejectedresources
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/prometheusoperatorrejectedresources
|
||||||
summary: Resources rejected by Prometheus operator
|
summary: Resources rejected by Prometheus operator
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1095,7 +1131,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: KubePodCrashLooping
|
- alert: KubePodCrashLooping
|
||||||
annotations:
|
annotations:
|
||||||
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) is restarting {{ printf "%.2f" $value }} times / 5 minutes.
|
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container
|
||||||
|
}}) is restarting {{ printf "%.2f" $value }} times / 5 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepodcrashlooping
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepodcrashlooping
|
||||||
summary: Pod is crash looping.
|
summary: Pod is crash looping.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1105,7 +1142,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubePodNotReady
|
- alert: KubePodNotReady
|
||||||
annotations:
|
annotations:
|
||||||
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} has been in a non-ready state for longer than 15 minutes.
|
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} has been in a non-ready
|
||||||
|
state for longer than 15 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepodnotready
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepodnotready
|
||||||
summary: Pod has been in a non-ready state for more than 15 minutes.
|
summary: Pod has been in a non-ready state for more than 15 minutes.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1121,7 +1159,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeDeploymentGenerationMismatch
|
- alert: KubeDeploymentGenerationMismatch
|
||||||
annotations:
|
annotations:
|
||||||
description: Deployment generation for {{ $labels.namespace }}/{{ $labels.deployment }} does not match, this indicates that the Deployment has failed but has not been rolled back.
|
description: Deployment generation for {{ $labels.namespace }}/{{ $labels.deployment
|
||||||
|
}} does not match, this indicates that the Deployment has failed but has
|
||||||
|
not been rolled back.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedeploymentgenerationmismatch
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedeploymentgenerationmismatch
|
||||||
summary: Deployment generation mismatch due to possible roll-back
|
summary: Deployment generation mismatch due to possible roll-back
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1133,7 +1173,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeDeploymentReplicasMismatch
|
- alert: KubeDeploymentReplicasMismatch
|
||||||
annotations:
|
annotations:
|
||||||
description: Deployment {{ $labels.namespace }}/{{ $labels.deployment }} has not matched the expected number of replicas for longer than 15 minutes.
|
description: Deployment {{ $labels.namespace }}/{{ $labels.deployment }} has
|
||||||
|
not matched the expected number of replicas for longer than 15 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedeploymentreplicasmismatch
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedeploymentreplicasmismatch
|
||||||
summary: Deployment has not matched the expected number of replicas.
|
summary: Deployment has not matched the expected number of replicas.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1151,7 +1192,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeStatefulSetReplicasMismatch
|
- alert: KubeStatefulSetReplicasMismatch
|
||||||
annotations:
|
annotations:
|
||||||
description: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} has not matched the expected number of replicas for longer than 15 minutes.
|
description: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }}
|
||||||
|
has not matched the expected number of replicas for longer than 15 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatefulsetreplicasmismatch
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatefulsetreplicasmismatch
|
||||||
summary: Deployment has not matched the expected number of replicas.
|
summary: Deployment has not matched the expected number of replicas.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1169,7 +1211,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeStatefulSetGenerationMismatch
|
- alert: KubeStatefulSetGenerationMismatch
|
||||||
annotations:
|
annotations:
|
||||||
description: StatefulSet generation for {{ $labels.namespace }}/{{ $labels.statefulset }} does not match, this indicates that the StatefulSet has failed but has not been rolled back.
|
description: StatefulSet generation for {{ $labels.namespace }}/{{ $labels.statefulset
|
||||||
|
}} does not match, this indicates that the StatefulSet has failed but has
|
||||||
|
not been rolled back.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatefulsetgenerationmismatch
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatefulsetgenerationmismatch
|
||||||
summary: StatefulSet generation mismatch due to possible roll-back
|
summary: StatefulSet generation mismatch due to possible roll-back
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1181,7 +1225,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeStatefulSetUpdateNotRolledOut
|
- alert: KubeStatefulSetUpdateNotRolledOut
|
||||||
annotations:
|
annotations:
|
||||||
description: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} update has not been rolled out.
|
description: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }}
|
||||||
|
update has not been rolled out.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatefulsetupdatenotrolledout
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubestatefulsetupdatenotrolledout
|
||||||
summary: StatefulSet update has not been rolled out.
|
summary: StatefulSet update has not been rolled out.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1207,7 +1252,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeDaemonSetRolloutStuck
|
- alert: KubeDaemonSetRolloutStuck
|
||||||
annotations:
|
annotations:
|
||||||
description: DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} has not finished or progressed for at least 15 minutes.
|
description: DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} has
|
||||||
|
not finished or progressed for at least 15 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedaemonsetrolloutstuck
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedaemonsetrolloutstuck
|
||||||
summary: DaemonSet rollout is stuck.
|
summary: DaemonSet rollout is stuck.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1239,7 +1285,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeContainerWaiting
|
- alert: KubeContainerWaiting
|
||||||
annotations:
|
annotations:
|
||||||
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} container {{ $labels.container}} has been in waiting state for longer than 1 hour.
|
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} container {{ $labels.container}}
|
||||||
|
has been in waiting state for longer than 1 hour.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubecontainerwaiting
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubecontainerwaiting
|
||||||
summary: Pod container waiting longer than 1 hour
|
summary: Pod container waiting longer than 1 hour
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1249,7 +1296,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeDaemonSetNotScheduled
|
- alert: KubeDaemonSetNotScheduled
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ $value }} Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} are not scheduled.'
|
description: '{{ $value }} Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset
|
||||||
|
}} are not scheduled.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedaemonsetnotscheduled
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedaemonsetnotscheduled
|
||||||
summary: DaemonSet pods are not scheduled.
|
summary: DaemonSet pods are not scheduled.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1261,7 +1309,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeDaemonSetMisScheduled
|
- alert: KubeDaemonSetMisScheduled
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ $value }} Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} are running where they are not supposed to run.'
|
description: '{{ $value }} Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset
|
||||||
|
}} are running where they are not supposed to run.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedaemonsetmisscheduled
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubedaemonsetmisscheduled
|
||||||
summary: DaemonSet pods are misscheduled.
|
summary: DaemonSet pods are misscheduled.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1271,7 +1320,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeJobCompletion
|
- alert: KubeJobCompletion
|
||||||
annotations:
|
annotations:
|
||||||
description: Job {{ $labels.namespace }}/{{ $labels.job_name }} is taking more than 12 hours to complete.
|
description: Job {{ $labels.namespace }}/{{ $labels.job_name }} is taking
|
||||||
|
more than 12 hours to complete.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubejobcompletion
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubejobcompletion
|
||||||
summary: Job did not complete in time
|
summary: Job did not complete in time
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1281,7 +1331,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeJobFailed
|
- alert: KubeJobFailed
|
||||||
annotations:
|
annotations:
|
||||||
description: Job {{ $labels.namespace }}/{{ $labels.job_name }} failed to complete. Removing failed job after investigation should clear this alert.
|
description: Job {{ $labels.namespace }}/{{ $labels.job_name }} failed to
|
||||||
|
complete. Removing failed job after investigation should clear this alert.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubejobfailed
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubejobfailed
|
||||||
summary: Job failed to complete.
|
summary: Job failed to complete.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1291,7 +1342,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeHpaReplicasMismatch
|
- alert: KubeHpaReplicasMismatch
|
||||||
annotations:
|
annotations:
|
||||||
description: HPA {{ $labels.namespace }}/{{ $labels.hpa }} has not matched the desired number of replicas for longer than 15 minutes.
|
description: HPA {{ $labels.namespace }}/{{ $labels.hpa }} has not matched
|
||||||
|
the desired number of replicas for longer than 15 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubehpareplicasmismatch
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubehpareplicasmismatch
|
||||||
summary: HPA has not matched descired number of replicas.
|
summary: HPA has not matched descired number of replicas.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1313,7 +1365,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeHpaMaxedOut
|
- alert: KubeHpaMaxedOut
|
||||||
annotations:
|
annotations:
|
||||||
description: HPA {{ $labels.namespace }}/{{ $labels.hpa }} has been running at max replicas for longer than 15 minutes.
|
description: HPA {{ $labels.namespace }}/{{ $labels.hpa }} has been running
|
||||||
|
at max replicas for longer than 15 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubehpamaxedout
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubehpamaxedout
|
||||||
summary: HPA is running at max replicas
|
summary: HPA is running at max replicas
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1327,7 +1380,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: KubeCPUOvercommit
|
- alert: KubeCPUOvercommit
|
||||||
annotations:
|
annotations:
|
||||||
description: Cluster has overcommitted CPU resource requests for Pods and cannot tolerate node failure.
|
description: Cluster has overcommitted CPU resource requests for Pods and
|
||||||
|
cannot tolerate node failure.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubecpuovercommit
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubecpuovercommit
|
||||||
summary: Cluster has overcommitted CPU resource requests.
|
summary: Cluster has overcommitted CPU resource requests.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1341,7 +1395,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeMemoryOvercommit
|
- alert: KubeMemoryOvercommit
|
||||||
annotations:
|
annotations:
|
||||||
description: Cluster has overcommitted memory resource requests for Pods and cannot tolerate node failure.
|
description: Cluster has overcommitted memory resource requests for Pods and
|
||||||
|
cannot tolerate node failure.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubememoryovercommit
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubememoryovercommit
|
||||||
summary: Cluster has overcommitted memory resource requests.
|
summary: Cluster has overcommitted memory resource requests.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1383,7 +1438,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeQuotaAlmostFull
|
- alert: KubeQuotaAlmostFull
|
||||||
annotations:
|
annotations:
|
||||||
description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota.
|
description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage
|
||||||
|
}} of its {{ $labels.resource }} quota.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubequotaalmostfull
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubequotaalmostfull
|
||||||
summary: Namespace quota is going to be full.
|
summary: Namespace quota is going to be full.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1396,7 +1452,8 @@ spec:
|
|||||||
severity: info
|
severity: info
|
||||||
- alert: KubeQuotaFullyUsed
|
- alert: KubeQuotaFullyUsed
|
||||||
annotations:
|
annotations:
|
||||||
description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota.
|
description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage
|
||||||
|
}} of its {{ $labels.resource }} quota.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubequotafullyused
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubequotafullyused
|
||||||
summary: Namespace quota is fully used.
|
summary: Namespace quota is fully used.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1409,7 +1466,8 @@ spec:
|
|||||||
severity: info
|
severity: info
|
||||||
- alert: KubeQuotaExceeded
|
- alert: KubeQuotaExceeded
|
||||||
annotations:
|
annotations:
|
||||||
description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota.
|
description: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage
|
||||||
|
}} of its {{ $labels.resource }} quota.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubequotaexceeded
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubequotaexceeded
|
||||||
summary: Namespace quota has exceeded the limits.
|
summary: Namespace quota has exceeded the limits.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1422,7 +1480,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: CPUThrottlingHigh
|
- alert: CPUThrottlingHigh
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ $value | humanizePercentage }} throttling of CPU in namespace {{ $labels.namespace }} for container {{ $labels.container }} in pod {{ $labels.pod }}.'
|
description: '{{ $value | humanizePercentage }} throttling of CPU in namespace
|
||||||
|
{{ $labels.namespace }} for container {{ $labels.container }} in pod {{
|
||||||
|
$labels.pod }}.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/cputhrottlinghigh
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/cputhrottlinghigh
|
||||||
summary: Processes experience elevated CPU throttling.
|
summary: Processes experience elevated CPU throttling.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1437,7 +1497,9 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: KubePersistentVolumeFillingUp
|
- alert: KubePersistentVolumeFillingUp
|
||||||
annotations:
|
annotations:
|
||||||
description: The PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is only {{ $value | humanizePercentage }} free.
|
description: The PersistentVolume claimed by {{ $labels.persistentvolumeclaim
|
||||||
|
}} in Namespace {{ $labels.namespace }} is only {{ $value | humanizePercentage
|
||||||
|
}} free.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumefillingup
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumefillingup
|
||||||
summary: PersistentVolume is filling up.
|
summary: PersistentVolume is filling up.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1450,7 +1512,10 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: KubePersistentVolumeFillingUp
|
- alert: KubePersistentVolumeFillingUp
|
||||||
annotations:
|
annotations:
|
||||||
description: Based on recent sampling, the PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available.
|
description: Based on recent sampling, the PersistentVolume claimed by {{
|
||||||
|
$labels.persistentvolumeclaim }} in Namespace {{ $labels.namespace }} is
|
||||||
|
expected to fill up within four days. Currently {{ $value | humanizePercentage
|
||||||
|
}} is available.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumefillingup
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumefillingup
|
||||||
summary: PersistentVolume is filling up.
|
summary: PersistentVolume is filling up.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1466,7 +1531,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubePersistentVolumeErrors
|
- alert: KubePersistentVolumeErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: The persistent volume {{ $labels.persistentvolume }} has status {{ $labels.phase }}.
|
description: The persistent volume {{ $labels.persistentvolume }} has status
|
||||||
|
{{ $labels.phase }}.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumeerrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubepersistentvolumeerrors
|
||||||
summary: PersistentVolume is having issues with provisioning.
|
summary: PersistentVolume is having issues with provisioning.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1478,7 +1544,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: KubeVersionMismatch
|
- alert: KubeVersionMismatch
|
||||||
annotations:
|
annotations:
|
||||||
description: There are {{ $value }} different semantic versions of Kubernetes components running.
|
description: There are {{ $value }} different semantic versions of Kubernetes
|
||||||
|
components running.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeversionmismatch
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeversionmismatch
|
||||||
summary: Different semantic versions of Kubernetes components running.
|
summary: Different semantic versions of Kubernetes components running.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1488,7 +1555,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeClientErrors
|
- alert: KubeClientErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance }}' is experiencing {{ $value | humanizePercentage }} errors.'
|
description: Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance
|
||||||
|
}}' is experiencing {{ $value | humanizePercentage }} errors.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeclienterrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeclienterrors
|
||||||
summary: Kubernetes API server client is experiencing errors.
|
summary: Kubernetes API server client is experiencing errors.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1561,7 +1629,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: KubeClientCertificateExpiration
|
- alert: KubeClientCertificateExpiration
|
||||||
annotations:
|
annotations:
|
||||||
description: A client certificate used to authenticate to the apiserver is expiring in less than 7.0 days.
|
description: A client certificate used to authenticate to the apiserver is
|
||||||
|
expiring in less than 7.0 days.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeclientcertificateexpiration
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeclientcertificateexpiration
|
||||||
summary: Client certificate is about to expire.
|
summary: Client certificate is about to expire.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1570,7 +1639,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeClientCertificateExpiration
|
- alert: KubeClientCertificateExpiration
|
||||||
annotations:
|
annotations:
|
||||||
description: A client certificate used to authenticate to the apiserver is expiring in less than 24.0 hours.
|
description: A client certificate used to authenticate to the apiserver is
|
||||||
|
expiring in less than 24.0 hours.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeclientcertificateexpiration
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeclientcertificateexpiration
|
||||||
summary: Client certificate is about to expire.
|
summary: Client certificate is about to expire.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1579,7 +1649,10 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: AggregatedAPIErrors
|
- alert: AggregatedAPIErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: An aggregated API {{ $labels.name }}/{{ $labels.namespace }} has reported errors. The number of errors have increased for it in the past five minutes. High values indicate that the availability of the service changes too often.
|
description: An aggregated API {{ $labels.name }}/{{ $labels.namespace }}
|
||||||
|
has reported errors. The number of errors have increased for it in the past
|
||||||
|
five minutes. High values indicate that the availability of the service
|
||||||
|
changes too often.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/aggregatedapierrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/aggregatedapierrors
|
||||||
summary: An aggregated API has reported errors.
|
summary: An aggregated API has reported errors.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1588,7 +1661,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: AggregatedAPIDown
|
- alert: AggregatedAPIDown
|
||||||
annotations:
|
annotations:
|
||||||
description: An aggregated API {{ $labels.name }}/{{ $labels.namespace }} has been only {{ $value | humanize }}% available over the last 10m.
|
description: An aggregated API {{ $labels.name }}/{{ $labels.namespace }}
|
||||||
|
has been only {{ $value | humanize }}% available over the last 10m.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/aggregatedapidown
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/aggregatedapidown
|
||||||
summary: An aggregated API is down.
|
summary: An aggregated API is down.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1620,7 +1694,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeNodeUnreachable
|
- alert: KubeNodeUnreachable
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ $labels.node }} is unreachable and some workloads may be rescheduled.'
|
description: '{{ $labels.node }} is unreachable and some workloads may be
|
||||||
|
rescheduled.'
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubenodeunreachable
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubenodeunreachable
|
||||||
summary: Node is unreachable.
|
summary: Node is unreachable.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1630,7 +1705,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeletTooManyPods
|
- alert: KubeletTooManyPods
|
||||||
annotations:
|
annotations:
|
||||||
description: Kubelet '{{ $labels.node }}' is running at {{ $value | humanizePercentage }} of its Pod capacity.
|
description: Kubelet '{{ $labels.node }}' is running at {{ $value | humanizePercentage
|
||||||
|
}} of its Pod capacity.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubelettoomanypods
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubelettoomanypods
|
||||||
summary: Kubelet is running at capacity.
|
summary: Kubelet is running at capacity.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1646,7 +1722,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeNodeReadinessFlapping
|
- alert: KubeNodeReadinessFlapping
|
||||||
annotations:
|
annotations:
|
||||||
description: The readiness status of node {{ $labels.node }} has changed {{ $value }} times in the last 15 minutes.
|
description: The readiness status of node {{ $labels.node }} has changed {{
|
||||||
|
$value }} times in the last 15 minutes.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubenodereadinessflapping
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubenodereadinessflapping
|
||||||
summary: Node readiness status is flapping.
|
summary: Node readiness status is flapping.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1656,7 +1733,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeletPlegDurationHigh
|
- alert: KubeletPlegDurationHigh
|
||||||
annotations:
|
annotations:
|
||||||
description: The Kubelet Pod Lifecycle Event Generator has a 99th percentile duration of {{ $value }} seconds on node {{ $labels.node }}.
|
description: The Kubelet Pod Lifecycle Event Generator has a 99th percentile
|
||||||
|
duration of {{ $value }} seconds on node {{ $labels.node }}.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletplegdurationhigh
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletplegdurationhigh
|
||||||
summary: Kubelet Pod Lifecycle Event Generator is taking too long to relist.
|
summary: Kubelet Pod Lifecycle Event Generator is taking too long to relist.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1666,7 +1744,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeletPodStartUpLatencyHigh
|
- alert: KubeletPodStartUpLatencyHigh
|
||||||
annotations:
|
annotations:
|
||||||
description: Kubelet Pod startup 99th percentile latency is {{ $value }} seconds on node {{ $labels.node }}.
|
description: Kubelet Pod startup 99th percentile latency is {{ $value }} seconds
|
||||||
|
on node {{ $labels.node }}.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletpodstartuplatencyhigh
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletpodstartuplatencyhigh
|
||||||
summary: Kubelet Pod startup latency is too high.
|
summary: Kubelet Pod startup latency is too high.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1676,7 +1755,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeletClientCertificateExpiration
|
- alert: KubeletClientCertificateExpiration
|
||||||
annotations:
|
annotations:
|
||||||
description: Client certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
|
description: Client certificate for Kubelet on node {{ $labels.node }} expires
|
||||||
|
in {{ $value | humanizeDuration }}.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletclientcertificateexpiration
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletclientcertificateexpiration
|
||||||
summary: Kubelet client certificate is about to expire.
|
summary: Kubelet client certificate is about to expire.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1685,7 +1765,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeletClientCertificateExpiration
|
- alert: KubeletClientCertificateExpiration
|
||||||
annotations:
|
annotations:
|
||||||
description: Client certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
|
description: Client certificate for Kubelet on node {{ $labels.node }} expires
|
||||||
|
in {{ $value | humanizeDuration }}.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletclientcertificateexpiration
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletclientcertificateexpiration
|
||||||
summary: Kubelet client certificate is about to expire.
|
summary: Kubelet client certificate is about to expire.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1694,7 +1775,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: KubeletServerCertificateExpiration
|
- alert: KubeletServerCertificateExpiration
|
||||||
annotations:
|
annotations:
|
||||||
description: Server certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
|
description: Server certificate for Kubelet on node {{ $labels.node }} expires
|
||||||
|
in {{ $value | humanizeDuration }}.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletservercertificateexpiration
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletservercertificateexpiration
|
||||||
summary: Kubelet server certificate is about to expire.
|
summary: Kubelet server certificate is about to expire.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1703,7 +1785,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeletServerCertificateExpiration
|
- alert: KubeletServerCertificateExpiration
|
||||||
annotations:
|
annotations:
|
||||||
description: Server certificate for Kubelet on node {{ $labels.node }} expires in {{ $value | humanizeDuration }}.
|
description: Server certificate for Kubelet on node {{ $labels.node }} expires
|
||||||
|
in {{ $value | humanizeDuration }}.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletservercertificateexpiration
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletservercertificateexpiration
|
||||||
summary: Kubelet server certificate is about to expire.
|
summary: Kubelet server certificate is about to expire.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1712,7 +1795,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: KubeletClientCertificateRenewalErrors
|
- alert: KubeletClientCertificateRenewalErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: Kubelet on node {{ $labels.node }} has failed to renew its client certificate ({{ $value | humanize }} errors in the last 5 minutes).
|
description: Kubelet on node {{ $labels.node }} has failed to renew its client
|
||||||
|
certificate ({{ $value | humanize }} errors in the last 5 minutes).
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletclientcertificaterenewalerrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletclientcertificaterenewalerrors
|
||||||
summary: Kubelet has failed to renew its client certificate.
|
summary: Kubelet has failed to renew its client certificate.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1722,7 +1806,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: KubeletServerCertificateRenewalErrors
|
- alert: KubeletServerCertificateRenewalErrors
|
||||||
annotations:
|
annotations:
|
||||||
description: Kubelet on node {{ $labels.node }} has failed to renew its server certificate ({{ $value | humanize }} errors in the last 5 minutes).
|
description: Kubelet on node {{ $labels.node }} has failed to renew its server
|
||||||
|
certificate ({{ $value | humanize }} errors in the last 5 minutes).
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletservercertificaterenewalerrors
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubeletservercertificaterenewalerrors
|
||||||
summary: Kubelet has failed to renew its server certificate.
|
summary: Kubelet has failed to renew its server certificate.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1756,7 +1841,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: KubeControllerManagerDown
|
- alert: KubeControllerManagerDown
|
||||||
annotations:
|
annotations:
|
||||||
description: KubeControllerManager has disappeared from Prometheus target discovery.
|
description: KubeControllerManager has disappeared from Prometheus target
|
||||||
|
discovery.
|
||||||
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubecontrollermanagerdown
|
runbook_url: https://github.com/prometheus-operator/kube-prometheus/wiki/kubecontrollermanagerdown
|
||||||
summary: Target disappeared from Prometheus target discovery.
|
summary: Target disappeared from Prometheus target discovery.
|
||||||
expr: |
|
expr: |
|
||||||
@@ -1768,7 +1854,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: PrometheusBadConfig
|
- alert: PrometheusBadConfig
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to reload its configuration.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to
|
||||||
|
reload its configuration.
|
||||||
summary: Failed Prometheus configuration reload.
|
summary: Failed Prometheus configuration reload.
|
||||||
expr: |
|
expr: |
|
||||||
# Without max_over_time, failed scrapes could create false negatives, see
|
# Without max_over_time, failed scrapes could create false negatives, see
|
||||||
@@ -1779,8 +1866,10 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: PrometheusNotificationQueueRunningFull
|
- alert: PrometheusNotificationQueueRunningFull
|
||||||
annotations:
|
annotations:
|
||||||
description: Alert notification queue of Prometheus {{$labels.namespace}}/{{$labels.pod}} is running full.
|
description: Alert notification queue of Prometheus {{$labels.namespace}}/{{$labels.pod}}
|
||||||
summary: Prometheus alert notification queue predicted to run full in less than 30m.
|
is running full.
|
||||||
|
summary: Prometheus alert notification queue predicted to run full in less
|
||||||
|
than 30m.
|
||||||
expr: |
|
expr: |
|
||||||
# Without min_over_time, failed scrapes could create false negatives, see
|
# Without min_over_time, failed scrapes could create false negatives, see
|
||||||
# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
|
# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
|
||||||
@@ -1794,8 +1883,10 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusErrorSendingAlertsToSomeAlertmanagers
|
- alert: PrometheusErrorSendingAlertsToSomeAlertmanagers
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ printf "%.1f" $value }}% errors while sending alerts from Prometheus {{$labels.namespace}}/{{$labels.pod}} to Alertmanager {{$labels.alertmanager}}.'
|
description: '{{ printf "%.1f" $value }}% errors while sending alerts from
|
||||||
summary: Prometheus has encountered more than 1% errors sending alerts to a specific Alertmanager.
|
Prometheus {{$labels.namespace}}/{{$labels.pod}} to Alertmanager {{$labels.alertmanager}}.'
|
||||||
|
summary: Prometheus has encountered more than 1% errors sending alerts to
|
||||||
|
a specific Alertmanager.
|
||||||
expr: |
|
expr: |
|
||||||
(
|
(
|
||||||
rate(prometheus_notifications_errors_total{job="prometheus-k8s",namespace="monitoring"}[5m])
|
rate(prometheus_notifications_errors_total{job="prometheus-k8s",namespace="monitoring"}[5m])
|
||||||
@@ -1809,7 +1900,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusErrorSendingAlertsToAnyAlertmanager
|
- alert: PrometheusErrorSendingAlertsToAnyAlertmanager
|
||||||
annotations:
|
annotations:
|
||||||
description: '{{ printf "%.1f" $value }}% minimum errors while sending alerts from Prometheus {{$labels.namespace}}/{{$labels.pod}} to any Alertmanager.'
|
description: '{{ printf "%.1f" $value }}% minimum errors while sending alerts
|
||||||
|
from Prometheus {{$labels.namespace}}/{{$labels.pod}} to any Alertmanager.'
|
||||||
summary: Prometheus encounters more than 3% errors sending alerts to any Alertmanager.
|
summary: Prometheus encounters more than 3% errors sending alerts to any Alertmanager.
|
||||||
expr: |
|
expr: |
|
||||||
min without(alertmanager) (
|
min without(alertmanager) (
|
||||||
@@ -1824,7 +1916,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: PrometheusNotConnectedToAlertmanagers
|
- alert: PrometheusNotConnectedToAlertmanagers
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not connected to any Alertmanagers.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not connected
|
||||||
|
to any Alertmanagers.
|
||||||
summary: Prometheus is not connected to any Alertmanagers.
|
summary: Prometheus is not connected to any Alertmanagers.
|
||||||
expr: |
|
expr: |
|
||||||
# Without max_over_time, failed scrapes could create false negatives, see
|
# Without max_over_time, failed scrapes could create false negatives, see
|
||||||
@@ -1835,7 +1928,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusTSDBReloadsFailing
|
- alert: PrometheusTSDBReloadsFailing
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has detected {{$value | humanize}} reload failures over the last 3h.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has detected
|
||||||
|
{{$value | humanize}} reload failures over the last 3h.
|
||||||
summary: Prometheus has issues reloading blocks from disk.
|
summary: Prometheus has issues reloading blocks from disk.
|
||||||
expr: |
|
expr: |
|
||||||
increase(prometheus_tsdb_reloads_failures_total{job="prometheus-k8s",namespace="monitoring"}[3h]) > 0
|
increase(prometheus_tsdb_reloads_failures_total{job="prometheus-k8s",namespace="monitoring"}[3h]) > 0
|
||||||
@@ -1844,7 +1938,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusTSDBCompactionsFailing
|
- alert: PrometheusTSDBCompactionsFailing
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has detected {{$value | humanize}} compaction failures over the last 3h.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has detected
|
||||||
|
{{$value | humanize}} compaction failures over the last 3h.
|
||||||
summary: Prometheus has issues compacting blocks.
|
summary: Prometheus has issues compacting blocks.
|
||||||
expr: |
|
expr: |
|
||||||
increase(prometheus_tsdb_compactions_failed_total{job="prometheus-k8s",namespace="monitoring"}[3h]) > 0
|
increase(prometheus_tsdb_compactions_failed_total{job="prometheus-k8s",namespace="monitoring"}[3h]) > 0
|
||||||
@@ -1853,7 +1948,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusNotIngestingSamples
|
- alert: PrometheusNotIngestingSamples
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not ingesting samples.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not ingesting
|
||||||
|
samples.
|
||||||
summary: Prometheus is not ingesting samples.
|
summary: Prometheus is not ingesting samples.
|
||||||
expr: |
|
expr: |
|
||||||
rate(prometheus_tsdb_head_samples_appended_total{job="prometheus-k8s",namespace="monitoring"}[5m]) <= 0
|
rate(prometheus_tsdb_head_samples_appended_total{job="prometheus-k8s",namespace="monitoring"}[5m]) <= 0
|
||||||
@@ -1862,7 +1958,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusDuplicateTimestamps
|
- alert: PrometheusDuplicateTimestamps
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is dropping {{ printf "%.4g" $value }} samples/s with different values but duplicated timestamp.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is dropping
|
||||||
|
{{ printf "%.4g" $value }} samples/s with different values but duplicated
|
||||||
|
timestamp.
|
||||||
summary: Prometheus is dropping samples with duplicate timestamps.
|
summary: Prometheus is dropping samples with duplicate timestamps.
|
||||||
expr: |
|
expr: |
|
||||||
rate(prometheus_target_scrapes_sample_duplicate_timestamp_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
rate(prometheus_target_scrapes_sample_duplicate_timestamp_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
||||||
@@ -1871,7 +1969,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusOutOfOrderTimestamps
|
- alert: PrometheusOutOfOrderTimestamps
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is dropping {{ printf "%.4g" $value }} samples/s with timestamps arriving out of order.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is dropping
|
||||||
|
{{ printf "%.4g" $value }} samples/s with timestamps arriving out of order.
|
||||||
summary: Prometheus drops samples with out-of-order timestamps.
|
summary: Prometheus drops samples with out-of-order timestamps.
|
||||||
expr: |
|
expr: |
|
||||||
rate(prometheus_target_scrapes_sample_out_of_order_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
rate(prometheus_target_scrapes_sample_out_of_order_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
||||||
@@ -1880,7 +1979,9 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusRemoteStorageFailures
|
- alert: PrometheusRemoteStorageFailures
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} failed to send {{ printf "%.1f" $value }}% of the samples to {{ $labels.remote_name}}:{{ $labels.url }}
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} failed to send
|
||||||
|
{{ printf "%.1f" $value }}% of the samples to {{ $labels.remote_name}}:{{
|
||||||
|
$labels.url }}
|
||||||
summary: Prometheus fails to send samples to remote storage.
|
summary: Prometheus fails to send samples to remote storage.
|
||||||
expr: |
|
expr: |
|
||||||
(
|
(
|
||||||
@@ -1899,7 +2000,9 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: PrometheusRemoteWriteBehind
|
- alert: PrometheusRemoteWriteBehind
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} remote write is {{ printf "%.1f" $value }}s behind for {{ $labels.remote_name}}:{{ $labels.url }}.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} remote write
|
||||||
|
is {{ printf "%.1f" $value }}s behind for {{ $labels.remote_name}}:{{ $labels.url
|
||||||
|
}}.
|
||||||
summary: Prometheus remote write is behind.
|
summary: Prometheus remote write is behind.
|
||||||
expr: |
|
expr: |
|
||||||
# Without max_over_time, failed scrapes could create false negatives, see
|
# Without max_over_time, failed scrapes could create false negatives, see
|
||||||
@@ -1915,8 +2018,13 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: PrometheusRemoteWriteDesiredShards
|
- alert: PrometheusRemoteWriteDesiredShards
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} remote write desired shards calculation wants to run {{ $value }} shards for queue {{ $labels.remote_name}}:{{ $labels.url }}, which is more than the max of {{ printf `prometheus_remote_storage_shards_max{instance="%s",job="prometheus-k8s",namespace="monitoring"}` $labels.instance | query | first | value }}.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} remote write
|
||||||
summary: Prometheus remote write desired shards calculation wants to run more than configured max shards.
|
desired shards calculation wants to run {{ $value }} shards for queue {{
|
||||||
|
$labels.remote_name}}:{{ $labels.url }}, which is more than the max of {{
|
||||||
|
printf `prometheus_remote_storage_shards_max{instance="%s",job="prometheus-k8s",namespace="monitoring"}`
|
||||||
|
$labels.instance | query | first | value }}.
|
||||||
|
summary: Prometheus remote write desired shards calculation wants to run more
|
||||||
|
than configured max shards.
|
||||||
expr: |
|
expr: |
|
||||||
# Without max_over_time, failed scrapes could create false negatives, see
|
# Without max_over_time, failed scrapes could create false negatives, see
|
||||||
# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
|
# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details.
|
||||||
@@ -1930,7 +2038,8 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusRuleFailures
|
- alert: PrometheusRuleFailures
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to evaluate {{ printf "%.0f" $value }} rules in the last 5m.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to
|
||||||
|
evaluate {{ printf "%.0f" $value }} rules in the last 5m.
|
||||||
summary: Prometheus is failing rule evaluations.
|
summary: Prometheus is failing rule evaluations.
|
||||||
expr: |
|
expr: |
|
||||||
increase(prometheus_rule_evaluation_failures_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
increase(prometheus_rule_evaluation_failures_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
||||||
@@ -1939,7 +2048,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: PrometheusMissingRuleEvaluations
|
- alert: PrometheusMissingRuleEvaluations
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has missed {{ printf "%.0f" $value }} rule group evaluations in the last 5m.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has missed {{
|
||||||
|
printf "%.0f" $value }} rule group evaluations in the last 5m.
|
||||||
summary: Prometheus is missing rule evaluations due to slow rule group evaluation.
|
summary: Prometheus is missing rule evaluations due to slow rule group evaluation.
|
||||||
expr: |
|
expr: |
|
||||||
increase(prometheus_rule_group_iterations_missed_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
increase(prometheus_rule_group_iterations_missed_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
||||||
@@ -1948,8 +2058,11 @@ spec:
|
|||||||
severity: warning
|
severity: warning
|
||||||
- alert: PrometheusTargetLimitHit
|
- alert: PrometheusTargetLimitHit
|
||||||
annotations:
|
annotations:
|
||||||
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has dropped {{ printf "%.0f" $value }} targets because the number of targets exceeded the configured target_limit.
|
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has dropped
|
||||||
summary: Prometheus has dropped targets because some scrape configs have exceeded the targets limit.
|
{{ printf "%.0f" $value }} targets because the number of targets exceeded
|
||||||
|
the configured target_limit.
|
||||||
|
summary: Prometheus has dropped targets because some scrape configs have exceeded
|
||||||
|
the targets limit.
|
||||||
expr: |
|
expr: |
|
||||||
increase(prometheus_target_scrape_pool_exceeded_target_limit_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
increase(prometheus_target_scrape_pool_exceeded_target_limit_total{job="prometheus-k8s",namespace="monitoring"}[5m]) > 0
|
||||||
for: 15m
|
for: 15m
|
||||||
@@ -1971,7 +2084,8 @@ spec:
|
|||||||
severity: critical
|
severity: critical
|
||||||
- alert: AlertmanagerFailedReload
|
- alert: AlertmanagerFailedReload
|
||||||
annotations:
|
annotations:
|
||||||
message: Reloading Alertmanager's configuration has failed for {{ $labels.namespace }}/{{ $labels.pod}}.
|
message: Reloading Alertmanager's configuration has failed for {{ $labels.namespace
|
||||||
|
}}/{{ $labels.pod}}.
|
||||||
expr: |
|
expr: |
|
||||||
alertmanager_config_last_reload_successful{job="alertmanager-main",namespace="monitoring"} == 0
|
alertmanager_config_last_reload_successful{job="alertmanager-main",namespace="monitoring"} == 0
|
||||||
for: 10m
|
for: 10m
|
||||||
@@ -1991,8 +2105,10 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: TargetDown
|
- alert: TargetDown
|
||||||
annotations:
|
annotations:
|
||||||
message: '{{ printf "%.4g" $value }}% of the {{ $labels.job }}/{{ $labels.service }} targets in {{ $labels.namespace }} namespace are down.'
|
message: '{{ printf "%.4g" $value }}% of the {{ $labels.job }}/{{ $labels.service
|
||||||
expr: 100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job, namespace, service)) > 10
|
}} targets in {{ $labels.namespace }} namespace are down.'
|
||||||
|
expr: 100 * (count(up == 0) BY (job, namespace, service) / count(up) BY (job,
|
||||||
|
namespace, service)) > 10
|
||||||
for: 10m
|
for: 10m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
@@ -2011,7 +2127,8 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
- alert: NodeNetworkInterfaceFlapping
|
- alert: NodeNetworkInterfaceFlapping
|
||||||
annotations:
|
annotations:
|
||||||
message: Network interface "{{ $labels.device }}" changing it's up status often on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}"
|
message: Network interface "{{ $labels.device }}" changing it's up status
|
||||||
|
often on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}"
|
||||||
expr: |
|
expr: |
|
||||||
changes(node_network_up{job="node-exporter",device!~"veth.+"}[2m]) > 2
|
changes(node_network_up{job="node-exporter",device!~"veth.+"}[2m]) > 2
|
||||||
for: 2m
|
for: 2m
|
||||||
|
|||||||
@@ -17,13 +17,18 @@ spec:
|
|||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: AlertmanagerConfig defines a namespaced AlertmanagerConfig to be aggregated across multiple namespaces configuring one Alertmanager.
|
description: AlertmanagerConfig defines a namespaced AlertmanagerConfig to
|
||||||
|
be aggregated across multiple namespaces configuring one Alertmanager.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
of an object. Servers should convert recognized schemas to the latest
|
||||||
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: 'Kind is a string value representing the REST resource this
|
||||||
|
object represents. Servers may infer this from the endpoint the client
|
||||||
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
@@ -78,13 +83,17 @@ spec:
|
|||||||
description: SecretKeySelector selects a key of a Secret.
|
description: SecretKeySelector selects a key of a Secret.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -108,50 +117,69 @@ spec:
|
|||||||
httpConfig:
|
httpConfig:
|
||||||
properties:
|
properties:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
description: 'BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
description: 'BasicAuth allow an endpoint to authenticate
|
||||||
|
over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
description: The secret in the service monitor namespace that contains the password for authentication.
|
description: The secret in the service monitor
|
||||||
|
namespace that contains the password for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
username:
|
username:
|
||||||
description: The secret in the service monitor namespace that contains the username for authentication.
|
description: The secret in the service monitor
|
||||||
|
namespace that contains the username for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
bearerTokenSecret:
|
bearerTokenSecret:
|
||||||
description: SecretKeySelector selects a key of a Secret.
|
description: SecretKeySelector selects a key of a
|
||||||
|
Secret.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its
|
||||||
|
key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -159,71 +187,98 @@ spec:
|
|||||||
proxyURL:
|
proxyURL:
|
||||||
type: string
|
type: string
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: SafeTLSConfig specifies safe TLS configuration parameters.
|
description: SafeTLSConfig specifies safe TLS configuration
|
||||||
|
parameters.
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: Struct containing the CA cert to use for the targets.
|
description: Struct containing the CA cert to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
secret:
|
secret:
|
||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use
|
||||||
|
for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to
|
||||||
|
select from. Must be a valid secret
|
||||||
|
key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
cert:
|
cert:
|
||||||
description: Struct containing the client cert file for the targets.
|
description: Struct containing the client cert
|
||||||
|
file for the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
secret:
|
secret:
|
||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use
|
||||||
|
for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to
|
||||||
|
select from. Must be a valid secret
|
||||||
|
key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -233,22 +288,29 @@ spec:
|
|||||||
description: Disable target certificate validation.
|
description: Disable target certificate validation.
|
||||||
type: boolean
|
type: boolean
|
||||||
keySecret:
|
keySecret:
|
||||||
description: Secret containing the client key file for the targets.
|
description: Secret containing the client key
|
||||||
|
file for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
serverName:
|
serverName:
|
||||||
description: Used to verify the hostname for the targets.
|
description: Used to verify the hostname for the
|
||||||
|
targets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
@@ -309,50 +371,69 @@ spec:
|
|||||||
httpConfig:
|
httpConfig:
|
||||||
properties:
|
properties:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
description: 'BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
description: 'BasicAuth allow an endpoint to authenticate
|
||||||
|
over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
description: The secret in the service monitor namespace that contains the password for authentication.
|
description: The secret in the service monitor
|
||||||
|
namespace that contains the password for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
username:
|
username:
|
||||||
description: The secret in the service monitor namespace that contains the username for authentication.
|
description: The secret in the service monitor
|
||||||
|
namespace that contains the username for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
bearerTokenSecret:
|
bearerTokenSecret:
|
||||||
description: SecretKeySelector selects a key of a Secret.
|
description: SecretKeySelector selects a key of a
|
||||||
|
Secret.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its
|
||||||
|
key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -360,71 +441,98 @@ spec:
|
|||||||
proxyURL:
|
proxyURL:
|
||||||
type: string
|
type: string
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: SafeTLSConfig specifies safe TLS configuration parameters.
|
description: SafeTLSConfig specifies safe TLS configuration
|
||||||
|
parameters.
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: Struct containing the CA cert to use for the targets.
|
description: Struct containing the CA cert to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
secret:
|
secret:
|
||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use
|
||||||
|
for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to
|
||||||
|
select from. Must be a valid secret
|
||||||
|
key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
cert:
|
cert:
|
||||||
description: Struct containing the client cert file for the targets.
|
description: Struct containing the client cert
|
||||||
|
file for the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
secret:
|
secret:
|
||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use
|
||||||
|
for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to
|
||||||
|
select from. Must be a valid secret
|
||||||
|
key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -434,22 +542,29 @@ spec:
|
|||||||
description: Disable target certificate validation.
|
description: Disable target certificate validation.
|
||||||
type: boolean
|
type: boolean
|
||||||
keySecret:
|
keySecret:
|
||||||
description: Secret containing the client key file for the targets.
|
description: Secret containing the client key
|
||||||
|
file for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
serverName:
|
serverName:
|
||||||
description: Used to verify the hostname for the targets.
|
description: Used to verify the hostname for the
|
||||||
|
targets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
@@ -457,13 +572,17 @@ spec:
|
|||||||
description: SecretKeySelector selects a key of a Secret.
|
description: SecretKeySelector selects a key of a Secret.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -474,13 +593,17 @@ spec:
|
|||||||
description: SecretKeySelector selects a key of a Secret.
|
description: SecretKeySelector selects a key of a Secret.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -497,50 +620,69 @@ spec:
|
|||||||
httpConfig:
|
httpConfig:
|
||||||
properties:
|
properties:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
description: 'BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
description: 'BasicAuth allow an endpoint to authenticate
|
||||||
|
over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
description: The secret in the service monitor namespace that contains the password for authentication.
|
description: The secret in the service monitor
|
||||||
|
namespace that contains the password for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
username:
|
username:
|
||||||
description: The secret in the service monitor namespace that contains the username for authentication.
|
description: The secret in the service monitor
|
||||||
|
namespace that contains the username for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
bearerTokenSecret:
|
bearerTokenSecret:
|
||||||
description: SecretKeySelector selects a key of a Secret.
|
description: SecretKeySelector selects a key of a
|
||||||
|
Secret.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its
|
||||||
|
key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -548,71 +690,98 @@ spec:
|
|||||||
proxyURL:
|
proxyURL:
|
||||||
type: string
|
type: string
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: SafeTLSConfig specifies safe TLS configuration parameters.
|
description: SafeTLSConfig specifies safe TLS configuration
|
||||||
|
parameters.
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: Struct containing the CA cert to use for the targets.
|
description: Struct containing the CA cert to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
secret:
|
secret:
|
||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use
|
||||||
|
for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to
|
||||||
|
select from. Must be a valid secret
|
||||||
|
key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
cert:
|
cert:
|
||||||
description: Struct containing the client cert file for the targets.
|
description: Struct containing the client cert
|
||||||
|
file for the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to
|
||||||
|
use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
secret:
|
secret:
|
||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use
|
||||||
|
for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to
|
||||||
|
select from. Must be a valid secret
|
||||||
|
key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More
|
||||||
|
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret
|
||||||
|
or its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -622,22 +791,29 @@ spec:
|
|||||||
description: Disable target certificate validation.
|
description: Disable target certificate validation.
|
||||||
type: boolean
|
type: boolean
|
||||||
keySecret:
|
keySecret:
|
||||||
description: Secret containing the client key file for the targets.
|
description: Secret containing the client key
|
||||||
|
file for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select
|
||||||
|
from. Must be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info:
|
||||||
|
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion,
|
||||||
|
kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or
|
||||||
|
its key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
serverName:
|
serverName:
|
||||||
description: Used to verify the hostname for the targets.
|
description: Used to verify the hostname for the
|
||||||
|
targets.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
@@ -652,13 +828,17 @@ spec:
|
|||||||
description: SecretKeySelector selects a key of a Secret.
|
description: SecretKeySelector selects a key of a Secret.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -20,24 +20,31 @@ spec:
|
|||||||
description: PodMonitor defines monitoring for a set of pods.
|
description: PodMonitor defines monitoring for a set of pods.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
of an object. Servers should convert recognized schemas to the latest
|
||||||
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: 'Kind is a string value representing the REST resource this
|
||||||
|
object represents. Servers may infer this from the endpoint the client
|
||||||
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
spec:
|
||||||
description: Specification of desired Pod selection for target discovery by Prometheus.
|
description: Specification of desired Pod selection for target discovery
|
||||||
|
by Prometheus.
|
||||||
properties:
|
properties:
|
||||||
jobLabel:
|
jobLabel:
|
||||||
description: The label to use to retrieve the job name from.
|
description: The label to use to retrieve the job name from.
|
||||||
type: string
|
type: string
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
description: Selector to select which namespaces the Endpoints objects are discovered from.
|
description: Selector to select which namespaces the Endpoints objects
|
||||||
|
are discovered from.
|
||||||
properties:
|
properties:
|
||||||
any:
|
any:
|
||||||
description: Boolean describing whether all namespaces are selected in contrast to a list restricting them.
|
description: Boolean describing whether all namespaces are selected
|
||||||
|
in contrast to a list restricting them.
|
||||||
type: boolean
|
type: boolean
|
||||||
matchNames:
|
matchNames:
|
||||||
description: List of namespace names.
|
description: List of namespace names.
|
||||||
@@ -48,94 +55,126 @@ spec:
|
|||||||
podMetricsEndpoints:
|
podMetricsEndpoints:
|
||||||
description: A list of endpoints allowed as part of this PodMonitor.
|
description: A list of endpoints allowed as part of this PodMonitor.
|
||||||
items:
|
items:
|
||||||
description: PodMetricsEndpoint defines a scrapeable endpoint of a Kubernetes Pod serving Prometheus metrics.
|
description: PodMetricsEndpoint defines a scrapeable endpoint of
|
||||||
|
a Kubernetes Pod serving Prometheus metrics.
|
||||||
properties:
|
properties:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
description: 'BasicAuth allow an endpoint to authenticate over basic authentication. More info: https://prometheus.io/docs/operating/configuration/#endpoint'
|
description: 'BasicAuth allow an endpoint to authenticate over
|
||||||
|
basic authentication. More info: https://prometheus.io/docs/operating/configuration/#endpoint'
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
description: The secret in the service monitor namespace that contains the password for authentication.
|
description: The secret in the service monitor namespace
|
||||||
|
that contains the password for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
username:
|
username:
|
||||||
description: The secret in the service monitor namespace that contains the username for authentication.
|
description: The secret in the service monitor namespace
|
||||||
|
that contains the username for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
bearerTokenSecret:
|
bearerTokenSecret:
|
||||||
description: Secret to mount to read bearer token for scraping targets. The secret needs to be in the same namespace as the pod monitor and accessible by the Prometheus Operator.
|
description: Secret to mount to read bearer token for scraping
|
||||||
|
targets. The secret needs to be in the same namespace as the
|
||||||
|
pod monitor and accessible by the Prometheus Operator.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
honorLabels:
|
honorLabels:
|
||||||
description: HonorLabels chooses the metric's labels on collisions with target labels.
|
description: HonorLabels chooses the metric's labels on collisions
|
||||||
|
with target labels.
|
||||||
type: boolean
|
type: boolean
|
||||||
honorTimestamps:
|
honorTimestamps:
|
||||||
description: HonorTimestamps controls whether Prometheus respects the timestamps present in scraped data.
|
description: HonorTimestamps controls whether Prometheus respects
|
||||||
|
the timestamps present in scraped data.
|
||||||
type: boolean
|
type: boolean
|
||||||
interval:
|
interval:
|
||||||
description: Interval at which metrics should be scraped
|
description: Interval at which metrics should be scraped
|
||||||
type: string
|
type: string
|
||||||
metricRelabelings:
|
metricRelabelings:
|
||||||
description: MetricRelabelConfigs to apply to samples before ingestion.
|
description: MetricRelabelConfigs to apply to samples before
|
||||||
|
ingestion.
|
||||||
items:
|
items:
|
||||||
description: 'RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. It defines `<metric_relabel_configs>`-section of Prometheus configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
description: 'RelabelConfig allows dynamic rewriting of the
|
||||||
|
label set, being applied to samples before ingestion. It
|
||||||
|
defines `<metric_relabel_configs>`-section of Prometheus
|
||||||
|
configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
description: Action to perform based on regex matching. Default is 'replace'
|
description: Action to perform based on regex matching.
|
||||||
|
Default is 'replace'
|
||||||
type: string
|
type: string
|
||||||
modulus:
|
modulus:
|
||||||
description: Modulus to take of the hash of the source label values.
|
description: Modulus to take of the hash of the source
|
||||||
|
label values.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
regex:
|
regex:
|
||||||
description: Regular expression against which the extracted value is matched. Default is '(.*)'
|
description: Regular expression against which the extracted
|
||||||
|
value is matched. Default is '(.*)'
|
||||||
type: string
|
type: string
|
||||||
replacement:
|
replacement:
|
||||||
description: Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'
|
description: Replacement value against which a regex replace
|
||||||
|
is performed if the regular expression matches. Regex
|
||||||
|
capture groups are available. Default is '$1'
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
description: Separator placed between concatenated source label values. default is ';'.
|
description: Separator placed between concatenated source
|
||||||
|
label values. default is ';'.
|
||||||
type: string
|
type: string
|
||||||
sourceLabels:
|
sourceLabels:
|
||||||
description: The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
|
description: The source labels select values from existing
|
||||||
|
labels. Their content is concatenated using the configured
|
||||||
|
separator and matched against the configured regular
|
||||||
|
expression for the replace, keep, and drop actions.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
targetLabel:
|
targetLabel:
|
||||||
description: Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.
|
description: Label to which the resulting value is written
|
||||||
|
in a replace action. It is mandatory for replace actions.
|
||||||
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
@@ -150,39 +189,56 @@ spec:
|
|||||||
description: HTTP path to scrape for metrics.
|
description: HTTP path to scrape for metrics.
|
||||||
type: string
|
type: string
|
||||||
port:
|
port:
|
||||||
description: Name of the pod port this endpoint refers to. Mutually exclusive with targetPort.
|
description: Name of the pod port this endpoint refers to. Mutually
|
||||||
|
exclusive with targetPort.
|
||||||
type: string
|
type: string
|
||||||
proxyUrl:
|
proxyUrl:
|
||||||
description: ProxyURL eg http://proxyserver:2195 Directs scrapes to proxy through this endpoint.
|
description: ProxyURL eg http://proxyserver:2195 Directs scrapes
|
||||||
|
to proxy through this endpoint.
|
||||||
type: string
|
type: string
|
||||||
relabelings:
|
relabelings:
|
||||||
description: 'RelabelConfigs to apply to samples before ingestion. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config'
|
description: 'RelabelConfigs to apply to samples before ingestion.
|
||||||
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config'
|
||||||
items:
|
items:
|
||||||
description: 'RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. It defines `<metric_relabel_configs>`-section of Prometheus configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
description: 'RelabelConfig allows dynamic rewriting of the
|
||||||
|
label set, being applied to samples before ingestion. It
|
||||||
|
defines `<metric_relabel_configs>`-section of Prometheus
|
||||||
|
configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
description: Action to perform based on regex matching. Default is 'replace'
|
description: Action to perform based on regex matching.
|
||||||
|
Default is 'replace'
|
||||||
type: string
|
type: string
|
||||||
modulus:
|
modulus:
|
||||||
description: Modulus to take of the hash of the source label values.
|
description: Modulus to take of the hash of the source
|
||||||
|
label values.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
regex:
|
regex:
|
||||||
description: Regular expression against which the extracted value is matched. Default is '(.*)'
|
description: Regular expression against which the extracted
|
||||||
|
value is matched. Default is '(.*)'
|
||||||
type: string
|
type: string
|
||||||
replacement:
|
replacement:
|
||||||
description: Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'
|
description: Replacement value against which a regex replace
|
||||||
|
is performed if the regular expression matches. Regex
|
||||||
|
capture groups are available. Default is '$1'
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
description: Separator placed between concatenated source label values. default is ';'.
|
description: Separator placed between concatenated source
|
||||||
|
label values. default is ';'.
|
||||||
type: string
|
type: string
|
||||||
sourceLabels:
|
sourceLabels:
|
||||||
description: The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
|
description: The source labels select values from existing
|
||||||
|
labels. Their content is concatenated using the configured
|
||||||
|
separator and matched against the configured regular
|
||||||
|
expression for the replace, keep, and drop actions.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
targetLabel:
|
targetLabel:
|
||||||
description: Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.
|
description: Label to which the resulting value is written
|
||||||
|
in a replace action. It is mandatory for replace actions.
|
||||||
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
@@ -202,19 +258,24 @@ spec:
|
|||||||
description: TLS configuration to use when scraping the endpoint.
|
description: TLS configuration to use when scraping the endpoint.
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: Struct containing the CA cert to use for the targets.
|
description: Struct containing the CA cert to use for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to use for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its
|
||||||
|
key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -223,32 +284,41 @@ spec:
|
|||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
cert:
|
cert:
|
||||||
description: Struct containing the client cert file for the targets.
|
description: Struct containing the client cert file for
|
||||||
|
the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to use for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its
|
||||||
|
key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -257,13 +327,17 @@ spec:
|
|||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -273,16 +347,20 @@ spec:
|
|||||||
description: Disable target certificate validation.
|
description: Disable target certificate validation.
|
||||||
type: boolean
|
type: boolean
|
||||||
keySecret:
|
keySecret:
|
||||||
description: Secret containing the client key file for the targets.
|
description: Secret containing the client key file for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -294,30 +372,42 @@ spec:
|
|||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
podTargetLabels:
|
podTargetLabels:
|
||||||
description: PodTargetLabels transfers labels on the Kubernetes Pod onto the target.
|
description: PodTargetLabels transfers labels on the Kubernetes Pod
|
||||||
|
onto the target.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
sampleLimit:
|
sampleLimit:
|
||||||
description: SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
|
description: SampleLimit defines per-scrape limit on number of scraped
|
||||||
|
samples that will be accepted.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
selector:
|
selector:
|
||||||
description: Selector to select Pod objects.
|
description: Selector to select Pod objects.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector requirements.
|
||||||
|
The requirements are ANDed.
|
||||||
items:
|
items:
|
||||||
description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
|
description: A label selector requirement is a selector that
|
||||||
|
contains values, a key, and an operator that relates the key
|
||||||
|
and values.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: key is the label key that the selector applies to.
|
description: key is the label key that the selector applies
|
||||||
|
to.
|
||||||
type: string
|
type: string
|
||||||
operator:
|
operator:
|
||||||
description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
|
description: operator represents a key's relationship to
|
||||||
|
a set of values. Valid operators are In, NotIn, Exists
|
||||||
|
and DoesNotExist.
|
||||||
type: string
|
type: string
|
||||||
values:
|
values:
|
||||||
description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
|
description: values is an array of string values. If the
|
||||||
|
operator is In or NotIn, the values array must be non-empty.
|
||||||
|
If the operator is Exists or DoesNotExist, the values
|
||||||
|
array must be empty. This array is replaced during a strategic
|
||||||
|
merge patch.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
@@ -329,11 +419,16 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
|
description: matchLabels is a map of {key,value} pairs. A single
|
||||||
|
{key,value} in the matchLabels map is equivalent to an element
|
||||||
|
of matchExpressions, whose key field is "key", the operator
|
||||||
|
is "In", and the values array contains only "value". The requirements
|
||||||
|
are ANDed.
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
targetLimit:
|
targetLimit:
|
||||||
description: TargetLimit defines a limit on the number of scraped targets that will be accepted.
|
description: TargetLimit defines a limit on the number of scraped
|
||||||
|
targets that will be accepted.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
required:
|
||||||
|
|||||||
@@ -20,27 +20,37 @@ spec:
|
|||||||
description: Probe defines monitoring for a set of static targets or ingresses.
|
description: Probe defines monitoring for a set of static targets or ingresses.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
of an object. Servers should convert recognized schemas to the latest
|
||||||
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: 'Kind is a string value representing the REST resource this
|
||||||
|
object represents. Servers may infer this from the endpoint the client
|
||||||
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
spec:
|
||||||
description: Specification of desired Ingress selection for target discovery by Prometheus.
|
description: Specification of desired Ingress selection for target discovery
|
||||||
|
by Prometheus.
|
||||||
properties:
|
properties:
|
||||||
interval:
|
interval:
|
||||||
description: Interval at which targets are probed using the configured prober. If not specified Prometheus' global scrape interval is used.
|
description: Interval at which targets are probed using the configured
|
||||||
|
prober. If not specified Prometheus' global scrape interval is used.
|
||||||
type: string
|
type: string
|
||||||
jobName:
|
jobName:
|
||||||
description: The job name assigned to scraped metrics by default.
|
description: The job name assigned to scraped metrics by default.
|
||||||
type: string
|
type: string
|
||||||
module:
|
module:
|
||||||
description: 'The module to use for probing specifying how to probe the target. Example module configuring in the blackbox exporter: https://github.com/prometheus/blackbox_exporter/blob/master/example.yml'
|
description: 'The module to use for probing specifying how to probe
|
||||||
|
the target. Example module configuring in the blackbox exporter:
|
||||||
|
https://github.com/prometheus/blackbox_exporter/blob/master/example.yml'
|
||||||
type: string
|
type: string
|
||||||
prober:
|
prober:
|
||||||
description: Specification for the prober to use for probing targets. The prober.URL parameter is required. Targets cannot be probed if left empty.
|
description: Specification for the prober to use for probing targets.
|
||||||
|
The prober.URL parameter is required. Targets cannot be probed if
|
||||||
|
left empty.
|
||||||
properties:
|
properties:
|
||||||
path:
|
path:
|
||||||
description: Path to collect metrics from. Defaults to `/probe`.
|
description: Path to collect metrics from. Defaults to `/probe`.
|
||||||
@@ -58,16 +68,19 @@ spec:
|
|||||||
description: Timeout for scraping metrics from the Prometheus exporter.
|
description: Timeout for scraping metrics from the Prometheus exporter.
|
||||||
type: string
|
type: string
|
||||||
targets:
|
targets:
|
||||||
description: Targets defines a set of static and/or dynamically discovered targets to be probed using the prober.
|
description: Targets defines a set of static and/or dynamically discovered
|
||||||
|
targets to be probed using the prober.
|
||||||
properties:
|
properties:
|
||||||
ingress:
|
ingress:
|
||||||
description: Ingress defines the set of dynamically discovered ingress objects which hosts are considered for probing.
|
description: Ingress defines the set of dynamically discovered
|
||||||
|
ingress objects which hosts are considered for probing.
|
||||||
properties:
|
properties:
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
description: Select Ingress objects by namespace.
|
description: Select Ingress objects by namespace.
|
||||||
properties:
|
properties:
|
||||||
any:
|
any:
|
||||||
description: Boolean describing whether all namespaces are selected in contrast to a list restricting them.
|
description: Boolean describing whether all namespaces
|
||||||
|
are selected in contrast to a list restricting them.
|
||||||
type: boolean
|
type: boolean
|
||||||
matchNames:
|
matchNames:
|
||||||
description: List of namespace names.
|
description: List of namespace names.
|
||||||
@@ -76,33 +89,48 @@ spec:
|
|||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
relabelingConfigs:
|
relabelingConfigs:
|
||||||
description: 'RelabelConfigs to apply to samples before ingestion. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config'
|
description: 'RelabelConfigs to apply to samples before ingestion.
|
||||||
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config'
|
||||||
items:
|
items:
|
||||||
description: 'RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. It defines `<metric_relabel_configs>`-section of Prometheus configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
description: 'RelabelConfig allows dynamic rewriting of
|
||||||
|
the label set, being applied to samples before ingestion.
|
||||||
|
It defines `<metric_relabel_configs>`-section of Prometheus
|
||||||
|
configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
description: Action to perform based on regex matching. Default is 'replace'
|
description: Action to perform based on regex matching.
|
||||||
|
Default is 'replace'
|
||||||
type: string
|
type: string
|
||||||
modulus:
|
modulus:
|
||||||
description: Modulus to take of the hash of the source label values.
|
description: Modulus to take of the hash of the source
|
||||||
|
label values.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
regex:
|
regex:
|
||||||
description: Regular expression against which the extracted value is matched. Default is '(.*)'
|
description: Regular expression against which the extracted
|
||||||
|
value is matched. Default is '(.*)'
|
||||||
type: string
|
type: string
|
||||||
replacement:
|
replacement:
|
||||||
description: Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'
|
description: Replacement value against which a regex
|
||||||
|
replace is performed if the regular expression matches.
|
||||||
|
Regex capture groups are available. Default is '$1'
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
description: Separator placed between concatenated source label values. default is ';'.
|
description: Separator placed between concatenated source
|
||||||
|
label values. default is ';'.
|
||||||
type: string
|
type: string
|
||||||
sourceLabels:
|
sourceLabels:
|
||||||
description: The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
|
description: The source labels select values from existing
|
||||||
|
labels. Their content is concatenated using the configured
|
||||||
|
separator and matched against the configured regular
|
||||||
|
expression for the replace, keep, and drop actions.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
targetLabel:
|
targetLabel:
|
||||||
description: Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.
|
description: Label to which the resulting value is written
|
||||||
|
in a replace action. It is mandatory for replace actions.
|
||||||
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
@@ -110,18 +138,29 @@ spec:
|
|||||||
description: Select Ingress objects by labels.
|
description: Select Ingress objects by labels.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector
|
||||||
|
requirements. The requirements are ANDed.
|
||||||
items:
|
items:
|
||||||
description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
|
description: A label selector requirement is a selector
|
||||||
|
that contains values, a key, and an operator that
|
||||||
|
relates the key and values.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: key is the label key that the selector applies to.
|
description: key is the label key that the selector
|
||||||
|
applies to.
|
||||||
type: string
|
type: string
|
||||||
operator:
|
operator:
|
||||||
description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
|
description: operator represents a key's relationship
|
||||||
|
to a set of values. Valid operators are In, NotIn,
|
||||||
|
Exists and DoesNotExist.
|
||||||
type: string
|
type: string
|
||||||
values:
|
values:
|
||||||
description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
|
description: values is an array of string values.
|
||||||
|
If the operator is In or NotIn, the values array
|
||||||
|
must be non-empty. If the operator is Exists or
|
||||||
|
DoesNotExist, the values array must be empty.
|
||||||
|
This array is replaced during a strategic merge
|
||||||
|
patch.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
@@ -133,20 +172,27 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
|
description: matchLabels is a map of {key,value} pairs.
|
||||||
|
A single {key,value} in the matchLabels map is equivalent
|
||||||
|
to an element of matchExpressions, whose key field is
|
||||||
|
"key", the operator is "In", and the values array contains
|
||||||
|
only "value". The requirements are ANDed.
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
staticConfig:
|
staticConfig:
|
||||||
description: 'StaticConfig defines static targets which are considers for probing. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#static_config.'
|
description: 'StaticConfig defines static targets which are considers
|
||||||
|
for probing. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#static_config.'
|
||||||
properties:
|
properties:
|
||||||
labels:
|
labels:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
description: Labels assigned to all metrics scraped from the targets.
|
description: Labels assigned to all metrics scraped from the
|
||||||
|
targets.
|
||||||
type: object
|
type: object
|
||||||
static:
|
static:
|
||||||
description: Targets is a list of URLs to probe using the configured prober.
|
description: Targets is a list of URLs to probe using the
|
||||||
|
configured prober.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -20,10 +20,14 @@ spec:
|
|||||||
description: PrometheusRule defines alerting rules for a Prometheus instance
|
description: PrometheusRule defines alerting rules for a Prometheus instance
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
of an object. Servers should convert recognized schemas to the latest
|
||||||
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: 'Kind is a string value representing the REST resource this
|
||||||
|
object represents. Servers may infer this from the endpoint the client
|
||||||
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
@@ -33,7 +37,10 @@ spec:
|
|||||||
groups:
|
groups:
|
||||||
description: Content of Prometheus rule file
|
description: Content of Prometheus rule file
|
||||||
items:
|
items:
|
||||||
description: 'RuleGroup is a list of sequentially evaluated recording and alerting rules. Note: PartialResponseStrategy is only used by ThanosRuler and will be ignored by Prometheus instances. Valid values for this field are ''warn'' or ''abort''. More info: https://github.com/thanos-io/thanos/blob/master/docs/components/rule.md#partial-response'
|
description: 'RuleGroup is a list of sequentially evaluated recording
|
||||||
|
and alerting rules. Note: PartialResponseStrategy is only used
|
||||||
|
by ThanosRuler and will be ignored by Prometheus instances. Valid
|
||||||
|
values for this field are ''warn'' or ''abort''. More info: https://github.com/thanos-io/thanos/blob/master/docs/components/rule.md#partial-response'
|
||||||
properties:
|
properties:
|
||||||
interval:
|
interval:
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
@@ -20,50 +20,65 @@ spec:
|
|||||||
description: ServiceMonitor defines monitoring for a set of services.
|
description: ServiceMonitor defines monitoring for a set of services.
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
of an object. Servers should convert recognized schemas to the latest
|
||||||
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
type: string
|
type: string
|
||||||
kind:
|
kind:
|
||||||
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
description: 'Kind is a string value representing the REST resource this
|
||||||
|
object represents. Servers may infer this from the endpoint the client
|
||||||
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
type: string
|
type: string
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
spec:
|
||||||
description: Specification of desired Service selection for target discovery by Prometheus.
|
description: Specification of desired Service selection for target discovery
|
||||||
|
by Prometheus.
|
||||||
properties:
|
properties:
|
||||||
endpoints:
|
endpoints:
|
||||||
description: A list of endpoints allowed as part of this ServiceMonitor.
|
description: A list of endpoints allowed as part of this ServiceMonitor.
|
||||||
items:
|
items:
|
||||||
description: Endpoint defines a scrapeable endpoint serving Prometheus metrics.
|
description: Endpoint defines a scrapeable endpoint serving Prometheus
|
||||||
|
metrics.
|
||||||
properties:
|
properties:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
description: 'BasicAuth allow an endpoint to authenticate over basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
description: 'BasicAuth allow an endpoint to authenticate over
|
||||||
|
basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
|
||||||
properties:
|
properties:
|
||||||
password:
|
password:
|
||||||
description: The secret in the service monitor namespace that contains the password for authentication.
|
description: The secret in the service monitor namespace
|
||||||
|
that contains the password for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
username:
|
username:
|
||||||
description: The secret in the service monitor namespace that contains the username for authentication.
|
description: The secret in the service monitor namespace
|
||||||
|
that contains the username for authentication.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -73,57 +88,79 @@ spec:
|
|||||||
description: File to read bearer token for scraping targets.
|
description: File to read bearer token for scraping targets.
|
||||||
type: string
|
type: string
|
||||||
bearerTokenSecret:
|
bearerTokenSecret:
|
||||||
description: Secret to mount to read bearer token for scraping targets. The secret needs to be in the same namespace as the service monitor and accessible by the Prometheus Operator.
|
description: Secret to mount to read bearer token for scraping
|
||||||
|
targets. The secret needs to be in the same namespace as the
|
||||||
|
service monitor and accessible by the Prometheus Operator.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
honorLabels:
|
honorLabels:
|
||||||
description: HonorLabels chooses the metric's labels on collisions with target labels.
|
description: HonorLabels chooses the metric's labels on collisions
|
||||||
|
with target labels.
|
||||||
type: boolean
|
type: boolean
|
||||||
honorTimestamps:
|
honorTimestamps:
|
||||||
description: HonorTimestamps controls whether Prometheus respects the timestamps present in scraped data.
|
description: HonorTimestamps controls whether Prometheus respects
|
||||||
|
the timestamps present in scraped data.
|
||||||
type: boolean
|
type: boolean
|
||||||
interval:
|
interval:
|
||||||
description: Interval at which metrics should be scraped
|
description: Interval at which metrics should be scraped
|
||||||
type: string
|
type: string
|
||||||
metricRelabelings:
|
metricRelabelings:
|
||||||
description: MetricRelabelConfigs to apply to samples before ingestion.
|
description: MetricRelabelConfigs to apply to samples before
|
||||||
|
ingestion.
|
||||||
items:
|
items:
|
||||||
description: 'RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. It defines `<metric_relabel_configs>`-section of Prometheus configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
description: 'RelabelConfig allows dynamic rewriting of the
|
||||||
|
label set, being applied to samples before ingestion. It
|
||||||
|
defines `<metric_relabel_configs>`-section of Prometheus
|
||||||
|
configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
description: Action to perform based on regex matching. Default is 'replace'
|
description: Action to perform based on regex matching.
|
||||||
|
Default is 'replace'
|
||||||
type: string
|
type: string
|
||||||
modulus:
|
modulus:
|
||||||
description: Modulus to take of the hash of the source label values.
|
description: Modulus to take of the hash of the source
|
||||||
|
label values.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
regex:
|
regex:
|
||||||
description: Regular expression against which the extracted value is matched. Default is '(.*)'
|
description: Regular expression against which the extracted
|
||||||
|
value is matched. Default is '(.*)'
|
||||||
type: string
|
type: string
|
||||||
replacement:
|
replacement:
|
||||||
description: Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'
|
description: Replacement value against which a regex replace
|
||||||
|
is performed if the regular expression matches. Regex
|
||||||
|
capture groups are available. Default is '$1'
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
description: Separator placed between concatenated source label values. default is ';'.
|
description: Separator placed between concatenated source
|
||||||
|
label values. default is ';'.
|
||||||
type: string
|
type: string
|
||||||
sourceLabels:
|
sourceLabels:
|
||||||
description: The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
|
description: The source labels select values from existing
|
||||||
|
labels. Their content is concatenated using the configured
|
||||||
|
separator and matched against the configured regular
|
||||||
|
expression for the replace, keep, and drop actions.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
targetLabel:
|
targetLabel:
|
||||||
description: Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.
|
description: Label to which the resulting value is written
|
||||||
|
in a replace action. It is mandatory for replace actions.
|
||||||
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
@@ -138,39 +175,56 @@ spec:
|
|||||||
description: HTTP path to scrape for metrics.
|
description: HTTP path to scrape for metrics.
|
||||||
type: string
|
type: string
|
||||||
port:
|
port:
|
||||||
description: Name of the service port this endpoint refers to. Mutually exclusive with targetPort.
|
description: Name of the service port this endpoint refers to.
|
||||||
|
Mutually exclusive with targetPort.
|
||||||
type: string
|
type: string
|
||||||
proxyUrl:
|
proxyUrl:
|
||||||
description: ProxyURL eg http://proxyserver:2195 Directs scrapes to proxy through this endpoint.
|
description: ProxyURL eg http://proxyserver:2195 Directs scrapes
|
||||||
|
to proxy through this endpoint.
|
||||||
type: string
|
type: string
|
||||||
relabelings:
|
relabelings:
|
||||||
description: 'RelabelConfigs to apply to samples before scraping. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config'
|
description: 'RelabelConfigs to apply to samples before scraping.
|
||||||
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config'
|
||||||
items:
|
items:
|
||||||
description: 'RelabelConfig allows dynamic rewriting of the label set, being applied to samples before ingestion. It defines `<metric_relabel_configs>`-section of Prometheus configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
description: 'RelabelConfig allows dynamic rewriting of the
|
||||||
|
label set, being applied to samples before ingestion. It
|
||||||
|
defines `<metric_relabel_configs>`-section of Prometheus
|
||||||
|
configuration. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
|
||||||
properties:
|
properties:
|
||||||
action:
|
action:
|
||||||
description: Action to perform based on regex matching. Default is 'replace'
|
description: Action to perform based on regex matching.
|
||||||
|
Default is 'replace'
|
||||||
type: string
|
type: string
|
||||||
modulus:
|
modulus:
|
||||||
description: Modulus to take of the hash of the source label values.
|
description: Modulus to take of the hash of the source
|
||||||
|
label values.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
regex:
|
regex:
|
||||||
description: Regular expression against which the extracted value is matched. Default is '(.*)'
|
description: Regular expression against which the extracted
|
||||||
|
value is matched. Default is '(.*)'
|
||||||
type: string
|
type: string
|
||||||
replacement:
|
replacement:
|
||||||
description: Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'
|
description: Replacement value against which a regex replace
|
||||||
|
is performed if the regular expression matches. Regex
|
||||||
|
capture groups are available. Default is '$1'
|
||||||
type: string
|
type: string
|
||||||
separator:
|
separator:
|
||||||
description: Separator placed between concatenated source label values. default is ';'.
|
description: Separator placed between concatenated source
|
||||||
|
label values. default is ';'.
|
||||||
type: string
|
type: string
|
||||||
sourceLabels:
|
sourceLabels:
|
||||||
description: The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
|
description: The source labels select values from existing
|
||||||
|
labels. Their content is concatenated using the configured
|
||||||
|
separator and matched against the configured regular
|
||||||
|
expression for the replace, keep, and drop actions.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
targetLabel:
|
targetLabel:
|
||||||
description: Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.
|
description: Label to which the resulting value is written
|
||||||
|
in a replace action. It is mandatory for replace actions.
|
||||||
|
Regex capture groups are available.
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
@@ -184,25 +238,32 @@ spec:
|
|||||||
anyOf:
|
anyOf:
|
||||||
- type: integer
|
- type: integer
|
||||||
- type: string
|
- type: string
|
||||||
description: Name or number of the target port of the Pod behind the Service, the port must be specified with container port property. Mutually exclusive with port.
|
description: Name or number of the target port of the Pod behind
|
||||||
|
the Service, the port must be specified with container port
|
||||||
|
property. Mutually exclusive with port.
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
tlsConfig:
|
tlsConfig:
|
||||||
description: TLS configuration to use when scraping the endpoint
|
description: TLS configuration to use when scraping the endpoint
|
||||||
properties:
|
properties:
|
||||||
ca:
|
ca:
|
||||||
description: Struct containing the CA cert to use for the targets.
|
description: Struct containing the CA cert to use for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to use for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its
|
||||||
|
key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -211,35 +272,45 @@ spec:
|
|||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
caFile:
|
caFile:
|
||||||
description: Path to the CA cert in the Prometheus container to use for the targets.
|
description: Path to the CA cert in the Prometheus container
|
||||||
|
to use for the targets.
|
||||||
type: string
|
type: string
|
||||||
cert:
|
cert:
|
||||||
description: Struct containing the client cert file for the targets.
|
description: Struct containing the client cert file for
|
||||||
|
the targets.
|
||||||
properties:
|
properties:
|
||||||
configMap:
|
configMap:
|
||||||
description: ConfigMap containing data to use for the targets.
|
description: ConfigMap containing data to use for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key to select.
|
description: The key to select.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the ConfigMap or its key must be defined
|
description: Specify whether the ConfigMap or its
|
||||||
|
key must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -248,38 +319,48 @@ spec:
|
|||||||
description: Secret containing data to use for the targets.
|
description: Secret containing data to use for the targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind,
|
||||||
|
uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key
|
||||||
|
must be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
certFile:
|
certFile:
|
||||||
description: Path to the client cert file in the Prometheus container for the targets.
|
description: Path to the client cert file in the Prometheus
|
||||||
|
container for the targets.
|
||||||
type: string
|
type: string
|
||||||
insecureSkipVerify:
|
insecureSkipVerify:
|
||||||
description: Disable target certificate validation.
|
description: Disable target certificate validation.
|
||||||
type: boolean
|
type: boolean
|
||||||
keyFile:
|
keyFile:
|
||||||
description: Path to the client key file in the Prometheus container for the targets.
|
description: Path to the client key file in the Prometheus
|
||||||
|
container for the targets.
|
||||||
type: string
|
type: string
|
||||||
keySecret:
|
keySecret:
|
||||||
description: Secret containing the client key file for the targets.
|
description: Secret containing the client key file for the
|
||||||
|
targets.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: The key of the secret to select from. Must be a valid secret key.
|
description: The key of the secret to select from. Must
|
||||||
|
be a valid secret key.
|
||||||
type: string
|
type: string
|
||||||
name:
|
name:
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
|
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
||||||
|
TODO: Add other useful fields. apiVersion, kind, uid?'
|
||||||
type: string
|
type: string
|
||||||
optional:
|
optional:
|
||||||
description: Specify whether the Secret or its key must be defined
|
description: Specify whether the Secret or its key must
|
||||||
|
be defined
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
@@ -294,10 +375,12 @@ spec:
|
|||||||
description: The label to use to retrieve the job name from.
|
description: The label to use to retrieve the job name from.
|
||||||
type: string
|
type: string
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
description: Selector to select which namespaces the Endpoints objects are discovered from.
|
description: Selector to select which namespaces the Endpoints objects
|
||||||
|
are discovered from.
|
||||||
properties:
|
properties:
|
||||||
any:
|
any:
|
||||||
description: Boolean describing whether all namespaces are selected in contrast to a list restricting them.
|
description: Boolean describing whether all namespaces are selected
|
||||||
|
in contrast to a list restricting them.
|
||||||
type: boolean
|
type: boolean
|
||||||
matchNames:
|
matchNames:
|
||||||
description: List of namespace names.
|
description: List of namespace names.
|
||||||
@@ -306,30 +389,42 @@ spec:
|
|||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
podTargetLabels:
|
podTargetLabels:
|
||||||
description: PodTargetLabels transfers labels on the Kubernetes Pod onto the target.
|
description: PodTargetLabels transfers labels on the Kubernetes Pod
|
||||||
|
onto the target.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
sampleLimit:
|
sampleLimit:
|
||||||
description: SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.
|
description: SampleLimit defines per-scrape limit on number of scraped
|
||||||
|
samples that will be accepted.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
selector:
|
selector:
|
||||||
description: Selector to select Endpoints objects.
|
description: Selector to select Endpoints objects.
|
||||||
properties:
|
properties:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
description: matchExpressions is a list of label selector requirements.
|
||||||
|
The requirements are ANDed.
|
||||||
items:
|
items:
|
||||||
description: A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
|
description: A label selector requirement is a selector that
|
||||||
|
contains values, a key, and an operator that relates the key
|
||||||
|
and values.
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
description: key is the label key that the selector applies to.
|
description: key is the label key that the selector applies
|
||||||
|
to.
|
||||||
type: string
|
type: string
|
||||||
operator:
|
operator:
|
||||||
description: operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
|
description: operator represents a key's relationship to
|
||||||
|
a set of values. Valid operators are In, NotIn, Exists
|
||||||
|
and DoesNotExist.
|
||||||
type: string
|
type: string
|
||||||
values:
|
values:
|
||||||
description: values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
|
description: values is an array of string values. If the
|
||||||
|
operator is In or NotIn, the values array must be non-empty.
|
||||||
|
If the operator is Exists or DoesNotExist, the values
|
||||||
|
array must be empty. This array is replaced during a strategic
|
||||||
|
merge patch.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
@@ -341,16 +436,22 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
description: matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
|
description: matchLabels is a map of {key,value} pairs. A single
|
||||||
|
{key,value} in the matchLabels map is equivalent to an element
|
||||||
|
of matchExpressions, whose key field is "key", the operator
|
||||||
|
is "In", and the values array contains only "value". The requirements
|
||||||
|
are ANDed.
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
targetLabels:
|
targetLabels:
|
||||||
description: TargetLabels transfers labels on the Kubernetes Service onto the target.
|
description: TargetLabels transfers labels on the Kubernetes Service
|
||||||
|
onto the target.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
targetLimit:
|
targetLimit:
|
||||||
description: TargetLimit defines a limit on the number of scraped targets that will be accepted.
|
description: TargetLimit defines a limit on the number of scraped
|
||||||
|
targets that will be accepted.
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
required:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user