kube-prometheus: regenerate
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
"subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
|
"subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "606a53d42a836baa950f138be43fae7ae98821cd"
|
"version": "433616b23b9c4bce759bc99c35ca2a66348c36b8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ksonnet",
|
"name": "ksonnet",
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
"subdir": ""
|
"subdir": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "c0b31ea63564966021f9e6010090acded475b192"
|
"version": "64a06754786ca1a28929b9fb05c381085dcdd44c"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "grafonnet",
|
"name": "grafonnet",
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
"subdir": "grafana-builder"
|
"subdir": "grafana-builder"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "5b6050e8e883f24b508a18d4b02d1637ec4a540a"
|
"version": "d60a39a5c01f651fdfef2db7a710bb5319b0dbc4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "grafana",
|
"name": "grafana",
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
"subdir": "jsonnet/prometheus-operator"
|
"subdir": "jsonnet/prometheus-operator"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "82a6ad2071ff653e38b3b4719ecb789d73f3ab05"
|
"version": "72ec4b9b16ef11700724dc71fec77112536eed40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "etcd-mixin",
|
"name": "etcd-mixin",
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
"subdir": "Documentation/etcd-mixin"
|
"subdir": "Documentation/etcd-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "02a9810a9e4e5c95feed4a6d6d2c5525fe2af1c1"
|
"version": "dedae6eb7c253635e70403a1fb04842700277b23"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1713,8 +1713,8 @@ spec:
|
|||||||
type: object
|
type: object
|
||||||
retention:
|
retention:
|
||||||
description: Time duration Alertmanager shall retain data for. Default
|
description: Time duration Alertmanager shall retain data for. Default
|
||||||
is '120h', and must match the regular expression `[0-9]+(ms|s|m|h|d|w|y)`
|
is '120h', and must match the regular expression `[0-9]+(ms|s|m|h)`
|
||||||
(milliseconds seconds minutes hours days weeks years).
|
(milliseconds seconds minutes hours).
|
||||||
type: string
|
type: string
|
||||||
routePrefix:
|
routePrefix:
|
||||||
description: The route prefix Alertmanager registers HTTP handlers for.
|
description: The route prefix Alertmanager registers HTTP handlers for.
|
||||||
@@ -1830,11 +1830,6 @@ spec:
|
|||||||
is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
|
is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
|
||||||
will be used.
|
will be used.
|
||||||
properties:
|
properties:
|
||||||
class:
|
|
||||||
description: 'Name of the StorageClass to use when requesting storage
|
|
||||||
provisioning. More info: https://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses
|
|
||||||
(DEPRECATED - instead use `volumeClaimTemplate.spec.storageClassName`)'
|
|
||||||
type: string
|
|
||||||
emptyDir:
|
emptyDir:
|
||||||
description: Represents an empty directory for a pod. Empty directory
|
description: Represents an empty directory for a pod. Empty directory
|
||||||
volumes support ownership management and SELinux relabeling.
|
volumes support ownership management and SELinux relabeling.
|
||||||
@@ -1845,63 +1840,6 @@ spec:
|
|||||||
Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
|
Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
|
||||||
type: string
|
type: string
|
||||||
sizeLimit: {}
|
sizeLimit: {}
|
||||||
resources:
|
|
||||||
description: ResourceRequirements describes the compute resource
|
|
||||||
requirements.
|
|
||||||
properties:
|
|
||||||
limits:
|
|
||||||
description: 'Limits describes the maximum amount of compute
|
|
||||||
resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
|
|
||||||
type: object
|
|
||||||
requests:
|
|
||||||
description: 'Requests describes the minimum amount of compute
|
|
||||||
resources required. If Requests is omitted for a container,
|
|
||||||
it defaults to Limits if that is explicitly specified, otherwise
|
|
||||||
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
|
|
||||||
type: object
|
|
||||||
selector:
|
|
||||||
description: A label selector is a label query over a set of resources.
|
|
||||||
The result of matchLabels and matchExpressions are ANDed. An empty
|
|
||||||
label selector matches all objects. A null label selector matches
|
|
||||||
no objects.
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
description: matchExpressions is a list of label selector requirements.
|
|
||||||
The requirements are ANDed.
|
|
||||||
items:
|
|
||||||
description: A label selector requirement is a selector that
|
|
||||||
contains values, a key, and an operator that relates the
|
|
||||||
key and values.
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
description: key is the label key that the selector applies
|
|
||||||
to.
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
description: operator represents a key's relationship
|
|
||||||
to a set of values. Valid operators are In, NotIn, Exists
|
|
||||||
and DoesNotExist.
|
|
||||||
type: string
|
|
||||||
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.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
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
|
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
description: PersistentVolumeClaim is a user's request for and claim
|
description: PersistentVolumeClaim is a user's request for and claim
|
||||||
to a persistent volume
|
to a persistent volume
|
||||||
|
@@ -2416,11 +2416,6 @@ spec:
|
|||||||
is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
|
is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
|
||||||
will be used.
|
will be used.
|
||||||
properties:
|
properties:
|
||||||
class:
|
|
||||||
description: 'Name of the StorageClass to use when requesting storage
|
|
||||||
provisioning. More info: https://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses
|
|
||||||
(DEPRECATED - instead use `volumeClaimTemplate.spec.storageClassName`)'
|
|
||||||
type: string
|
|
||||||
emptyDir:
|
emptyDir:
|
||||||
description: Represents an empty directory for a pod. Empty directory
|
description: Represents an empty directory for a pod. Empty directory
|
||||||
volumes support ownership management and SELinux relabeling.
|
volumes support ownership management and SELinux relabeling.
|
||||||
@@ -2431,63 +2426,6 @@ spec:
|
|||||||
Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
|
Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
|
||||||
type: string
|
type: string
|
||||||
sizeLimit: {}
|
sizeLimit: {}
|
||||||
resources:
|
|
||||||
description: ResourceRequirements describes the compute resource
|
|
||||||
requirements.
|
|
||||||
properties:
|
|
||||||
limits:
|
|
||||||
description: 'Limits describes the maximum amount of compute
|
|
||||||
resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
|
|
||||||
type: object
|
|
||||||
requests:
|
|
||||||
description: 'Requests describes the minimum amount of compute
|
|
||||||
resources required. If Requests is omitted for a container,
|
|
||||||
it defaults to Limits if that is explicitly specified, otherwise
|
|
||||||
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
|
|
||||||
type: object
|
|
||||||
selector:
|
|
||||||
description: A label selector is a label query over a set of resources.
|
|
||||||
The result of matchLabels and matchExpressions are ANDed. An empty
|
|
||||||
label selector matches all objects. A null label selector matches
|
|
||||||
no objects.
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
description: matchExpressions is a list of label selector requirements.
|
|
||||||
The requirements are ANDed.
|
|
||||||
items:
|
|
||||||
description: A label selector requirement is a selector that
|
|
||||||
contains values, a key, and an operator that relates the
|
|
||||||
key and values.
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
description: key is the label key that the selector applies
|
|
||||||
to.
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
description: operator represents a key's relationship
|
|
||||||
to a set of values. Valid operators are In, NotIn, Exists
|
|
||||||
and DoesNotExist.
|
|
||||||
type: string
|
|
||||||
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.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
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
|
|
||||||
volumeClaimTemplate:
|
volumeClaimTemplate:
|
||||||
description: PersistentVolumeClaim is a user's request for and claim
|
description: PersistentVolumeClaim is a user's request for and claim
|
||||||
to a persistent volume
|
to a persistent volume
|
||||||
|
@@ -20,8 +20,8 @@ spec:
|
|||||||
- --kubelet-service=kube-system/kubelet
|
- --kubelet-service=kube-system/kubelet
|
||||||
- --logtostderr=true
|
- --logtostderr=true
|
||||||
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
- --config-reloader-image=quay.io/coreos/configmap-reload:v0.0.1
|
||||||
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.25.0
|
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.26.0
|
||||||
image: quay.io/coreos/prometheus-operator:v0.25.0
|
image: quay.io/coreos/prometheus-operator:v0.26.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
@@ -213,21 +213,21 @@ spec:
|
|||||||
)
|
)
|
||||||
record: node:node_memory_swap_io_bytes:sum_rate
|
record: node:node_memory_swap_io_bytes:sum_rate
|
||||||
- expr: |
|
- expr: |
|
||||||
avg(irate(node_disk_io_time_seconds_total{job="node-exporter",device=~"(sd|xvd|nvme).+"}[1m]))
|
avg(irate(node_disk_io_time_seconds_total{job="node-exporter",device=~"nvme.+|rbd.+|sd.+|vd.+|xvd.+"}[1m]))
|
||||||
record: :node_disk_utilisation:avg_irate
|
record: :node_disk_utilisation:avg_irate
|
||||||
- expr: |
|
- expr: |
|
||||||
avg by (node) (
|
avg by (node) (
|
||||||
irate(node_disk_io_time_seconds_total{job="node-exporter",device=~"(sd|xvd|nvme).+"}[1m])
|
irate(node_disk_io_time_seconds_total{job="node-exporter",device=~"nvme.+|rbd.+|sd.+|vd.+|xvd.+"}[1m])
|
||||||
* on (namespace, pod) group_left(node)
|
* on (namespace, pod) group_left(node)
|
||||||
node_namespace_pod:kube_pod_info:
|
node_namespace_pod:kube_pod_info:
|
||||||
)
|
)
|
||||||
record: node:node_disk_utilisation:avg_irate
|
record: node:node_disk_utilisation:avg_irate
|
||||||
- expr: |
|
- expr: |
|
||||||
avg(irate(node_disk_io_time_weighted_seconds_total{job="node-exporter",device=~"(sd|xvd|nvme).+"}[1m]) / 1e3)
|
avg(irate(node_disk_io_time_weighted_seconds_total{job="node-exporter",device=~"nvme.+|rbd.+|sd.+|vd.+|xvd.+"}[1m]) / 1e3)
|
||||||
record: :node_disk_saturation:avg_irate
|
record: :node_disk_saturation:avg_irate
|
||||||
- expr: |
|
- expr: |
|
||||||
avg by (node) (
|
avg by (node) (
|
||||||
irate(node_disk_io_time_weighted_seconds_total{job="node-exporter",device=~"(sd|xvd|nvme).+"}[1m]) / 1e3
|
irate(node_disk_io_time_weighted_seconds_total{job="node-exporter",device=~"nvme.+|rbd.+|sd.+|vd.+|xvd.+"}[1m]) / 1e3
|
||||||
* on (namespace, pod) group_left(node)
|
* on (namespace, pod) group_left(node)
|
||||||
node_namespace_pod:kube_pod_info:
|
node_namespace_pod:kube_pod_info:
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user