Merge pull request #130 from brancz/bump-po
Bump prometheus operator to v0.31.0
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
"subdir": "jsonnet/prometheus-operator"
|
"subdir": "jsonnet/prometheus-operator"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "release-0.30"
|
"version": "release-0.31"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "etcd-mixin",
|
"name": "etcd-mixin",
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
"subdir": "jsonnet/kube-prometheus"
|
"subdir": "jsonnet/kube-prometheus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "3f6d0c6dd3288d0c8b600a0d526ea62f0999af19"
|
"version": "bdf84bf1865e66d76c027eb2cea7bf776acd18a4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ksonnet",
|
"name": "ksonnet",
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
"subdir": "jsonnet/prometheus-operator"
|
"subdir": "jsonnet/prometheus-operator"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "18fbf558ab7f8809fd610a3dc50bf483508dc1bb"
|
"version": "f05d5228fe02bcd370acaa234c15f3d9fdef4a60"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "etcd-mixin",
|
"name": "etcd-mixin",
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
"subdir": "Documentation/etcd-mixin"
|
"subdir": "Documentation/etcd-mixin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "53891cbf9716b942b4f9c5929bbd2781180bf8e0"
|
"version": "9ff762857712c9c5c2037e6ddd9a692a488224bf"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -3,6 +3,7 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- ./manifests/00namespace-namespace.yaml
|
- ./manifests/00namespace-namespace.yaml
|
||||||
- ./manifests/0prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
|
- ./manifests/0prometheus-operator-0alertmanagerCustomResourceDefinition.yaml
|
||||||
|
- ./manifests/0prometheus-operator-0podmonitorCustomResourceDefinition.yaml
|
||||||
- ./manifests/0prometheus-operator-0prometheusCustomResourceDefinition.yaml
|
- ./manifests/0prometheus-operator-0prometheusCustomResourceDefinition.yaml
|
||||||
- ./manifests/0prometheus-operator-0prometheusruleCustomResourceDefinition.yaml
|
- ./manifests/0prometheus-operator-0prometheusruleCustomResourceDefinition.yaml
|
||||||
- ./manifests/0prometheus-operator-0servicemonitorCustomResourceDefinition.yaml
|
- ./manifests/0prometheus-operator-0servicemonitorCustomResourceDefinition.yaml
|
||||||
|
@@ -0,0 +1,235 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: podmonitors.monitoring.coreos.com
|
||||||
|
spec:
|
||||||
|
group: monitoring.coreos.com
|
||||||
|
names:
|
||||||
|
kind: PodMonitor
|
||||||
|
plural: podmonitors
|
||||||
|
scope: Namespaced
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
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/api-conventions.md#resources'
|
||||||
|
type: string
|
||||||
|
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/api-conventions.md#types-kinds'
|
||||||
|
type: string
|
||||||
|
spec:
|
||||||
|
description: PodMonitorSpec contains specification parameters for a PodMonitor.
|
||||||
|
properties:
|
||||||
|
jobLabel:
|
||||||
|
description: The label to use to retrieve the job name from.
|
||||||
|
type: string
|
||||||
|
namespaceSelector:
|
||||||
|
description: NamespaceSelector is a selector for selecting either all
|
||||||
|
namespaces or a list of namespaces.
|
||||||
|
properties:
|
||||||
|
any:
|
||||||
|
description: Boolean describing whether all namespaces are selected
|
||||||
|
in contrast to a list restricting them.
|
||||||
|
type: boolean
|
||||||
|
matchNames:
|
||||||
|
description: List of namespace names.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
podMetricsEndpoints:
|
||||||
|
description: A list of endpoints allowed as part of this PodMonitor.
|
||||||
|
items:
|
||||||
|
description: PodMetricsEndpoint defines a scrapeable endpoint of a
|
||||||
|
Kubernetes Pod serving Prometheus metrics.
|
||||||
|
properties:
|
||||||
|
honorLabels:
|
||||||
|
description: HonorLabels chooses the metric's labels on collisions
|
||||||
|
with target labels.
|
||||||
|
type: boolean
|
||||||
|
interval:
|
||||||
|
description: Interval at which metrics should be scraped
|
||||||
|
type: string
|
||||||
|
metricRelabelings:
|
||||||
|
description: MetricRelabelConfigs to apply to samples before ingestion.
|
||||||
|
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'
|
||||||
|
properties:
|
||||||
|
action:
|
||||||
|
description: Action to perform based on regex matching.
|
||||||
|
Default is 'replace'
|
||||||
|
type: string
|
||||||
|
modulus:
|
||||||
|
description: Modulus to take of the hash of the source label
|
||||||
|
values.
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
regex:
|
||||||
|
description: Regular expression against which the extracted
|
||||||
|
value is matched. defailt is '(.*)'
|
||||||
|
type: string
|
||||||
|
replacement:
|
||||||
|
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
|
||||||
|
separator:
|
||||||
|
description: Separator placed between concatenated source
|
||||||
|
label values. default is ';'.
|
||||||
|
type: string
|
||||||
|
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.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
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.
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
params:
|
||||||
|
description: Optional HTTP URL parameters
|
||||||
|
type: object
|
||||||
|
path:
|
||||||
|
description: HTTP path to scrape for metrics.
|
||||||
|
type: string
|
||||||
|
port:
|
||||||
|
description: Name of the port this endpoint refers to. Mutually
|
||||||
|
exclusive with targetPort.
|
||||||
|
type: string
|
||||||
|
proxyUrl:
|
||||||
|
description: ProxyURL eg http://proxyserver:2195 Directs scrapes
|
||||||
|
to proxy through this endpoint.
|
||||||
|
type: string
|
||||||
|
relabelings:
|
||||||
|
description: 'RelabelConfigs to apply to samples before ingestion.
|
||||||
|
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config'
|
||||||
|
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'
|
||||||
|
properties:
|
||||||
|
action:
|
||||||
|
description: Action to perform based on regex matching.
|
||||||
|
Default is 'replace'
|
||||||
|
type: string
|
||||||
|
modulus:
|
||||||
|
description: Modulus to take of the hash of the source label
|
||||||
|
values.
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
regex:
|
||||||
|
description: Regular expression against which the extracted
|
||||||
|
value is matched. defailt is '(.*)'
|
||||||
|
type: string
|
||||||
|
replacement:
|
||||||
|
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
|
||||||
|
separator:
|
||||||
|
description: Separator placed between concatenated source
|
||||||
|
label values. default is ';'.
|
||||||
|
type: string
|
||||||
|
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.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
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.
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
scheme:
|
||||||
|
description: HTTP scheme to use for scraping.
|
||||||
|
type: string
|
||||||
|
scrapeTimeout:
|
||||||
|
description: Timeout after which the scrape is ended
|
||||||
|
type: string
|
||||||
|
targetPort:
|
||||||
|
anyOf:
|
||||||
|
- type: string
|
||||||
|
- type: integer
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
podTargetLabels:
|
||||||
|
description: PodTargetLabels transfers labels on the Kubernetes Pod
|
||||||
|
onto the target.
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
sampleLimit:
|
||||||
|
description: SampleLimit defines per-scrape limit on number of scraped
|
||||||
|
samples that will be accepted.
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
|
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: object
|
||||||
|
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
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- podMetricsEndpoints
|
||||||
|
- selector
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
version: v1
|
@@ -2015,6 +2015,94 @@ spec:
|
|||||||
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
podMonitorNamespaceSelector:
|
||||||
|
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: object
|
||||||
|
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
|
||||||
|
type: object
|
||||||
|
podMonitorSelector:
|
||||||
|
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: object
|
||||||
|
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
|
||||||
|
type: object
|
||||||
priorityClassName:
|
priorityClassName:
|
||||||
description: Priority class assigned to the Pods
|
description: Priority class assigned to the Pods
|
||||||
type: string
|
type: string
|
||||||
@@ -2337,6 +2425,9 @@ spec:
|
|||||||
is '24h', and must match the regular expression `[0-9]+(ms|s|m|h|d|w|y)`
|
is '24h', and must match the regular expression `[0-9]+(ms|s|m|h|d|w|y)`
|
||||||
(milliseconds seconds minutes hours days weeks years).
|
(milliseconds seconds minutes hours days weeks years).
|
||||||
type: string
|
type: string
|
||||||
|
retentionSize:
|
||||||
|
description: Maximum amount of disk space used by blocks.
|
||||||
|
type: string
|
||||||
routePrefix:
|
routePrefix:
|
||||||
description: The route prefix Prometheus registers HTTP handlers for.
|
description: The route prefix Prometheus registers HTTP handlers for.
|
||||||
This is useful, if using ExternalURL and a proxy is rewriting HTTP
|
This is useful, if using ExternalURL and a proxy is rewriting HTTP
|
||||||
@@ -3215,42 +3306,6 @@ spec:
|
|||||||
baseImage:
|
baseImage:
|
||||||
description: Thanos base image if other than default.
|
description: Thanos base image if other than default.
|
||||||
type: string
|
type: string
|
||||||
clusterAdvertiseAddress:
|
|
||||||
description: Explicit (external) ip:port address to advertise for
|
|
||||||
gossip in gossip cluster. Used internally for membership only.
|
|
||||||
type: string
|
|
||||||
gcs:
|
|
||||||
description: 'Deprecated: ThanosGCSSpec should be configured with
|
|
||||||
an ObjectStorageConfig secret starting with Thanos v0.2.0. ThanosGCSSpec
|
|
||||||
will be removed.'
|
|
||||||
properties:
|
|
||||||
bucket:
|
|
||||||
description: Google Cloud Storage bucket name for stored blocks.
|
|
||||||
If empty it won't store any block inside Google Cloud Storage.
|
|
||||||
type: string
|
|
||||||
credentials:
|
|
||||||
description: SecretKeySelector selects a key of a Secret.
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
description: The key of the secret to select from. Must
|
|
||||||
be a valid secret key.
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
|
||||||
type: string
|
|
||||||
optional:
|
|
||||||
description: Specify whether the Secret or it's key must
|
|
||||||
be defined
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
grpcAdvertiseAddress:
|
|
||||||
description: Explicit (external) host:port address to advertise
|
|
||||||
for gRPC StoreAPI in gossip cluster. If empty, 'grpc-address'
|
|
||||||
will be used.
|
|
||||||
type: string
|
|
||||||
image:
|
image:
|
||||||
description: Image if specified has precedence over baseImage, tag
|
description: Image if specified has precedence over baseImage, tag
|
||||||
and sha combinations. Specifying the version is still necessary
|
and sha combinations. Specifying the version is still necessary
|
||||||
@@ -3274,9 +3329,6 @@ spec:
|
|||||||
required:
|
required:
|
||||||
- key
|
- key
|
||||||
type: object
|
type: object
|
||||||
peers:
|
|
||||||
description: Peers is a DNS name for Thanos to discover peers through.
|
|
||||||
type: string
|
|
||||||
resources:
|
resources:
|
||||||
description: ResourceRequirements describes the compute resource
|
description: ResourceRequirements describes the compute resource
|
||||||
requirements.
|
requirements.
|
||||||
@@ -3292,63 +3344,6 @@ spec:
|
|||||||
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
|
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
s3:
|
|
||||||
description: 'Deprecated: ThanosS3Spec should be configured with
|
|
||||||
an ObjectStorageConfig secret starting with Thanos v0.2.0. ThanosS3Spec
|
|
||||||
will be removed.'
|
|
||||||
properties:
|
|
||||||
accessKey:
|
|
||||||
description: SecretKeySelector selects a key of a Secret.
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
description: The key of the secret to select from. Must
|
|
||||||
be a valid secret key.
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
|
||||||
type: string
|
|
||||||
optional:
|
|
||||||
description: Specify whether the Secret or it's key must
|
|
||||||
be defined
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
type: object
|
|
||||||
bucket:
|
|
||||||
description: S3-Compatible API bucket name for stored blocks.
|
|
||||||
type: string
|
|
||||||
encryptsse:
|
|
||||||
description: Whether to use Server Side Encryption
|
|
||||||
type: boolean
|
|
||||||
endpoint:
|
|
||||||
description: S3-Compatible API endpoint for stored blocks.
|
|
||||||
type: string
|
|
||||||
insecure:
|
|
||||||
description: Whether to use an insecure connection with an S3-Compatible
|
|
||||||
API.
|
|
||||||
type: boolean
|
|
||||||
secretKey:
|
|
||||||
description: SecretKeySelector selects a key of a Secret.
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
description: The key of the secret to select from. Must
|
|
||||||
be a valid secret key.
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
|
|
||||||
type: string
|
|
||||||
optional:
|
|
||||||
description: Specify whether the Secret or it's key must
|
|
||||||
be defined
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
type: object
|
|
||||||
signatureVersion2:
|
|
||||||
description: Whether to use S3 Signature Version 2; otherwise
|
|
||||||
Signature Version 4 will be used.
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
sha:
|
sha:
|
||||||
description: SHA of Thanos container image to be deployed. Defaults
|
description: SHA of Thanos container image to be deployed. Defaults
|
||||||
to the value of `version`. Similar to a tag, but the SHA explicitly
|
to the value of `version`. Similar to a tag, but the SHA explicitly
|
||||||
|
@@ -2,9 +2,9 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
@@ -21,6 +21,7 @@ rules:
|
|||||||
- prometheuses/finalizers
|
- prometheuses/finalizers
|
||||||
- alertmanagers/finalizers
|
- alertmanagers/finalizers
|
||||||
- servicemonitors
|
- servicemonitors
|
||||||
|
- podmonitors
|
||||||
- prometheusrules
|
- prometheusrules
|
||||||
verbs:
|
verbs:
|
||||||
- '*'
|
- '*'
|
||||||
|
@@ -2,9 +2,9 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
@@ -1,32 +1,32 @@
|
|||||||
apiVersion: apps/v1beta2
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- args:
|
- args:
|
||||||
- --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.30.0
|
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.31.0
|
||||||
image: quay.io/coreos/prometheus-operator:v0.30.0
|
image: quay.io/coreos/prometheus-operator:v0.31.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
@@ -40,7 +40,6 @@ spec:
|
|||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: true
|
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
beta.kubernetes.io/os: linux
|
beta.kubernetes.io/os: linux
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@@ -2,9 +2,9 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
@@ -14,5 +14,5 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
targetPort: http
|
targetPort: http
|
||||||
selector:
|
selector:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
|
@@ -2,8 +2,8 @@ apiVersion: v1
|
|||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
|
@@ -2,9 +2,9 @@ apiVersion: monitoring.coreos.com/v1
|
|||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: prometheus-operator
|
name: prometheus-operator
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
@@ -13,6 +13,6 @@ spec:
|
|||||||
port: http
|
port: http
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
apps.kubernetes.io/component: controller
|
app.kubernetes.io/component: controller
|
||||||
apps.kubernetes.io/name: prometheus-operator
|
app.kubernetes.io/name: prometheus-operator
|
||||||
apps.kubernetes.io/version: v0.30.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
|
Reference in New Issue
Block a user