1 {{- if and .Release.IsInstall .Values.prometheusOperator.enabled .Values.prometheusOperator.createCustomResource -}}
2 # Source https://github.com/coreos/prometheus-operator/blob/master/contrib/kube-prometheus/manifests/0prometheus-operator-0prometheusCustomResourceDefinition.yaml
3 apiVersion: apiextensions.k8s.io/v1beta1
4 kind: CustomResourceDefinition
6 creationTimestamp: null
7 name: {{ printf "prometheuses.%s" (.Values.prometheusOperator.crdApiGroup | default "monitoring.coreos.com") }}
9 app: {{ template "prometheus-operator.name" . }}-operator
10 {{ include "prometheus-operator.labels" . | indent 4 }}
12 "helm.sh/hook": crd-install
13 "helm.sh/hook-delete-policy": "before-hook-creation"
15 group: {{ .Values.prometheusOperator.crdApiGroup | default "monitoring.coreos.com" }}
24 description: 'APIVersion defines the versioned schema of this representation
25 of an object. Servers should convert recognized schemas to the latest
26 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
29 description: 'Kind is a string value representing the REST resource this
30 object represents. Servers may infer this from the endpoint the client
31 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
34 description: 'PrometheusSpec is a specification of the desired behavior
35 of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
37 additionalAlertManagerConfigs:
38 description: SecretKeySelector selects a key of a Secret.
41 description: The key of the secret to select from. Must be a valid
45 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
48 description: Specify whether the Secret or it's key must be defined
52 additionalAlertRelabelConfigs:
53 description: SecretKeySelector selects a key of a Secret.
56 description: The key of the secret to select from. Must be a valid
60 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
63 description: Specify whether the Secret or it's key must be defined
67 additionalScrapeConfigs:
68 description: SecretKeySelector selects a key of a Secret.
71 description: The key of the secret to select from. Must be a valid
75 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
78 description: Specify whether the Secret or it's key must be defined
83 description: Affinity is a group of affinity scheduling rules.
86 description: Node affinity is a group of node affinity scheduling
89 preferredDuringSchedulingIgnoredDuringExecution:
90 description: The scheduler will prefer to schedule pods to nodes
91 that satisfy the affinity expressions specified by this field,
92 but it may choose a node that violates one or more of the
93 expressions. The node that is most preferred is the one with
94 the greatest sum of weights, i.e. for each node that meets
95 all of the scheduling requirements (resource request, requiredDuringScheduling
96 affinity expressions, etc.), compute a sum by iterating through
97 the elements of this field and adding "weight" to the sum
98 if the node matches the corresponding matchExpressions; the
99 node(s) with the highest sum are the most preferred.
101 description: An empty preferred scheduling term matches all
102 objects with implicit weight 0 (i.e. it's a no-op). A null
103 preferred scheduling term matches no objects (i.e. is also
107 description: A null or empty node selector term matches
108 no objects. The requirements of them are ANDed. The
109 TopologySelectorTerm type implements a subset of the
113 description: A list of node selector requirements
116 description: A node selector requirement is a selector
117 that contains values, a key, and an operator that
118 relates the key and values.
121 description: The label key that the selector
125 description: Represents a key's relationship
126 to a set of values. Valid operators are In,
127 NotIn, Exists, DoesNotExist. Gt, and Lt.
130 description: An array of string values. If the
131 operator is In or NotIn, the values array
132 must be non-empty. If the operator is Exists
133 or DoesNotExist, the values array must be
134 empty. If the operator is Gt or Lt, the values
135 array must have a single element, which will
136 be interpreted as an integer. This array is
137 replaced during a strategic merge patch.
146 description: A list of node selector requirements
149 description: A node selector requirement is a selector
150 that contains values, a key, and an operator that
151 relates the key and values.
154 description: The label key that the selector
158 description: Represents a key's relationship
159 to a set of values. Valid operators are In,
160 NotIn, Exists, DoesNotExist. Gt, and Lt.
163 description: An array of string values. If the
164 operator is In or NotIn, the values array
165 must be non-empty. If the operator is Exists
166 or DoesNotExist, the values array must be
167 empty. If the operator is Gt or Lt, the values
168 array must have a single element, which will
169 be interpreted as an integer. This array is
170 replaced during a strategic merge patch.
179 description: Weight associated with matching the corresponding
180 nodeSelectorTerm, in the range 1-100.
187 requiredDuringSchedulingIgnoredDuringExecution:
188 description: A node selector represents the union of the results
189 of one or more label queries over a set of nodes; that is,
190 it represents the OR of the selectors represented by the node
194 description: Required. A list of node selector terms. The
197 description: A null or empty node selector term matches
198 no objects. The requirements of them are ANDed. The
199 TopologySelectorTerm type implements a subset of the
203 description: A list of node selector requirements
206 description: A node selector requirement is a selector
207 that contains values, a key, and an operator that
208 relates the key and values.
211 description: The label key that the selector
215 description: Represents a key's relationship
216 to a set of values. Valid operators are In,
217 NotIn, Exists, DoesNotExist. Gt, and Lt.
220 description: An array of string values. If the
221 operator is In or NotIn, the values array
222 must be non-empty. If the operator is Exists
223 or DoesNotExist, the values array must be
224 empty. If the operator is Gt or Lt, the values
225 array must have a single element, which will
226 be interpreted as an integer. This array is
227 replaced during a strategic merge patch.
236 description: A list of node selector requirements
239 description: A node selector requirement is a selector
240 that contains values, a key, and an operator that
241 relates the key and values.
244 description: The label key that the selector
248 description: Represents a key's relationship
249 to a set of values. Valid operators are In,
250 NotIn, Exists, DoesNotExist. Gt, and Lt.
253 description: An array of string values. If the
254 operator is In or NotIn, the values array
255 must be non-empty. If the operator is Exists
256 or DoesNotExist, the values array must be
257 empty. If the operator is Gt or Lt, the values
258 array must have a single element, which will
259 be interpreted as an integer. This array is
260 replaced during a strategic merge patch.
272 description: Pod affinity is a group of inter pod affinity scheduling
275 preferredDuringSchedulingIgnoredDuringExecution:
276 description: The scheduler will prefer to schedule pods to nodes
277 that satisfy the affinity expressions specified by this field,
278 but it may choose a node that violates one or more of the
279 expressions. The node that is most preferred is the one with
280 the greatest sum of weights, i.e. for each node that meets
281 all of the scheduling requirements (resource request, requiredDuringScheduling
282 affinity expressions, etc.), compute a sum by iterating through
283 the elements of this field and adding "weight" to the sum
284 if the node has pods which matches the corresponding podAffinityTerm;
285 the node(s) with the highest sum are the most preferred.
287 description: The weights of all of the matched WeightedPodAffinityTerm
288 fields are added per-node to find the most preferred node(s)
291 description: Defines a set of pods (namely those matching
292 the labelSelector relative to the given namespace(s))
293 that this pod should be co-located (affinity) or not
294 co-located (anti-affinity) with, where co-located is
295 defined as running on a node whose value of the label
296 with key <topologyKey> matches that of any node on which
297 a pod of the set of pods is running
300 description: A label selector is a label query over
301 a set of resources. The result of matchLabels and
302 matchExpressions are ANDed. An empty label selector
303 matches all objects. A null label selector matches
307 description: matchExpressions is a list of label
308 selector requirements. The requirements are
311 description: A label selector requirement is
312 a selector that contains values, a key, and
313 an operator that relates the key and values.
316 description: key is the label key that the
320 description: operator represents a key's
321 relationship to a set of values. Valid
322 operators are In, NotIn, Exists and DoesNotExist.
325 description: values is an array of string
326 values. If the operator is In or NotIn,
327 the values array must be non-empty. If
328 the operator is Exists or DoesNotExist,
329 the values array must be empty. This array
330 is replaced during a strategic merge patch.
339 description: matchLabels is a map of {key,value}
340 pairs. A single {key,value} in the matchLabels
341 map is equivalent to an element of matchExpressions,
342 whose key field is "key", the operator is "In",
343 and the values array contains only "value".
344 The requirements are ANDed.
347 description: namespaces specifies which namespaces
348 the labelSelector applies to (matches against);
349 null or empty list means "this pod's namespace"
354 description: This pod should be co-located (affinity)
355 or not co-located (anti-affinity) with the pods
356 matching the labelSelector in the specified namespaces,
357 where co-located is defined as running on a node
358 whose value of the label with key topologyKey matches
359 that of any node on which any of the selected pods
360 is running. Empty topologyKey is not allowed.
365 description: weight associated with matching the corresponding
366 podAffinityTerm, in the range 1-100.
373 requiredDuringSchedulingIgnoredDuringExecution:
374 description: If the affinity requirements specified by this
375 field are not met at scheduling time, the pod will not be
376 scheduled onto the node. If the affinity requirements specified
377 by this field cease to be met at some point during pod execution
378 (e.g. due to a pod label update), the system may or may not
379 try to eventually evict the pod from its node. When there
380 are multiple elements, the lists of nodes corresponding to
381 each podAffinityTerm are intersected, i.e. all terms must
384 description: Defines a set of pods (namely those matching
385 the labelSelector relative to the given namespace(s)) that
386 this pod should be co-located (affinity) or not co-located
387 (anti-affinity) with, where co-located is defined as running
388 on a node whose value of the label with key <topologyKey>
389 matches that of any node on which a pod of the set of pods
393 description: A label selector is a label query over a
394 set of resources. The result of matchLabels and matchExpressions
395 are ANDed. An empty label selector matches all objects.
396 A null label selector matches no objects.
399 description: matchExpressions is a list of label selector
400 requirements. The requirements are ANDed.
402 description: A label selector requirement is a selector
403 that contains values, a key, and an operator that
404 relates the key and values.
407 description: key is the label key that the selector
411 description: operator represents a key's relationship
412 to a set of values. Valid operators are In,
413 NotIn, Exists and DoesNotExist.
416 description: values is an array of string values.
417 If the operator is In or NotIn, the values
418 array must be non-empty. If the operator is
419 Exists or DoesNotExist, the values array must
420 be empty. This array is replaced during a
421 strategic merge patch.
430 description: matchLabels is a map of {key,value} pairs.
431 A single {key,value} in the matchLabels map is equivalent
432 to an element of matchExpressions, whose key field
433 is "key", the operator is "In", and the values array
434 contains only "value". The requirements are ANDed.
437 description: namespaces specifies which namespaces the
438 labelSelector applies to (matches against); null or
439 empty list means "this pod's namespace"
444 description: This pod should be co-located (affinity)
445 or not co-located (anti-affinity) with the pods matching
446 the labelSelector in the specified namespaces, where
447 co-located is defined as running on a node whose value
448 of the label with key topologyKey matches that of any
449 node on which any of the selected pods is running. Empty
450 topologyKey is not allowed.
456 description: Pod anti affinity is a group of inter pod anti affinity
459 preferredDuringSchedulingIgnoredDuringExecution:
460 description: The scheduler will prefer to schedule pods to nodes
461 that satisfy the anti-affinity expressions specified by this
462 field, but it may choose a node that violates one or more
463 of the expressions. The node that is most preferred is the
464 one with the greatest sum of weights, i.e. for each node that
465 meets all of the scheduling requirements (resource request,
466 requiredDuringScheduling anti-affinity expressions, etc.),
467 compute a sum by iterating through the elements of this field
468 and adding "weight" to the sum if the node has pods which
469 matches the corresponding podAffinityTerm; the node(s) with
470 the highest sum are the most preferred.
472 description: The weights of all of the matched WeightedPodAffinityTerm
473 fields are added per-node to find the most preferred node(s)
476 description: Defines a set of pods (namely those matching
477 the labelSelector relative to the given namespace(s))
478 that this pod should be co-located (affinity) or not
479 co-located (anti-affinity) with, where co-located is
480 defined as running on a node whose value of the label
481 with key <topologyKey> matches that of any node on which
482 a pod of the set of pods is running
485 description: A label selector is a label query over
486 a set of resources. The result of matchLabels and
487 matchExpressions are ANDed. An empty label selector
488 matches all objects. A null label selector matches
492 description: matchExpressions is a list of label
493 selector requirements. The requirements are
496 description: A label selector requirement is
497 a selector that contains values, a key, and
498 an operator that relates the key and values.
501 description: key is the label key that the
505 description: operator represents a key's
506 relationship to a set of values. Valid
507 operators are In, NotIn, Exists and DoesNotExist.
510 description: values is an array of string
511 values. If the operator is In or NotIn,
512 the values array must be non-empty. If
513 the operator is Exists or DoesNotExist,
514 the values array must be empty. This array
515 is replaced during a strategic merge patch.
524 description: matchLabels is a map of {key,value}
525 pairs. A single {key,value} in the matchLabels
526 map is equivalent to an element of matchExpressions,
527 whose key field is "key", the operator is "In",
528 and the values array contains only "value".
529 The requirements are ANDed.
532 description: namespaces specifies which namespaces
533 the labelSelector applies to (matches against);
534 null or empty list means "this pod's namespace"
539 description: This pod should be co-located (affinity)
540 or not co-located (anti-affinity) with the pods
541 matching the labelSelector in the specified namespaces,
542 where co-located is defined as running on a node
543 whose value of the label with key topologyKey matches
544 that of any node on which any of the selected pods
545 is running. Empty topologyKey is not allowed.
550 description: weight associated with matching the corresponding
551 podAffinityTerm, in the range 1-100.
558 requiredDuringSchedulingIgnoredDuringExecution:
559 description: If the anti-affinity requirements specified by
560 this field are not met at scheduling time, the pod will not
561 be scheduled onto the node. If the anti-affinity requirements
562 specified by this field cease to be met at some point during
563 pod execution (e.g. due to a pod label update), the system
564 may or may not try to eventually evict the pod from its node.
565 When there are multiple elements, the lists of nodes corresponding
566 to each podAffinityTerm are intersected, i.e. all terms must
569 description: Defines a set of pods (namely those matching
570 the labelSelector relative to the given namespace(s)) that
571 this pod should be co-located (affinity) or not co-located
572 (anti-affinity) with, where co-located is defined as running
573 on a node whose value of the label with key <topologyKey>
574 matches that of any node on which a pod of the set of pods
578 description: A label selector is a label query over a
579 set of resources. The result of matchLabels and matchExpressions
580 are ANDed. An empty label selector matches all objects.
581 A null label selector matches no objects.
584 description: matchExpressions is a list of label selector
585 requirements. The requirements are ANDed.
587 description: A label selector requirement is a selector
588 that contains values, a key, and an operator that
589 relates the key and values.
592 description: key is the label key that the selector
596 description: operator represents a key's relationship
597 to a set of values. Valid operators are In,
598 NotIn, Exists and DoesNotExist.
601 description: values is an array of string values.
602 If the operator is In or NotIn, the values
603 array must be non-empty. If the operator is
604 Exists or DoesNotExist, the values array must
605 be empty. This array is replaced during a
606 strategic merge patch.
615 description: matchLabels is a map of {key,value} pairs.
616 A single {key,value} in the matchLabels map is equivalent
617 to an element of matchExpressions, whose key field
618 is "key", the operator is "In", and the values array
619 contains only "value". The requirements are ANDed.
622 description: namespaces specifies which namespaces the
623 labelSelector applies to (matches against); null or
624 empty list means "this pod's namespace"
629 description: This pod should be co-located (affinity)
630 or not co-located (anti-affinity) with the pods matching
631 the labelSelector in the specified namespaces, where
632 co-located is defined as running on a node whose value
633 of the label with key topologyKey matches that of any
634 node on which any of the selected pods is running. Empty
635 topologyKey is not allowed.
641 description: AlertingSpec defines parameters for alerting configuration
642 of Prometheus servers.
645 description: AlertmanagerEndpoints Prometheus should fire alerts
648 description: AlertmanagerEndpoints defines a selection of a single
649 Endpoints object containing alertmanager IPs to fire alerts
653 description: BearerTokenFile to read from filesystem to use
654 when authenticating to Alertmanager.
657 description: Name of Endpoints object in Namespace.
660 description: Namespace of Endpoints object.
663 description: Prefix for the HTTP path alerts are pushed to.
670 description: Scheme to use when firing alerts.
673 description: TLSConfig specifies TLS configuration parameters.
676 description: The CA cert to use for the targets.
679 description: The client cert file for the targets.
682 description: Disable target certificate validation.
685 description: The client key file for the targets.
688 description: Used to verify the hostname for the targets.
698 description: 'APIServerConfig defines a host and auth methods to access
699 apiserver. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config'
702 description: 'BasicAuth allow an endpoint to authenticate over basic
703 authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
706 description: SecretKeySelector selects a key of a Secret.
709 description: The key of the secret to select from. Must
710 be a valid secret key.
713 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
716 description: Specify whether the Secret or it's key must
722 description: SecretKeySelector selects a key of a Secret.
725 description: The key of the secret to select from. Must
726 be a valid secret key.
729 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
732 description: Specify whether the Secret or it's key must
738 description: Bearer token for accessing apiserver.
741 description: File to read bearer token for accessing apiserver.
744 description: Host of apiserver. A valid string consisting of a hostname
745 or IP followed by an optional port number
748 description: TLSConfig specifies TLS configuration parameters.
751 description: The CA cert to use for the targets.
754 description: The client cert file for the targets.
757 description: Disable target certificate validation.
760 description: The client key file for the targets.
763 description: Used to verify the hostname for the targets.
768 description: Base image to use for a Prometheus deployment.
771 description: ConfigMaps is a list of ConfigMaps in the same namespace
772 as the Prometheus object, which shall be mounted into the Prometheus
773 Pods. The ConfigMaps are mounted into /etc/prometheus/configmaps/<configmap-name>.
778 description: Containers allows injecting additional containers. This
779 is meant to allow adding an authentication proxy to a Prometheus pod.
781 description: A single application container that you want to run within
785 description: 'Arguments to the entrypoint. The docker image''s
786 CMD is used if this is not provided. Variable references $(VAR_NAME)
787 are expanded using the container''s environment. If a variable
788 cannot be resolved, the reference in the input string will be
789 unchanged. The $(VAR_NAME) syntax can be escaped with a double
790 $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
791 regardless of whether the variable exists or not. Cannot be
792 updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
797 description: 'Entrypoint array. Not executed within a shell. The
798 docker image''s ENTRYPOINT is used if this is not provided.
799 Variable references $(VAR_NAME) are expanded using the container''s
800 environment. If a variable cannot be resolved, the reference
801 in the input string will be unchanged. The $(VAR_NAME) syntax
802 can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
803 will never be expanded, regardless of whether the variable exists
804 or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
809 description: List of environment variables to set in the container.
812 description: EnvVar represents an environment variable present
816 description: Name of the environment variable. Must be a
820 description: 'Variable references $(VAR_NAME) are expanded
821 using the previous defined environment variables in the
822 container and any service environment variables. If a
823 variable cannot be resolved, the reference in the input
824 string will be unchanged. The $(VAR_NAME) syntax can be
825 escaped with a double $$, ie: $$(VAR_NAME). Escaped references
826 will never be expanded, regardless of whether the variable
827 exists or not. Defaults to "".'
830 description: EnvVarSource represents a source for the value
834 description: Selects a key from a ConfigMap.
837 description: The key to select.
840 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
843 description: Specify whether the ConfigMap or it's
849 description: ObjectFieldSelector selects an APIVersioned
853 description: Version of the schema the FieldPath
854 is written in terms of, defaults to "v1".
857 description: Path of the field to select in the
858 specified API version.
863 description: ResourceFieldSelector represents container
864 resources (cpu, memory) and their output format
867 description: 'Container name: required for volumes,
868 optional for env vars'
872 description: 'Required: resource to select'
877 description: SecretKeySelector selects a key of a Secret.
880 description: The key of the secret to select from. Must
881 be a valid secret key.
884 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
887 description: Specify whether the Secret or it's
896 description: List of sources to populate environment variables
897 in the container. The keys defined within a source must be a
898 C_IDENTIFIER. All invalid keys will be reported as an event
899 when the container is starting. When a key exists in multiple
900 sources, the value associated with the last source will take
901 precedence. Values defined by an Env with a duplicate key will
902 take precedence. Cannot be updated.
904 description: EnvFromSource represents the source of a set of
909 ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
911 The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
914 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
917 description: Specify whether the ConfigMap must be defined
920 description: An optional identifier to prepend to each key
921 in the ConfigMap. Must be a C_IDENTIFIER.
925 SecretEnvSource selects a Secret to populate the environment variables with.
927 The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
930 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
933 description: Specify whether the Secret must be defined
937 description: 'Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
938 This field is optional to allow higher level config management
939 to default or override container images in workload controllers
940 like Deployments and StatefulSets.'
943 description: 'Image pull policy. One of Always, Never, IfNotPresent.
944 Defaults to Always if :latest tag is specified, or IfNotPresent
945 otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images'
948 description: Lifecycle describes actions that the management system
949 should take in response to container lifecycle events. For the
950 PostStart and PreStop lifecycle handlers, management of the
951 container blocks until the action is complete, unless the container
952 process fails, in which case the handler is aborted.
955 description: Handler defines a specific action that should
959 description: ExecAction describes a "run in container"
963 description: Command is the command line to execute
964 inside the container, the working directory for
965 the command is root ('/') in the container's filesystem.
966 The command is simply exec'd, it is not run inside
967 a shell, so traditional shell instructions ('|',
968 etc) won't work. To use a shell, you need to explicitly
969 call out to that shell. Exit status of 0 is treated
970 as live/healthy and non-zero is unhealthy.
975 description: HTTPGetAction describes an action based on
979 description: Host name to connect to, defaults to
980 the pod IP. You probably want to set "Host" in httpHeaders
984 description: Custom headers to set in the request.
985 HTTP allows repeated headers.
987 description: HTTPHeader describes a custom header
988 to be used in HTTP probes
991 description: The header field name
994 description: The header field value
1001 description: Path to access on the HTTP server.
1008 description: Scheme to use for connecting to the host.
1014 description: TCPSocketAction describes an action based
1018 description: 'Optional: Host name to connect to, defaults
1028 description: Handler defines a specific action that should
1032 description: ExecAction describes a "run in container"
1036 description: Command is the command line to execute
1037 inside the container, the working directory for
1038 the command is root ('/') in the container's filesystem.
1039 The command is simply exec'd, it is not run inside
1040 a shell, so traditional shell instructions ('|',
1041 etc) won't work. To use a shell, you need to explicitly
1042 call out to that shell. Exit status of 0 is treated
1043 as live/healthy and non-zero is unhealthy.
1048 description: HTTPGetAction describes an action based on
1052 description: Host name to connect to, defaults to
1053 the pod IP. You probably want to set "Host" in httpHeaders
1057 description: Custom headers to set in the request.
1058 HTTP allows repeated headers.
1060 description: HTTPHeader describes a custom header
1061 to be used in HTTP probes
1064 description: The header field name
1067 description: The header field value
1074 description: Path to access on the HTTP server.
1081 description: Scheme to use for connecting to the host.
1087 description: TCPSocketAction describes an action based
1091 description: 'Optional: Host name to connect to, defaults
1101 description: Probe describes a health check to be performed against
1102 a container to determine whether it is alive or ready to receive
1106 description: ExecAction describes a "run in container" action.
1109 description: Command is the command line to execute inside
1110 the container, the working directory for the command is
1111 root ('/') in the container's filesystem. The command
1112 is simply exec'd, it is not run inside a shell, so traditional
1113 shell instructions ('|', etc) won't work. To use a shell,
1114 you need to explicitly call out to that shell. Exit
1115 status of 0 is treated as live/healthy and non-zero
1121 description: Minimum consecutive failures for the probe to
1122 be considered failed after having succeeded. Defaults to
1123 3. Minimum value is 1.
1127 description: HTTPGetAction describes an action based on HTTP
1131 description: Host name to connect to, defaults to the
1132 pod IP. You probably want to set "Host" in httpHeaders
1136 description: Custom headers to set in the request. HTTP
1137 allows repeated headers.
1139 description: HTTPHeader describes a custom header to
1140 be used in HTTP probes
1143 description: The header field name
1146 description: The header field value
1153 description: Path to access on the HTTP server.
1160 description: Scheme to use for connecting to the host.
1165 initialDelaySeconds:
1166 description: 'Number of seconds after the container has started
1167 before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
1171 description: How often (in seconds) to perform the probe.
1172 Default to 10 seconds. Minimum value is 1.
1176 description: Minimum consecutive successes for the probe to
1177 be considered successful after having failed. Defaults to
1178 1. Must be 1 for liveness. Minimum value is 1.
1182 description: TCPSocketAction describes an action based on
1186 description: 'Optional: Host name to connect to, defaults
1196 description: 'Number of seconds after which the probe times
1197 out. Defaults to 1 second. Minimum value is 1. More info:
1198 https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
1202 description: Name of the container specified as a DNS_LABEL. Each
1203 container in a pod must have a unique name (DNS_LABEL). Cannot
1207 description: List of ports to expose from the container. Exposing
1208 a port here gives the system additional information about the
1209 network connections a container uses, but is primarily informational.
1210 Not specifying a port here DOES NOT prevent that port from being
1211 exposed. Any port which is listening on the default "0.0.0.0"
1212 address inside a container will be accessible from the network.
1215 description: ContainerPort represents a network port in a single
1219 description: Number of port to expose on the pod's IP address.
1220 This must be a valid port number, 0 < x < 65536.
1224 description: What host IP to bind the external port to.
1227 description: Number of port to expose on the host. If specified,
1228 this must be a valid port number, 0 < x < 65536. If HostNetwork
1229 is specified, this must match ContainerPort. Most containers
1234 description: If specified, this must be an IANA_SVC_NAME
1235 and unique within the pod. Each named port in a pod must
1236 have a unique name. Name for the port that can be referred
1240 description: Protocol for port. Must be UDP, TCP, or SCTP.
1247 description: Probe describes a health check to be performed against
1248 a container to determine whether it is alive or ready to receive
1252 description: ExecAction describes a "run in container" action.
1255 description: Command is the command line to execute inside
1256 the container, the working directory for the command is
1257 root ('/') in the container's filesystem. The command
1258 is simply exec'd, it is not run inside a shell, so traditional
1259 shell instructions ('|', etc) won't work. To use a shell,
1260 you need to explicitly call out to that shell. Exit
1261 status of 0 is treated as live/healthy and non-zero
1267 description: Minimum consecutive failures for the probe to
1268 be considered failed after having succeeded. Defaults to
1269 3. Minimum value is 1.
1273 description: HTTPGetAction describes an action based on HTTP
1277 description: Host name to connect to, defaults to the
1278 pod IP. You probably want to set "Host" in httpHeaders
1282 description: Custom headers to set in the request. HTTP
1283 allows repeated headers.
1285 description: HTTPHeader describes a custom header to
1286 be used in HTTP probes
1289 description: The header field name
1292 description: The header field value
1299 description: Path to access on the HTTP server.
1306 description: Scheme to use for connecting to the host.
1311 initialDelaySeconds:
1312 description: 'Number of seconds after the container has started
1313 before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
1317 description: How often (in seconds) to perform the probe.
1318 Default to 10 seconds. Minimum value is 1.
1322 description: Minimum consecutive successes for the probe to
1323 be considered successful after having failed. Defaults to
1324 1. Must be 1 for liveness. Minimum value is 1.
1328 description: TCPSocketAction describes an action based on
1332 description: 'Optional: Host name to connect to, defaults
1342 description: 'Number of seconds after which the probe times
1343 out. Defaults to 1 second. Minimum value is 1. More info:
1344 https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
1348 description: ResourceRequirements describes the compute resource
1352 description: 'Limits describes the maximum amount of compute
1353 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
1356 description: 'Requests describes the minimum amount of compute
1357 resources required. If Requests is omitted for a container,
1358 it defaults to Limits if that is explicitly specified, otherwise
1359 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
1362 description: SecurityContext holds security configuration that
1363 will be applied to a container. Some fields are present in both
1364 SecurityContext and PodSecurityContext. When both are set,
1365 the values in SecurityContext take precedence.
1367 allowPrivilegeEscalation:
1368 description: 'AllowPrivilegeEscalation controls whether a
1369 process can gain more privileges than its parent process.
1370 This bool directly controls if the no_new_privs flag will
1371 be set on the container process. AllowPrivilegeEscalation
1372 is true always when the container is: 1) run as Privileged
1373 2) has CAP_SYS_ADMIN'
1376 description: Adds and removes POSIX capabilities from running
1380 description: Added capabilities
1385 description: Removed capabilities
1390 description: Run container in privileged mode. Processes in
1391 privileged containers are essentially equivalent to root
1392 on the host. Defaults to false.
1395 description: procMount denotes the type of proc mount to use
1396 for the containers. The default is DefaultProcMount which
1397 uses the container runtime defaults for readonly paths and
1398 masked paths. This requires the ProcMountType feature flag
1401 readOnlyRootFilesystem:
1402 description: Whether this container has a read-only root filesystem.
1406 description: The GID to run the entrypoint of the container
1407 process. Uses runtime default if unset. May also be set
1408 in PodSecurityContext. If set in both SecurityContext and
1409 PodSecurityContext, the value specified in SecurityContext
1414 description: Indicates that the container must run as a non-root
1415 user. If true, the Kubelet will validate the image at runtime
1416 to ensure that it does not run as UID 0 (root) and fail
1417 to start the container if it does. If unset or false, no
1418 such validation will be performed. May also be set in PodSecurityContext. If
1419 set in both SecurityContext and PodSecurityContext, the
1420 value specified in SecurityContext takes precedence.
1423 description: The UID to run the entrypoint of the container
1424 process. Defaults to user specified in image metadata if
1425 unspecified. May also be set in PodSecurityContext. If
1426 set in both SecurityContext and PodSecurityContext, the
1427 value specified in SecurityContext takes precedence.
1431 description: SELinuxOptions are the labels to be applied to
1435 description: Level is SELinux level label that applies
1439 description: Role is a SELinux role label that applies
1443 description: Type is a SELinux type label that applies
1447 description: User is a SELinux user label that applies
1451 description: Whether this container should allocate a buffer for
1452 stdin in the container runtime. If this is not set, reads from
1453 stdin in the container will always result in EOF. Default is
1457 description: Whether the container runtime should close the stdin
1458 channel after it has been opened by a single attach. When stdin
1459 is true the stdin stream will remain open across multiple attach
1460 sessions. If stdinOnce is set to true, stdin is opened on container
1461 start, is empty until the first client attaches to stdin, and
1462 then remains open and accepts data until the client disconnects,
1463 at which time stdin is closed and remains closed until the container
1464 is restarted. If this flag is false, a container processes that
1465 reads from stdin will never receive an EOF. Default is false
1467 terminationMessagePath:
1468 description: 'Optional: Path at which the file to which the container''s
1469 termination message will be written is mounted into the container''s
1470 filesystem. Message written is intended to be brief final status,
1471 such as an assertion failure message. Will be truncated by the
1472 node if greater than 4096 bytes. The total message length across
1473 all containers will be limited to 12kb. Defaults to /dev/termination-log.
1476 terminationMessagePolicy:
1477 description: Indicate how the termination message should be populated.
1478 File will use the contents of terminationMessagePath to populate
1479 the container status message on both success and failure. FallbackToLogsOnError
1480 will use the last chunk of container log output if the termination
1481 message file is empty and the container exited with an error.
1482 The log output is limited to 2048 bytes or 80 lines, whichever
1483 is smaller. Defaults to File. Cannot be updated.
1486 description: Whether this container should allocate a TTY for
1487 itself, also requires 'stdin' to be true. Default is false.
1490 description: volumeDevices is the list of block devices to be
1491 used by the container. This is an alpha feature and may change
1494 description: volumeDevice describes a mapping of a raw block
1495 device within a container.
1498 description: devicePath is the path inside of the container
1499 that the device will be mapped to.
1502 description: name must match the name of a persistentVolumeClaim
1510 description: Pod volumes to mount into the container's filesystem.
1513 description: VolumeMount describes a mounting of a Volume within
1517 description: Path within the container at which the volume
1518 should be mounted. Must not contain ':'.
1521 description: mountPropagation determines how mounts are
1522 propagated from the host to container and the other way
1523 around. When not set, MountPropagationNone is used. This
1524 field is beta in 1.10.
1527 description: This must match the Name of a Volume.
1530 description: Mounted read-only if true, read-write otherwise
1531 (false or unspecified). Defaults to false.
1534 description: Path within the volume from which the container's
1535 volume should be mounted. Defaults to "" (volume's root).
1542 description: Container's working directory. If not specified,
1543 the container runtime's default will be used, which might be
1544 configured in the container image. Cannot be updated.
1550 description: Interval between consecutive evaluations.
1553 description: The labels to add to any time series or alerts when communicating
1554 with external systems (federation, remote storage, Alertmanager).
1557 description: The external URL the Prometheus instances will be available
1558 under. This is necessary to generate correct URLs. This is necessary
1559 if Prometheus is not served from root of a DNS name.
1562 description: An optional list of references to secrets in the same namespace
1563 to use for pulling prometheus and alertmanager images from registries
1564 see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
1566 description: LocalObjectReference contains enough information to let
1567 you locate the referenced object inside the same namespace.
1570 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
1574 description: ListenLocal makes the Prometheus server listen on loopback,
1575 so that it does not bind against the Pod IP.
1578 description: Log level for Prometheus to be configured with.
1581 description: Define which Nodes the Pods are scheduled on.
1584 description: When a Prometheus deployment is paused, no actions except
1585 for deletion will be performed on the underlying objects.
1588 description: ObjectMeta is metadata that all persisted resources must
1589 have, which includes all objects users must create.
1592 description: 'Annotations is an unstructured key value map stored
1593 with a resource that may be set by external tools to store and
1594 retrieve arbitrary metadata. They are not queryable and should
1595 be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
1598 description: The name of the cluster which the object belongs to.
1599 This is used to distinguish resources with same name and namespace
1600 in different clusters. This field is not set anywhere right now
1601 and apiserver is going to ignore it if set in create or update
1605 description: Time is a wrapper around time.Time which supports correct
1606 marshaling to YAML and JSON. Wrappers are provided for many of
1607 the factory methods that the time package offers.
1610 deletionGracePeriodSeconds:
1611 description: Number of seconds allowed for this object to gracefully
1612 terminate before it will be removed from the system. Only set
1613 when deletionTimestamp is also set. May only be shortened. Read-only.
1617 description: Time is a wrapper around time.Time which supports correct
1618 marshaling to YAML and JSON. Wrappers are provided for many of
1619 the factory methods that the time package offers.
1623 description: Must be empty before the object is deleted from the
1624 registry. Each entry is an identifier for the responsible component
1625 that will remove the entry from the list. If the deletionTimestamp
1626 of the object is non-nil, entries in this list can only be removed.
1632 GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
1634 If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).
1636 Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1639 description: A sequence number representing a specific generation
1640 of the desired state. Populated by the system. Read-only.
1644 description: Initializers tracks the progress of initialization.
1647 description: Pending is a list of initializers that must execute
1648 in order before this object is visible. When the last pending
1649 initializer is removed, and no failing result is set, the
1650 initializers struct will be set to nil and the object is considered
1651 as initialized and visible to all clients.
1653 description: Initializer is information about an initializer
1654 that has not yet completed.
1657 description: name of the process that is responsible for
1658 initializing this object.
1664 description: Status is a return value for calls that don't return
1668 description: 'APIVersion defines the versioned schema of
1669 this representation of an object. Servers should convert
1670 recognized schemas to the latest internal value, and may
1671 reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
1674 description: Suggested HTTP return code for this status,
1679 description: StatusDetails is a set of additional properties
1680 that MAY be set by the server to provide additional information
1681 about a response. The Reason field of a Status object
1682 defines what attributes will be set. Clients must ignore
1683 fields that do not match the defined type of each attribute,
1684 and should assume that any attribute may be empty, invalid,
1688 description: The Causes array includes more details
1689 associated with the StatusReason failure. Not all
1690 StatusReasons may provide detailed causes.
1692 description: StatusCause provides more information
1693 about an api.Status failure, including cases when
1694 multiple errors are encountered.
1698 The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
1701 "name" - the field "name" on the current resource
1702 "items[0].name" - the field "name" on the first array entry in "items"
1705 description: A human-readable description of the
1706 cause of the error. This field may be presented
1710 description: A machine-readable description of
1711 the cause of the error. If this value is empty
1712 there is no information available.
1716 description: The group attribute of the resource associated
1717 with the status StatusReason.
1720 description: 'The kind attribute of the resource associated
1721 with the status StatusReason. On some operations may
1722 differ from the requested resource Kind. More info:
1723 https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
1726 description: The name attribute of the resource associated
1727 with the status StatusReason (when there is a single
1728 name which can be described).
1731 description: If specified, the time in seconds before
1732 the operation should be retried. Some errors may indicate
1733 the client must take an alternate action - for those
1734 errors this field may indicate how long to wait before
1735 taking the alternate action.
1739 description: 'UID of the resource. (when there is a
1740 single resource which can be described). More info:
1741 http://kubernetes.io/docs/user-guide/identifiers#uids'
1744 description: 'Kind is a string value representing the REST
1745 resource this object represents. Servers may infer this
1746 from the endpoint the client submits requests to. Cannot
1747 be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
1750 description: A human-readable description of the status
1754 description: ListMeta describes metadata that synthetic
1755 resources must have, including lists and various status
1756 objects. A resource may have only one of {ObjectMeta,
1760 description: continue may be set if the user set a limit
1761 on the number of items returned, and indicates that
1762 the server has more data available. The value is opaque
1763 and may be used to issue another request to the endpoint
1764 that served this list to retrieve the next set of
1765 available objects. Continuing a consistent list may
1766 not be possible if the server configuration has changed
1767 or more than a few minutes have passed. The resourceVersion
1768 field returned when using this continue value will
1769 be identical to the value in the first response, unless
1770 you have received this token from an error message.
1773 description: 'String that identifies the server''s internal
1774 version of this object that can be used by clients
1775 to determine when objects have changed. Value must
1776 be treated as opaque by clients and passed unmodified
1777 back to the server. Populated by the system. Read-only.
1778 More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
1781 description: selfLink is a URL representing this object.
1782 Populated by the system. Read-only.
1785 description: A machine-readable description of why this
1786 operation is in the "Failure" status. If this value is
1787 empty there is no information available. A Reason clarifies
1788 an HTTP status code but does not override it.
1791 description: 'Status of the operation. One of: "Success"
1792 or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
1797 description: 'Map of string keys and values that can be used to
1798 organize and categorize (scope and select) objects. May match
1799 selectors of replication controllers and services. More info:
1800 http://kubernetes.io/docs/user-guide/labels'
1803 description: 'Name must be unique within a namespace. Is required
1804 when creating resources, although some resources may allow a client
1805 to request the generation of an appropriate name automatically.
1806 Name is primarily intended for creation idempotence and configuration
1807 definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
1811 Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
1813 Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
1816 description: List of objects depended by this object. If ALL objects
1817 in the list have been deleted, this object will be garbage collected.
1818 If this object is managed by a controller, then an entry in this
1819 list will point to this controller, with the controller field
1820 set to true. There cannot be more than one managing controller.
1822 description: OwnerReference contains enough information to let
1823 you identify an owning object. Currently, an owning object must
1824 be in the same namespace, so there is no namespace field.
1827 description: API version of the referent.
1830 description: If true, AND if the owner has the "foregroundDeletion"
1831 finalizer, then the owner cannot be deleted from the key-value
1832 store until this reference is removed. Defaults to false.
1833 To set this field, a user needs "delete" permission of the
1834 owner, otherwise 422 (Unprocessable Entity) will be returned.
1837 description: If true, this reference points to the managing
1841 description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
1844 description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
1847 description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
1857 An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.
1859 Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1862 description: SelfLink is a URL representing this object. Populated
1863 by the system. Read-only.
1867 UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
1869 Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1872 description: Priority class assigned to the Pods
1875 description: If specified, the remote_read spec. This is an experimental
1876 feature, it may change in any upcoming release in a breaking way.
1878 description: RemoteReadSpec defines the remote_read configuration
1882 description: 'BasicAuth allow an endpoint to authenticate over
1883 basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
1886 description: SecretKeySelector selects a key of a Secret.
1889 description: The key of the secret to select from. Must
1890 be a valid secret key.
1893 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
1896 description: Specify whether the Secret or it's key must
1902 description: SecretKeySelector selects a key of a Secret.
1905 description: The key of the secret to select from. Must
1906 be a valid secret key.
1909 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
1912 description: Specify whether the Secret or it's key must
1918 description: bearer token for remote read.
1921 description: File to read bearer token for remote read.
1924 description: Optional ProxyURL
1927 description: Whether reads should be made for queries for time
1928 ranges that the local storage should have complete data for.
1931 description: Timeout for requests to the remote read endpoint.
1934 description: An optional list of equality matchers which have
1935 to be present in a selector to query the remote read endpoint.
1938 description: TLSConfig specifies TLS configuration parameters.
1941 description: The CA cert to use for the targets.
1944 description: The client cert file for the targets.
1947 description: Disable target certificate validation.
1950 description: The client key file for the targets.
1953 description: Used to verify the hostname for the targets.
1956 description: The URL of the endpoint to send samples to.
1962 description: If specified, the remote_write spec. This is an experimental
1963 feature, it may change in any upcoming release in a breaking way.
1965 description: RemoteWriteSpec defines the remote_write configuration
1969 description: 'BasicAuth allow an endpoint to authenticate over
1970 basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
1973 description: SecretKeySelector selects a key of a Secret.
1976 description: The key of the secret to select from. Must
1977 be a valid secret key.
1980 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
1983 description: Specify whether the Secret or it's key must
1989 description: SecretKeySelector selects a key of a Secret.
1992 description: The key of the secret to select from. Must
1993 be a valid secret key.
1996 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
1999 description: Specify whether the Secret or it's key must
2005 description: File to read bearer token for remote write.
2008 description: File to read bearer token for remote write.
2011 description: Optional ProxyURL
2014 description: QueueConfig allows the tuning of remote_write queue_config
2015 parameters. This object is referenced in the RemoteWriteSpec
2019 description: BatchSendDeadline is the maximum time a sample
2020 will wait in buffer.
2023 description: Capacity is the number of samples to buffer per
2024 shard before we start dropping them.
2028 description: MaxBackoff is the maximum retry delay.
2031 description: MaxRetries is the maximum number of times to
2032 retry a batch on recoverable errors.
2036 description: MaxSamplesPerSend is the maximum number of samples
2041 description: MaxShards is the maximum number of shards, i.e.
2042 amount of concurrency.
2046 description: MinBackoff is the initial retry delay. Gets doubled
2050 description: Timeout for requests to the remote write endpoint.
2053 description: TLSConfig specifies TLS configuration parameters.
2056 description: The CA cert to use for the targets.
2059 description: The client cert file for the targets.
2062 description: Disable target certificate validation.
2065 description: The client key file for the targets.
2068 description: Used to verify the hostname for the targets.
2071 description: The URL of the endpoint to send samples to.
2073 writeRelabelConfigs:
2074 description: The list of remote write relabel configurations.
2076 description: 'RelabelConfig allows dynamic rewriting of the
2077 label set, being applied to samples before ingestion. It defines
2078 `<metric_relabel_configs>`-section of Prometheus configuration.
2079 More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
2082 description: Action to perform based on regex matching.
2083 Default is 'replace'
2086 description: Modulus to take of the hash of the source label
2091 description: Regular expression against which the extracted
2092 value is matched. defailt is '(.*)'
2095 description: Replacement value against which a regex replace
2096 is performed if the regular expression matches. Regex
2097 capture groups are available. Default is '$1'
2100 description: Separator placed between concatenated source
2101 label values. default is ';'.
2104 description: The source labels select values from existing
2105 labels. Their content is concatenated using the configured
2106 separator and matched against the configured regular expression
2107 for the replace, keep, and drop actions.
2112 description: Label to which the resulting value is written
2113 in a replace action. It is mandatory for replace actions.
2114 Regex capture groups are available.
2121 description: Number of instances to deploy for a Prometheus deployment.
2125 description: ResourceRequirements describes the compute resource requirements.
2128 description: 'Limits describes the maximum amount of compute resources
2129 allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2132 description: 'Requests describes the minimum amount of compute resources
2133 required. If Requests is omitted for a container, it defaults
2134 to Limits if that is explicitly specified, otherwise to an implementation-defined
2135 value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2138 description: Time duration Prometheus shall retain data for. Default
2139 is '24h', and must match the regular expression `[0-9]+(ms|s|m|h|d|w|y)`
2140 (milliseconds seconds minutes hours days weeks years).
2143 description: The route prefix Prometheus registers HTTP handlers for.
2144 This is useful, if using ExternalURL and a proxy is rewriting HTTP
2145 routes of a request, and the actual ExternalURL is still true, but
2146 the server serves requests under a different route prefix. For example
2147 for use with `kubectl proxy`.
2149 ruleNamespaceSelector:
2150 description: A label selector is a label query over a set of resources.
2151 The result of matchLabels and matchExpressions are ANDed. An empty
2152 label selector matches all objects. A null label selector matches
2156 description: matchExpressions is a list of label selector requirements.
2157 The requirements are ANDed.
2159 description: A label selector requirement is a selector that contains
2160 values, a key, and an operator that relates the key and values.
2163 description: key is the label key that the selector applies
2167 description: operator represents a key's relationship to a
2168 set of values. Valid operators are In, NotIn, Exists and
2172 description: values is an array of string values. If the operator
2173 is In or NotIn, the values array must be non-empty. If the
2174 operator is Exists or DoesNotExist, the values array must
2175 be empty. This array is replaced during a strategic merge
2185 description: matchLabels is a map of {key,value} pairs. A single
2186 {key,value} in the matchLabels map is equivalent to an element
2187 of matchExpressions, whose key field is "key", the operator is
2188 "In", and the values array contains only "value". The requirements
2192 description: A label selector is a label query over a set of resources.
2193 The result of matchLabels and matchExpressions are ANDed. An empty
2194 label selector matches all objects. A null label selector matches
2198 description: matchExpressions is a list of label selector requirements.
2199 The requirements are ANDed.
2201 description: A label selector requirement is a selector that contains
2202 values, a key, and an operator that relates the key and values.
2205 description: key is the label key that the selector applies
2209 description: operator represents a key's relationship to a
2210 set of values. Valid operators are In, NotIn, Exists and
2214 description: values is an array of string values. If the operator
2215 is In or NotIn, the values array must be non-empty. If the
2216 operator is Exists or DoesNotExist, the values array must
2217 be empty. This array is replaced during a strategic merge
2227 description: matchLabels is a map of {key,value} pairs. A single
2228 {key,value} in the matchLabels map is equivalent to an element
2229 of matchExpressions, whose key field is "key", the operator is
2230 "In", and the values array contains only "value". The requirements
2234 description: Interval between consecutive scrapes.
2237 description: Secrets is a list of Secrets in the same namespace as the
2238 Prometheus object, which shall be mounted into the Prometheus Pods.
2239 The Secrets are mounted into /etc/prometheus/secrets/<secret-name>.
2244 description: PodSecurityContext holds pod-level security attributes
2245 and common container settings. Some fields are also present in container.securityContext. Field
2246 values of container.securityContext take precedence over field values
2247 of PodSecurityContext.
2251 A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:
2253 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----
2255 If unset, the Kubelet will not modify the ownership and permissions of any volume.
2259 description: The GID to run the entrypoint of the container process.
2260 Uses runtime default if unset. May also be set in SecurityContext. If
2261 set in both SecurityContext and PodSecurityContext, the value
2262 specified in SecurityContext takes precedence for that container.
2266 description: Indicates that the container must run as a non-root
2267 user. If true, the Kubelet will validate the image at runtime
2268 to ensure that it does not run as UID 0 (root) and fail to start
2269 the container if it does. If unset or false, no such validation
2270 will be performed. May also be set in SecurityContext. If set
2271 in both SecurityContext and PodSecurityContext, the value specified
2272 in SecurityContext takes precedence.
2275 description: The UID to run the entrypoint of the container process.
2276 Defaults to user specified in image metadata if unspecified. May
2277 also be set in SecurityContext. If set in both SecurityContext
2278 and PodSecurityContext, the value specified in SecurityContext
2279 takes precedence for that container.
2283 description: SELinuxOptions are the labels to be applied to the
2287 description: Level is SELinux level label that applies to the
2291 description: Role is a SELinux role label that applies to the
2295 description: Type is a SELinux type label that applies to the
2299 description: User is a SELinux user label that applies to the
2303 description: A list of groups applied to the first process run in
2304 each container, in addition to the container's primary GID. If
2305 unspecified, no groups will be added to any container.
2311 description: Sysctls hold a list of namespaced sysctls used for
2312 the pod. Pods with unsupported sysctls (by the container runtime)
2313 might fail to launch.
2315 description: Sysctl defines a kernel parameter to be set
2318 description: Name of a property to set
2321 description: Value of a property to set
2328 description: ServiceAccountName is the name of the ServiceAccount to
2329 use to run the Prometheus Pods.
2331 serviceMonitorNamespaceSelector:
2332 description: A label selector is a label query over a set of resources.
2333 The result of matchLabels and matchExpressions are ANDed. An empty
2334 label selector matches all objects. A null label selector matches
2338 description: matchExpressions is a list of label selector requirements.
2339 The requirements are ANDed.
2341 description: A label selector requirement is a selector that contains
2342 values, a key, and an operator that relates the key and values.
2345 description: key is the label key that the selector applies
2349 description: operator represents a key's relationship to a
2350 set of values. Valid operators are In, NotIn, Exists and
2354 description: values is an array of string values. If the operator
2355 is In or NotIn, the values array must be non-empty. If the
2356 operator is Exists or DoesNotExist, the values array must
2357 be empty. This array is replaced during a strategic merge
2367 description: matchLabels is a map of {key,value} pairs. A single
2368 {key,value} in the matchLabels map is equivalent to an element
2369 of matchExpressions, whose key field is "key", the operator is
2370 "In", and the values array contains only "value". The requirements
2373 serviceMonitorSelector:
2374 description: A label selector is a label query over a set of resources.
2375 The result of matchLabels and matchExpressions are ANDed. An empty
2376 label selector matches all objects. A null label selector matches
2380 description: matchExpressions is a list of label selector requirements.
2381 The requirements are ANDed.
2383 description: A label selector requirement is a selector that contains
2384 values, a key, and an operator that relates the key and values.
2387 description: key is the label key that the selector applies
2391 description: operator represents a key's relationship to a
2392 set of values. Valid operators are In, NotIn, Exists and
2396 description: values is an array of string values. If the operator
2397 is In or NotIn, the values array must be non-empty. If the
2398 operator is Exists or DoesNotExist, the values array must
2399 be empty. This array is replaced during a strategic merge
2409 description: matchLabels is a map of {key,value} pairs. A single
2410 {key,value} in the matchLabels map is equivalent to an element
2411 of matchExpressions, whose key field is "key", the operator is
2412 "In", and the values array contains only "value". The requirements
2416 description: SHA of Prometheus container image to be deployed. Defaults
2417 to the value of `version`. Similar to a tag, but the SHA explicitly
2418 deploys an immutable container image. Version and Tag are ignored
2422 description: StorageSpec defines the configured storage for a group
2423 Prometheus servers. If neither `emptyDir` nor `volumeClaimTemplate`
2424 is specified, then by default an [EmptyDir](https://kubernetes.io/docs/concepts/storage/volumes/#emptydir)
2428 description: 'Name of the StorageClass to use when requesting storage
2429 provisioning. More info: https://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses
2430 (DEPRECATED - instead use `volumeClaimTemplate.spec.storageClassName`)'
2433 description: Represents an empty directory for a pod. Empty directory
2434 volumes support ownership management and SELinux relabeling.
2437 description: 'What type of storage medium should back this directory.
2438 The default is "" which means to use the node''s default medium.
2439 Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
2443 description: ResourceRequirements describes the compute resource
2447 description: 'Limits describes the maximum amount of compute
2448 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2451 description: 'Requests describes the minimum amount of compute
2452 resources required. If Requests is omitted for a container,
2453 it defaults to Limits if that is explicitly specified, otherwise
2454 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2457 description: A label selector is a label query over a set of resources.
2458 The result of matchLabels and matchExpressions are ANDed. An empty
2459 label selector matches all objects. A null label selector matches
2463 description: matchExpressions is a list of label selector requirements.
2464 The requirements are ANDed.
2466 description: A label selector requirement is a selector that
2467 contains values, a key, and an operator that relates the
2471 description: key is the label key that the selector applies
2475 description: operator represents a key's relationship
2476 to a set of values. Valid operators are In, NotIn, Exists
2480 description: values is an array of string values. If the
2481 operator is In or NotIn, the values array must be non-empty.
2482 If the operator is Exists or DoesNotExist, the values
2483 array must be empty. This array is replaced during a
2484 strategic merge patch.
2493 description: matchLabels is a map of {key,value} pairs. A single
2494 {key,value} in the matchLabels map is equivalent to an element
2495 of matchExpressions, whose key field is "key", the operator
2496 is "In", and the values array contains only "value". The requirements
2499 volumeClaimTemplate:
2500 description: PersistentVolumeClaim is a user's request for and claim
2501 to a persistent volume
2504 description: 'APIVersion defines the versioned schema of this
2505 representation of an object. Servers should convert recognized
2506 schemas to the latest internal value, and may reject unrecognized
2507 values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
2510 description: 'Kind is a string value representing the REST resource
2511 this object represents. Servers may infer this from the endpoint
2512 the client submits requests to. Cannot be updated. In CamelCase.
2513 More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
2516 description: ObjectMeta is metadata that all persisted resources
2517 must have, which includes all objects users must create.
2520 description: 'Annotations is an unstructured key value map
2521 stored with a resource that may be set by external tools
2522 to store and retrieve arbitrary metadata. They are not
2523 queryable and should be preserved when modifying objects.
2524 More info: http://kubernetes.io/docs/user-guide/annotations'
2527 description: The name of the cluster which the object belongs
2528 to. This is used to distinguish resources with same name
2529 and namespace in different clusters. This field is not
2530 set anywhere right now and apiserver is going to ignore
2531 it if set in create or update request.
2534 description: Time is a wrapper around time.Time which supports
2535 correct marshaling to YAML and JSON. Wrappers are provided
2536 for many of the factory methods that the time package
2540 deletionGracePeriodSeconds:
2541 description: Number of seconds allowed for this object to
2542 gracefully terminate before it will be removed from the
2543 system. Only set when deletionTimestamp is also set. May
2544 only be shortened. Read-only.
2548 description: Time is a wrapper around time.Time which supports
2549 correct marshaling to YAML and JSON. Wrappers are provided
2550 for many of the factory methods that the time package
2555 description: Must be empty before the object is deleted
2556 from the registry. Each entry is an identifier for the
2557 responsible component that will remove the entry from
2558 the list. If the deletionTimestamp of the object is non-nil,
2559 entries in this list can only be removed.
2565 GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
2567 If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).
2569 Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
2572 description: A sequence number representing a specific generation
2573 of the desired state. Populated by the system. Read-only.
2577 description: Initializers tracks the progress of initialization.
2580 description: Pending is a list of initializers that
2581 must execute in order before this object is visible.
2582 When the last pending initializer is removed, and
2583 no failing result is set, the initializers struct
2584 will be set to nil and the object is considered as
2585 initialized and visible to all clients.
2587 description: Initializer is information about an initializer
2588 that has not yet completed.
2591 description: name of the process that is responsible
2592 for initializing this object.
2598 description: Status is a return value for calls that
2599 don't return other objects.
2602 description: 'APIVersion defines the versioned schema
2603 of this representation of an object. Servers should
2604 convert recognized schemas to the latest internal
2605 value, and may reject unrecognized values. More
2606 info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
2609 description: Suggested HTTP return code for this
2610 status, 0 if not set.
2614 description: StatusDetails is a set of additional
2615 properties that MAY be set by the server to provide
2616 additional information about a response. The Reason
2617 field of a Status object defines what attributes
2618 will be set. Clients must ignore fields that do
2619 not match the defined type of each attribute,
2620 and should assume that any attribute may be empty,
2621 invalid, or under defined.
2624 description: The Causes array includes more
2625 details associated with the StatusReason failure.
2626 Not all StatusReasons may provide detailed
2629 description: StatusCause provides more information
2630 about an api.Status failure, including cases
2631 when multiple errors are encountered.
2635 The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
2638 "name" - the field "name" on the current resource
2639 "items[0].name" - the field "name" on the first array entry in "items"
2642 description: A human-readable description
2643 of the cause of the error. This field
2644 may be presented as-is to a reader.
2647 description: A machine-readable description
2648 of the cause of the error. If this value
2649 is empty there is no information available.
2653 description: The group attribute of the resource
2654 associated with the status StatusReason.
2657 description: 'The kind attribute of the resource
2658 associated with the status StatusReason. On
2659 some operations may differ from the requested
2660 resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
2663 description: The name attribute of the resource
2664 associated with the status StatusReason (when
2665 there is a single name which can be described).
2668 description: If specified, the time in seconds
2669 before the operation should be retried. Some
2670 errors may indicate the client must take an
2671 alternate action - for those errors this field
2672 may indicate how long to wait before taking
2673 the alternate action.
2677 description: 'UID of the resource. (when there
2678 is a single resource which can be described).
2679 More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
2682 description: 'Kind is a string value representing
2683 the REST resource this object represents. Servers
2684 may infer this from the endpoint the client submits
2685 requests to. Cannot be updated. In CamelCase.
2686 More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
2689 description: A human-readable description of the
2690 status of this operation.
2693 description: ListMeta describes metadata that synthetic
2694 resources must have, including lists and various
2695 status objects. A resource may have only one of
2696 {ObjectMeta, ListMeta}.
2699 description: continue may be set if the user
2700 set a limit on the number of items returned,
2701 and indicates that the server has more data
2702 available. The value is opaque and may be
2703 used to issue another request to the endpoint
2704 that served this list to retrieve the next
2705 set of available objects. Continuing a consistent
2706 list may not be possible if the server configuration
2707 has changed or more than a few minutes have
2708 passed. The resourceVersion field returned
2709 when using this continue value will be identical
2710 to the value in the first response, unless
2711 you have received this token from an error
2715 description: 'String that identifies the server''s
2716 internal version of this object that can be
2717 used by clients to determine when objects
2718 have changed. Value must be treated as opaque
2719 by clients and passed unmodified back to the
2720 server. Populated by the system. Read-only.
2721 More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
2724 description: selfLink is a URL representing
2725 this object. Populated by the system. Read-only.
2728 description: A machine-readable description of why
2729 this operation is in the "Failure" status. If
2730 this value is empty there is no information available.
2731 A Reason clarifies an HTTP status code but does
2735 description: 'Status of the operation. One of: "Success"
2736 or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
2741 description: 'Map of string keys and values that can be
2742 used to organize and categorize (scope and select) objects.
2743 May match selectors of replication controllers and services.
2744 More info: http://kubernetes.io/docs/user-guide/labels'
2747 description: 'Name must be unique within a namespace. Is
2748 required when creating resources, although some resources
2749 may allow a client to request the generation of an appropriate
2750 name automatically. Name is primarily intended for creation
2751 idempotence and configuration definition. Cannot be updated.
2752 More info: http://kubernetes.io/docs/user-guide/identifiers#names'
2756 Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
2758 Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
2761 description: List of objects depended by this object. If
2762 ALL objects in the list have been deleted, this object
2763 will be garbage collected. If this object is managed by
2764 a controller, then an entry in this list will point to
2765 this controller, with the controller field set to true.
2766 There cannot be more than one managing controller.
2768 description: OwnerReference contains enough information
2769 to let you identify an owning object. Currently, an
2770 owning object must be in the same namespace, so there
2771 is no namespace field.
2774 description: API version of the referent.
2777 description: If true, AND if the owner has the "foregroundDeletion"
2778 finalizer, then the owner cannot be deleted from
2779 the key-value store until this reference is removed.
2780 Defaults to false. To set this field, a user needs
2781 "delete" permission of the owner, otherwise 422
2782 (Unprocessable Entity) will be returned.
2785 description: If true, this reference points to the
2786 managing controller.
2789 description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
2792 description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
2795 description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
2805 An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.
2807 Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
2810 description: SelfLink is a URL representing this object.
2811 Populated by the system. Read-only.
2815 UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
2817 Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
2820 description: PersistentVolumeClaimSpec describes the common
2821 attributes of storage devices and allows a Source for provider-specific
2825 description: 'AccessModes contains the desired access modes
2826 the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
2831 description: TypedLocalObjectReference contains enough information
2832 to let you locate the typed referenced object inside the
2836 description: APIGroup is the group for the resource
2837 being referenced. If APIGroup is not specified, the
2838 specified Kind must be in the core API group. For
2839 any other third-party types, APIGroup is required.
2842 description: Kind is the type of resource being referenced
2845 description: Name is the name of resource being referenced
2851 description: ResourceRequirements describes the compute
2852 resource requirements.
2855 description: 'Limits describes the maximum amount of
2856 compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2859 description: 'Requests describes the minimum amount
2860 of compute resources required. If Requests is omitted
2861 for a container, it defaults to Limits if that is
2862 explicitly specified, otherwise to an implementation-defined
2863 value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
2866 description: A label selector is a label query over a set
2867 of resources. The result of matchLabels and matchExpressions
2868 are ANDed. An empty label selector matches all objects.
2869 A null label selector matches no objects.
2872 description: matchExpressions is a list of label selector
2873 requirements. The requirements are ANDed.
2875 description: A label selector requirement is a selector
2876 that contains values, a key, and an operator that
2877 relates the key and values.
2880 description: key is the label key that the selector
2884 description: operator represents a key's relationship
2885 to a set of values. Valid operators are In,
2886 NotIn, Exists and DoesNotExist.
2889 description: values is an array of string values.
2890 If the operator is In or NotIn, the values array
2891 must be non-empty. If the operator is Exists
2892 or DoesNotExist, the values array must be empty.
2893 This array is replaced during a strategic merge
2903 description: matchLabels is a map of {key,value} pairs.
2904 A single {key,value} in the matchLabels map is equivalent
2905 to an element of matchExpressions, whose key field
2906 is "key", the operator is "In", and the values array
2907 contains only "value". The requirements are ANDed.
2910 description: 'Name of the StorageClass required by the claim.
2911 More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
2914 description: volumeMode defines what type of volume is required
2915 by the claim. Value of Filesystem is implied when not
2916 included in claim spec. This is an alpha feature and may
2917 change in the future.
2920 description: VolumeName is the binding reference to the
2921 PersistentVolume backing this claim.
2924 description: PersistentVolumeClaimStatus is the current status
2925 of a persistent volume claim.
2928 description: 'AccessModes contains the actual access modes
2929 the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
2934 description: Represents the actual resources of the underlying
2938 description: Current Condition of persistent volume claim.
2939 If underlying persistent volume is being resized then
2940 the Condition will be set to 'ResizeStarted'.
2942 description: PersistentVolumeClaimCondition contails details
2946 description: Time is a wrapper around time.Time which
2947 supports correct marshaling to YAML and JSON. Wrappers
2948 are provided for many of the factory methods that
2949 the time package offers.
2953 description: Time is a wrapper around time.Time which
2954 supports correct marshaling to YAML and JSON. Wrappers
2955 are provided for many of the factory methods that
2956 the time package offers.
2960 description: Human-readable message indicating details
2961 about last transition.
2964 description: Unique, this should be a short, machine
2965 understandable string that gives the reason for
2966 condition's last transition. If it reports "ResizeStarted"
2967 that means the underlying persistent volume is being
2979 description: Phase represents the current phase of PersistentVolumeClaim.
2982 description: Tag of Prometheus container image to be deployed. Defaults
2983 to the value of `version`. Version is ignored if Tag is set.
2986 description: ThanosSpec defines parameters for a Prometheus server within
2987 a Thanos deployment.
2990 description: Thanos base image if other than default.
2993 description: ThanosGCSSpec defines parameters for use of Google
2994 Cloud Storage (GCS) with Thanos.
2997 description: Google Cloud Storage bucket name for stored blocks.
2998 If empty it won't store any block inside Google Cloud Storage.
3001 description: SecretKeySelector selects a key of a Secret.
3004 description: The key of the secret to select from. Must
3005 be a valid secret key.
3008 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
3011 description: Specify whether the Secret or it's key must
3017 description: Peers is a DNS name for Thanos to discover peers through.
3020 description: ResourceRequirements describes the compute resource
3024 description: 'Limits describes the maximum amount of compute
3025 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
3028 description: 'Requests describes the minimum amount of compute
3029 resources required. If Requests is omitted for a container,
3030 it defaults to Limits if that is explicitly specified, otherwise
3031 to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
3034 description: ThanosS3Spec defines parameters for of AWS Simple Storage
3035 Service (S3) with Thanos. (S3 compatible services apply as well)
3038 description: SecretKeySelector selects a key of a Secret.
3041 description: The key of the secret to select from. Must
3042 be a valid secret key.
3045 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
3048 description: Specify whether the Secret or it's key must
3054 description: S3-Compatible API bucket name for stored blocks.
3057 description: Whether to use Server Side Encryption
3060 description: S3-Compatible API endpoint for stored blocks.
3063 description: Whether to use an insecure connection with an S3-Compatible
3067 description: SecretKeySelector selects a key of a Secret.
3070 description: The key of the secret to select from. Must
3071 be a valid secret key.
3074 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
3077 description: Specify whether the Secret or it's key must
3083 description: Whether to use S3 Signature Version 2; otherwise
3084 Signature Version 4 will be used.
3087 description: SHA of Thanos container image to be deployed. Defaults
3088 to the value of `version`. Similar to a tag, but the SHA explicitly
3089 deploys an immutable container image. Version and Tag are ignored
3093 description: Tag of Thanos sidecar container image to be deployed.
3094 Defaults to the value of `version`. Version is ignored if Tag
3098 description: Version describes the version of Thanos to use.
3101 description: If specified, the pod's tolerations.
3103 description: The pod this Toleration is attached to tolerates any
3104 taint that matches the triple <key,value,effect> using the matching
3105 operator <operator>.
3108 description: Effect indicates the taint effect to match. Empty
3109 means match all taint effects. When specified, allowed values
3110 are NoSchedule, PreferNoSchedule and NoExecute.
3113 description: Key is the taint key that the toleration applies
3114 to. Empty means match all taint keys. If the key is empty, operator
3115 must be Exists; this combination means to match all values and
3119 description: Operator represents a key's relationship to the value.
3120 Valid operators are Exists and Equal. Defaults to Equal. Exists
3121 is equivalent to wildcard for value, so that a pod can tolerate
3122 all taints of a particular category.
3125 description: TolerationSeconds represents the period of time the
3126 toleration (which must be of effect NoExecute, otherwise this
3127 field is ignored) tolerates the taint. By default, it is not
3128 set, which means tolerate the taint forever (do not evict).
3129 Zero and negative values will be treated as 0 (evict immediately)
3134 description: Value is the taint value the toleration matches to.
3135 If the operator is Exists, the value should be empty, otherwise
3136 just a regular string.
3140 description: Version of Prometheus to be deployed.
3143 description: 'PrometheusStatus is the most recent observed status of the
3144 Prometheus cluster. Read-only. Not included when requesting from the apiserver,
3145 only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
3148 description: Total number of available pods (ready for at least minReadySeconds)
3149 targeted by this Prometheus deployment.
3153 description: Represents whether any actions on the underlaying managed
3154 objects are being performed. Only delete actions will be performed.
3157 description: Total number of non-terminated pods targeted by this Prometheus
3158 deployment (their labels match the selector).
3161 unavailableReplicas:
3162 description: Total number of unavailable pods targeted by this Prometheus
3167 description: Total number of non-terminated pods targeted by this Prometheus
3168 deployment that have the desired version spec.
3176 - unavailableReplicas