github.com/operator-framework/operator-lifecycle-manager@v0.30.0/pkg/package-server/provider/testdata/manifests/prometheus/0.14.0/prometheus.crd.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1beta1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: prometheuses.monitoring.coreos.com
     5  spec:
     6    group: monitoring.coreos.com
     7    names:
     8      kind: Prometheus
     9      plural: prometheuses
    10    scope: Namespaced
    11    validation:
    12      openAPIV3Schema:
    13        properties:
    14          spec:
    15            description: 'Specification of the desired behavior of the Prometheus cluster.
    16              More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
    17            properties:
    18              additionalAlertManagerConfigs:
    19                description: SecretKeySelector selects a key of a Secret.
    20                properties:
    21                  key:
    22                    description: The key of the secret to select from.  Must be a valid
    23                      secret key.
    24                    type: string
    25                  name:
    26                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    27                    type: string
    28                  optional:
    29                    description: Specify whether the Secret or it's key must be defined
    30                    type: boolean
    31                required:
    32                - key
    33              additionalScrapeConfigs:
    34                description: SecretKeySelector selects a key of a Secret.
    35                properties:
    36                  key:
    37                    description: The key of the secret to select from.  Must be a valid
    38                      secret key.
    39                    type: string
    40                  name:
    41                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    42                    type: string
    43                  optional:
    44                    description: Specify whether the Secret or it's key must be defined
    45                    type: boolean
    46                required:
    47                - key
    48              affinity:
    49                description: Affinity is a group of affinity scheduling rules.
    50                properties:
    51                  nodeAffinity:
    52                    description: Node affinity is a group of node affinity scheduling
    53                      rules.
    54                    properties:
    55                      preferredDuringSchedulingIgnoredDuringExecution:
    56                        description: The scheduler will prefer to schedule pods to nodes
    57                          that satisfy the affinity expressions specified by this field,
    58                          but it may choose a node that violates one or more of the
    59                          expressions. The node that is most preferred is the one with
    60                          the greatest sum of weights, i.e. for each node that meets
    61                          all of the scheduling requirements (resource request, requiredDuringScheduling
    62                          affinity expressions, etc.), compute a sum by iterating through
    63                          the elements of this field and adding "weight" to the sum
    64                          if the node matches the corresponding matchExpressions; the
    65                          node(s) with the highest sum are the most preferred.
    66                        items:
    67                          description: An empty preferred scheduling term matches all
    68                            objects with implicit weight 0 (i.e. it's a no-op). A null
    69                            preferred scheduling term matches no objects (i.e. is also
    70                            a no-op).
    71                          properties:
    72                            preference:
    73                              description: A null or empty node selector term matches
    74                                no objects. The requirements of them are ANDed. The
    75                                TopologySelectorTerm type implements a subset of the
    76                                NodeSelectorTerm.
    77                              properties:
    78                                matchExpressions:
    79                                  description: A list of node selector requirements
    80                                    by node's labels.
    81                                  items:
    82                                    description: A node selector requirement is a selector
    83                                      that contains values, a key, and an operator that
    84                                      relates the key and values.
    85                                    properties:
    86                                      key:
    87                                        description: The label key that the selector
    88                                          applies to.
    89                                        type: string
    90                                      operator:
    91                                        description: Represents a key's relationship
    92                                          to a set of values. Valid operators are In,
    93                                          NotIn, Exists, DoesNotExist. Gt, and Lt.
    94                                        type: string
    95                                      values:
    96                                        description: An array of string values. If the
    97                                          operator is In or NotIn, the values array
    98                                          must be non-empty. If the operator is Exists
    99                                          or DoesNotExist, the values array must be
   100                                          empty. If the operator is Gt or Lt, the values
   101                                          array must have a single element, which will
   102                                          be interpreted as an integer. This array is
   103                                          replaced during a strategic merge patch.
   104                                        items:
   105                                          type: string
   106                                        type: array
   107                                    required:
   108                                    - key
   109                                    - operator
   110                                  type: array
   111                                matchFields:
   112                                  description: A list of node selector requirements
   113                                    by node's fields.
   114                                  items:
   115                                    description: A node selector requirement is a selector
   116                                      that contains values, a key, and an operator that
   117                                      relates the key and values.
   118                                    properties:
   119                                      key:
   120                                        description: The label key that the selector
   121                                          applies to.
   122                                        type: string
   123                                      operator:
   124                                        description: Represents a key's relationship
   125                                          to a set of values. Valid operators are In,
   126                                          NotIn, Exists, DoesNotExist. Gt, and Lt.
   127                                        type: string
   128                                      values:
   129                                        description: An array of string values. If the
   130                                          operator is In or NotIn, the values array
   131                                          must be non-empty. If the operator is Exists
   132                                          or DoesNotExist, the values array must be
   133                                          empty. If the operator is Gt or Lt, the values
   134                                          array must have a single element, which will
   135                                          be interpreted as an integer. This array is
   136                                          replaced during a strategic merge patch.
   137                                        items:
   138                                          type: string
   139                                        type: array
   140                                    required:
   141                                    - key
   142                                    - operator
   143                                  type: array
   144                            weight:
   145                              description: Weight associated with matching the corresponding
   146                                nodeSelectorTerm, in the range 1-100.
   147                              format: int32
   148                              type: integer
   149                          required:
   150                          - weight
   151                          - preference
   152                        type: array
   153                      requiredDuringSchedulingIgnoredDuringExecution:
   154                        description: A node selector represents the union of the results
   155                          of one or more label queries over a set of nodes; that is,
   156                          it represents the OR of the selectors represented by the node
   157                          selector terms.
   158                        properties:
   159                          nodeSelectorTerms:
   160                            description: Required. A list of node selector terms. The
   161                              terms are ORed.
   162                            items:
   163                              description: A null or empty node selector term matches
   164                                no objects. The requirements of them are ANDed. The
   165                                TopologySelectorTerm type implements a subset of the
   166                                NodeSelectorTerm.
   167                              properties:
   168                                matchExpressions:
   169                                  description: A list of node selector requirements
   170                                    by node's labels.
   171                                  items:
   172                                    description: A node selector requirement is a selector
   173                                      that contains values, a key, and an operator that
   174                                      relates the key and values.
   175                                    properties:
   176                                      key:
   177                                        description: The label key that the selector
   178                                          applies to.
   179                                        type: string
   180                                      operator:
   181                                        description: Represents a key's relationship
   182                                          to a set of values. Valid operators are In,
   183                                          NotIn, Exists, DoesNotExist. Gt, and Lt.
   184                                        type: string
   185                                      values:
   186                                        description: An array of string values. If the
   187                                          operator is In or NotIn, the values array
   188                                          must be non-empty. If the operator is Exists
   189                                          or DoesNotExist, the values array must be
   190                                          empty. If the operator is Gt or Lt, the values
   191                                          array must have a single element, which will
   192                                          be interpreted as an integer. This array is
   193                                          replaced during a strategic merge patch.
   194                                        items:
   195                                          type: string
   196                                        type: array
   197                                    required:
   198                                    - key
   199                                    - operator
   200                                  type: array
   201                                matchFields:
   202                                  description: A list of node selector requirements
   203                                    by node's fields.
   204                                  items:
   205                                    description: A node selector requirement is a selector
   206                                      that contains values, a key, and an operator that
   207                                      relates the key and values.
   208                                    properties:
   209                                      key:
   210                                        description: The label key that the selector
   211                                          applies to.
   212                                        type: string
   213                                      operator:
   214                                        description: Represents a key's relationship
   215                                          to a set of values. Valid operators are In,
   216                                          NotIn, Exists, DoesNotExist. Gt, and Lt.
   217                                        type: string
   218                                      values:
   219                                        description: An array of string values. If the
   220                                          operator is In or NotIn, the values array
   221                                          must be non-empty. If the operator is Exists
   222                                          or DoesNotExist, the values array must be
   223                                          empty. If the operator is Gt or Lt, the values
   224                                          array must have a single element, which will
   225                                          be interpreted as an integer. This array is
   226                                          replaced during a strategic merge patch.
   227                                        items:
   228                                          type: string
   229                                        type: array
   230                                    required:
   231                                    - key
   232                                    - operator
   233                                  type: array
   234                            type: array
   235                        required:
   236                        - nodeSelectorTerms
   237                  podAffinity:
   238                    description: Pod affinity is a group of inter pod affinity scheduling
   239                      rules.
   240                    properties:
   241                      preferredDuringSchedulingIgnoredDuringExecution:
   242                        description: The scheduler will prefer to schedule pods to nodes
   243                          that satisfy the affinity expressions specified by this field,
   244                          but it may choose a node that violates one or more of the
   245                          expressions. The node that is most preferred is the one with
   246                          the greatest sum of weights, i.e. for each node that meets
   247                          all of the scheduling requirements (resource request, requiredDuringScheduling
   248                          affinity expressions, etc.), compute a sum by iterating through
   249                          the elements of this field and adding "weight" to the sum
   250                          if the node has pods which matches the corresponding podAffinityTerm;
   251                          the node(s) with the highest sum are the most preferred.
   252                        items:
   253                          description: The weights of all of the matched WeightedPodAffinityTerm
   254                            fields are added per-node to find the most preferred node(s)
   255                          properties:
   256                            podAffinityTerm:
   257                              description: Defines a set of pods (namely those matching
   258                                the labelSelector relative to the given namespace(s))
   259                                that this pod should be co-located (affinity) or not
   260                                co-located (anti-affinity) with, where co-located is
   261                                defined as running on a node whose value of the label
   262                                with key <topologyKey> matches that of any node on which
   263                                a pod of the set of pods is running
   264                              properties:
   265                                labelSelector:
   266                                  description: A label selector is a label query over
   267                                    a set of resources. The result of matchLabels and
   268                                    matchExpressions are ANDed. An empty label selector
   269                                    matches all objects. A null label selector matches
   270                                    no objects.
   271                                  properties:
   272                                    matchExpressions:
   273                                      description: matchExpressions is a list of label
   274                                        selector requirements. The requirements are
   275                                        ANDed.
   276                                      items:
   277                                        description: A label selector requirement is
   278                                          a selector that contains values, a key, and
   279                                          an operator that relates the key and values.
   280                                        properties:
   281                                          key:
   282                                            description: key is the label key that the
   283                                              selector applies to.
   284                                            type: string
   285                                          operator:
   286                                            description: operator represents a key's
   287                                              relationship to a set of values. Valid
   288                                              operators are In, NotIn, Exists and DoesNotExist.
   289                                            type: string
   290                                          values:
   291                                            description: values is an array of string
   292                                              values. If the operator is In or NotIn,
   293                                              the values array must be non-empty. If
   294                                              the operator is Exists or DoesNotExist,
   295                                              the values array must be empty. This array
   296                                              is replaced during a strategic merge patch.
   297                                            items:
   298                                              type: string
   299                                            type: array
   300                                        required:
   301                                        - key
   302                                        - operator
   303                                      type: array
   304                                    matchLabels:
   305                                      description: matchLabels is a map of {key,value}
   306                                        pairs. A single {key,value} in the matchLabels
   307                                        map is equivalent to an element of matchExpressions,
   308                                        whose key field is "key", the operator is "In",
   309                                        and the values array contains only "value".
   310                                        The requirements are ANDed.
   311                                      type: object
   312                                namespaces:
   313                                  description: namespaces specifies which namespaces
   314                                    the labelSelector applies to (matches against);
   315                                    null or empty list means "this pod's namespace"
   316                                  items:
   317                                    type: string
   318                                  type: array
   319                                topologyKey:
   320                                  description: This pod should be co-located (affinity)
   321                                    or not co-located (anti-affinity) with the pods
   322                                    matching the labelSelector in the specified namespaces,
   323                                    where co-located is defined as running on a node
   324                                    whose value of the label with key topologyKey matches
   325                                    that of any node on which any of the selected pods
   326                                    is running. Empty topologyKey is not allowed.
   327                                  type: string
   328                              required:
   329                              - topologyKey
   330                            weight:
   331                              description: weight associated with matching the corresponding
   332                                podAffinityTerm, in the range 1-100.
   333                              format: int32
   334                              type: integer
   335                          required:
   336                          - weight
   337                          - podAffinityTerm
   338                        type: array
   339                      requiredDuringSchedulingIgnoredDuringExecution:
   340                        description: If the affinity requirements specified by this
   341                          field are not met at scheduling time, the pod will not be
   342                          scheduled onto the node. If the affinity requirements specified
   343                          by this field cease to be met at some point during pod execution
   344                          (e.g. due to a pod label update), the system may or may not
   345                          try to eventually evict the pod from its node. When there
   346                          are multiple elements, the lists of nodes corresponding to
   347                          each podAffinityTerm are intersected, i.e. all terms must
   348                          be satisfied.
   349                        items:
   350                          description: Defines a set of pods (namely those matching
   351                            the labelSelector relative to the given namespace(s)) that
   352                            this pod should be co-located (affinity) or not co-located
   353                            (anti-affinity) with, where co-located is defined as running
   354                            on a node whose value of the label with key <topologyKey>
   355                            matches that of any node on which a pod of the set of pods
   356                            is running
   357                          properties:
   358                            labelSelector:
   359                              description: A label selector is a label query over a
   360                                set of resources. The result of matchLabels and matchExpressions
   361                                are ANDed. An empty label selector matches all objects.
   362                                A null label selector matches no objects.
   363                              properties:
   364                                matchExpressions:
   365                                  description: matchExpressions is a list of label selector
   366                                    requirements. The requirements are ANDed.
   367                                  items:
   368                                    description: A label selector requirement is a selector
   369                                      that contains values, a key, and an operator that
   370                                      relates the key and values.
   371                                    properties:
   372                                      key:
   373                                        description: key is the label key that the selector
   374                                          applies to.
   375                                        type: string
   376                                      operator:
   377                                        description: operator represents a key's relationship
   378                                          to a set of values. Valid operators are In,
   379                                          NotIn, Exists and DoesNotExist.
   380                                        type: string
   381                                      values:
   382                                        description: values is an array of string values.
   383                                          If the operator is In or NotIn, the values
   384                                          array must be non-empty. If the operator is
   385                                          Exists or DoesNotExist, the values array must
   386                                          be empty. This array is replaced during a
   387                                          strategic merge patch.
   388                                        items:
   389                                          type: string
   390                                        type: array
   391                                    required:
   392                                    - key
   393                                    - operator
   394                                  type: array
   395                                matchLabels:
   396                                  description: matchLabels is a map of {key,value} pairs.
   397                                    A single {key,value} in the matchLabels map is equivalent
   398                                    to an element of matchExpressions, whose key field
   399                                    is "key", the operator is "In", and the values array
   400                                    contains only "value". The requirements are ANDed.
   401                                  type: object
   402                            namespaces:
   403                              description: namespaces specifies which namespaces the
   404                                labelSelector applies to (matches against); null or
   405                                empty list means "this pod's namespace"
   406                              items:
   407                                type: string
   408                              type: array
   409                            topologyKey:
   410                              description: This pod should be co-located (affinity)
   411                                or not co-located (anti-affinity) with the pods matching
   412                                the labelSelector in the specified namespaces, where
   413                                co-located is defined as running on a node whose value
   414                                of the label with key topologyKey matches that of any
   415                                node on which any of the selected pods is running. Empty
   416                                topologyKey is not allowed.
   417                              type: string
   418                          required:
   419                          - topologyKey
   420                        type: array
   421                  podAntiAffinity:
   422                    description: Pod anti affinity is a group of inter pod anti affinity
   423                      scheduling rules.
   424                    properties:
   425                      preferredDuringSchedulingIgnoredDuringExecution:
   426                        description: The scheduler will prefer to schedule pods to nodes
   427                          that satisfy the anti-affinity expressions specified by this
   428                          field, but it may choose a node that violates one or more
   429                          of the expressions. The node that is most preferred is the
   430                          one with the greatest sum of weights, i.e. for each node that
   431                          meets all of the scheduling requirements (resource request,
   432                          requiredDuringScheduling anti-affinity expressions, etc.),
   433                          compute a sum by iterating through the elements of this field
   434                          and adding "weight" to the sum if the node has pods which
   435                          matches the corresponding podAffinityTerm; the node(s) with
   436                          the highest sum are the most preferred.
   437                        items:
   438                          description: The weights of all of the matched WeightedPodAffinityTerm
   439                            fields are added per-node to find the most preferred node(s)
   440                          properties:
   441                            podAffinityTerm:
   442                              description: Defines a set of pods (namely those matching
   443                                the labelSelector relative to the given namespace(s))
   444                                that this pod should be co-located (affinity) or not
   445                                co-located (anti-affinity) with, where co-located is
   446                                defined as running on a node whose value of the label
   447                                with key <topologyKey> matches that of any node on which
   448                                a pod of the set of pods is running
   449                              properties:
   450                                labelSelector:
   451                                  description: A label selector is a label query over
   452                                    a set of resources. The result of matchLabels and
   453                                    matchExpressions are ANDed. An empty label selector
   454                                    matches all objects. A null label selector matches
   455                                    no objects.
   456                                  properties:
   457                                    matchExpressions:
   458                                      description: matchExpressions is a list of label
   459                                        selector requirements. The requirements are
   460                                        ANDed.
   461                                      items:
   462                                        description: A label selector requirement is
   463                                          a selector that contains values, a key, and
   464                                          an operator that relates the key and values.
   465                                        properties:
   466                                          key:
   467                                            description: key is the label key that the
   468                                              selector applies to.
   469                                            type: string
   470                                          operator:
   471                                            description: operator represents a key's
   472                                              relationship to a set of values. Valid
   473                                              operators are In, NotIn, Exists and DoesNotExist.
   474                                            type: string
   475                                          values:
   476                                            description: values is an array of string
   477                                              values. If the operator is In or NotIn,
   478                                              the values array must be non-empty. If
   479                                              the operator is Exists or DoesNotExist,
   480                                              the values array must be empty. This array
   481                                              is replaced during a strategic merge patch.
   482                                            items:
   483                                              type: string
   484                                            type: array
   485                                        required:
   486                                        - key
   487                                        - operator
   488                                      type: array
   489                                    matchLabels:
   490                                      description: matchLabels is a map of {key,value}
   491                                        pairs. A single {key,value} in the matchLabels
   492                                        map is equivalent to an element of matchExpressions,
   493                                        whose key field is "key", the operator is "In",
   494                                        and the values array contains only "value".
   495                                        The requirements are ANDed.
   496                                      type: object
   497                                namespaces:
   498                                  description: namespaces specifies which namespaces
   499                                    the labelSelector applies to (matches against);
   500                                    null or empty list means "this pod's namespace"
   501                                  items:
   502                                    type: string
   503                                  type: array
   504                                topologyKey:
   505                                  description: This pod should be co-located (affinity)
   506                                    or not co-located (anti-affinity) with the pods
   507                                    matching the labelSelector in the specified namespaces,
   508                                    where co-located is defined as running on a node
   509                                    whose value of the label with key topologyKey matches
   510                                    that of any node on which any of the selected pods
   511                                    is running. Empty topologyKey is not allowed.
   512                                  type: string
   513                              required:
   514                              - topologyKey
   515                            weight:
   516                              description: weight associated with matching the corresponding
   517                                podAffinityTerm, in the range 1-100.
   518                              format: int32
   519                              type: integer
   520                          required:
   521                          - weight
   522                          - podAffinityTerm
   523                        type: array
   524                      requiredDuringSchedulingIgnoredDuringExecution:
   525                        description: If the anti-affinity requirements specified by
   526                          this field are not met at scheduling time, the pod will not
   527                          be scheduled onto the node. If the anti-affinity requirements
   528                          specified by this field cease to be met at some point during
   529                          pod execution (e.g. due to a pod label update), the system
   530                          may or may not try to eventually evict the pod from its node.
   531                          When there are multiple elements, the lists of nodes corresponding
   532                          to each podAffinityTerm are intersected, i.e. all terms must
   533                          be satisfied.
   534                        items:
   535                          description: Defines a set of pods (namely those matching
   536                            the labelSelector relative to the given namespace(s)) that
   537                            this pod should be co-located (affinity) or not co-located
   538                            (anti-affinity) with, where co-located is defined as running
   539                            on a node whose value of the label with key <topologyKey>
   540                            matches that of any node on which a pod of the set of pods
   541                            is running
   542                          properties:
   543                            labelSelector:
   544                              description: A label selector is a label query over a
   545                                set of resources. The result of matchLabels and matchExpressions
   546                                are ANDed. An empty label selector matches all objects.
   547                                A null label selector matches no objects.
   548                              properties:
   549                                matchExpressions:
   550                                  description: matchExpressions is a list of label selector
   551                                    requirements. The requirements are ANDed.
   552                                  items:
   553                                    description: A label selector requirement is a selector
   554                                      that contains values, a key, and an operator that
   555                                      relates the key and values.
   556                                    properties:
   557                                      key:
   558                                        description: key is the label key that the selector
   559                                          applies to.
   560                                        type: string
   561                                      operator:
   562                                        description: operator represents a key's relationship
   563                                          to a set of values. Valid operators are In,
   564                                          NotIn, Exists and DoesNotExist.
   565                                        type: string
   566                                      values:
   567                                        description: values is an array of string values.
   568                                          If the operator is In or NotIn, the values
   569                                          array must be non-empty. If the operator is
   570                                          Exists or DoesNotExist, the values array must
   571                                          be empty. This array is replaced during a
   572                                          strategic merge patch.
   573                                        items:
   574                                          type: string
   575                                        type: array
   576                                    required:
   577                                    - key
   578                                    - operator
   579                                  type: array
   580                                matchLabels:
   581                                  description: matchLabels is a map of {key,value} pairs.
   582                                    A single {key,value} in the matchLabels map is equivalent
   583                                    to an element of matchExpressions, whose key field
   584                                    is "key", the operator is "In", and the values array
   585                                    contains only "value". The requirements are ANDed.
   586                                  type: object
   587                            namespaces:
   588                              description: namespaces specifies which namespaces the
   589                                labelSelector applies to (matches against); null or
   590                                empty list means "this pod's namespace"
   591                              items:
   592                                type: string
   593                              type: array
   594                            topologyKey:
   595                              description: This pod should be co-located (affinity)
   596                                or not co-located (anti-affinity) with the pods matching
   597                                the labelSelector in the specified namespaces, where
   598                                co-located is defined as running on a node whose value
   599                                of the label with key topologyKey matches that of any
   600                                node on which any of the selected pods is running. Empty
   601                                topologyKey is not allowed.
   602                              type: string
   603                          required:
   604                          - topologyKey
   605                        type: array
   606              alerting:
   607                description: AlertingSpec defines parameters for alerting configuration
   608                  of Prometheus servers.
   609                properties:
   610                  alertmanagers:
   611                    description: AlertmanagerEndpoints Prometheus should fire alerts
   612                      against.
   613                    items:
   614                      description: AlertmanagerEndpoints defines a selection of a single
   615                        Endpoints object containing alertmanager IPs to fire alerts
   616                        against.
   617                      properties:
   618                        bearerTokenFile:
   619                          description: BearerTokenFile to read from filesystem to use
   620                            when authenticating to Alertmanager.
   621                          type: string
   622                        name:
   623                          description: Name of Endpoints object in Namespace.
   624                          type: string
   625                        namespace:
   626                          description: Namespace of Endpoints object.
   627                          type: string
   628                        pathPrefix:
   629                          description: Prefix for the HTTP path alerts are pushed to.
   630                          type: string
   631                        port:
   632                          anyOf:
   633                          - type: string
   634                          - type: integer
   635                        scheme:
   636                          description: Scheme to use when firing alerts.
   637                          type: string
   638                        tlsConfig:
   639                          description: TLSConfig specifies TLS configuration parameters.
   640                          properties:
   641                            caFile:
   642                              description: The CA cert to use for the targets.
   643                              type: string
   644                            certFile:
   645                              description: The client cert file for the targets.
   646                              type: string
   647                            insecureSkipVerify:
   648                              description: Disable target certificate validation.
   649                              type: boolean
   650                            keyFile:
   651                              description: The client key file for the targets.
   652                              type: string
   653                            serverName:
   654                              description: Used to verify the hostname for the targets.
   655                              type: string
   656                      required:
   657                      - namespace
   658                      - name
   659                      - port
   660                    type: array
   661                required:
   662                - alertmanagers
   663              baseImage:
   664                description: Base image to use for a Prometheus deployment.
   665                type: string
   666              containers:
   667                description: Containers allows injecting additional containers. This
   668                  is meant to allow adding an authentication proxy to a Prometheus pod.
   669                items:
   670                  description: A single application container that you want to run within
   671                    a pod.
   672                  properties:
   673                    args:
   674                      description: 'Arguments to the entrypoint. The docker image''s
   675                        CMD is used if this is not provided. Variable references $(VAR_NAME)
   676                        are expanded using the container''s environment. If a variable
   677                        cannot be resolved, the reference in the input string will be
   678                        unchanged. The $(VAR_NAME) syntax can be escaped with a double
   679                        $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
   680                        regardless of whether the variable exists or not. Cannot be
   681                        updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
   682                      items:
   683                        type: string
   684                      type: array
   685                    command:
   686                      description: 'Entrypoint array. Not executed within a shell. The
   687                        docker image''s ENTRYPOINT is used if this is not provided.
   688                        Variable references $(VAR_NAME) are expanded using the container''s
   689                        environment. If a variable cannot be resolved, the reference
   690                        in the input string will be unchanged. The $(VAR_NAME) syntax
   691                        can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references
   692                        will never be expanded, regardless of whether the variable exists
   693                        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'
   694                      items:
   695                        type: string
   696                      type: array
   697                    env:
   698                      description: List of environment variables to set in the container.
   699                        Cannot be updated.
   700                      items:
   701                        description: EnvVar represents an environment variable present
   702                          in a Container.
   703                        properties:
   704                          name:
   705                            description: Name of the environment variable. Must be a
   706                              C_IDENTIFIER.
   707                            type: string
   708                          value:
   709                            description: 'Variable references $(VAR_NAME) are expanded
   710                              using the previous defined environment variables in the
   711                              container and any service environment variables. If a
   712                              variable cannot be resolved, the reference in the input
   713                              string will be unchanged. The $(VAR_NAME) syntax can be
   714                              escaped with a double $$, ie: $$(VAR_NAME). Escaped references
   715                              will never be expanded, regardless of whether the variable
   716                              exists or not. Defaults to "".'
   717                            type: string
   718                          valueFrom:
   719                            description: EnvVarSource represents a source for the value
   720                              of an EnvVar.
   721                            properties:
   722                              configMapKeyRef:
   723                                description: Selects a key from a ConfigMap.
   724                                properties:
   725                                  key:
   726                                    description: The key to select.
   727                                    type: string
   728                                  name:
   729                                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   730                                    type: string
   731                                  optional:
   732                                    description: Specify whether the ConfigMap or it's
   733                                      key must be defined
   734                                    type: boolean
   735                                required:
   736                                - key
   737                              fieldRef:
   738                                description: ObjectFieldSelector selects an APIVersioned
   739                                  field of an object.
   740                                properties:
   741                                  apiVersion:
   742                                    description: Version of the schema the FieldPath
   743                                      is written in terms of, defaults to "v1".
   744                                    type: string
   745                                  fieldPath:
   746                                    description: Path of the field to select in the
   747                                      specified API version.
   748                                    type: string
   749                                required:
   750                                - fieldPath
   751                              resourceFieldRef:
   752                                description: ResourceFieldSelector represents container
   753                                  resources (cpu, memory) and their output format
   754                                properties:
   755                                  containerName:
   756                                    description: 'Container name: required for volumes,
   757                                      optional for env vars'
   758                                    type: string
   759                                  divisor: {}
   760                                  resource:
   761                                    description: 'Required: resource to select'
   762                                    type: string
   763                                required:
   764                                - resource
   765                              secretKeyRef:
   766                                description: SecretKeySelector selects a key of a Secret.
   767                                properties:
   768                                  key:
   769                                    description: The key of the secret to select from.  Must
   770                                      be a valid secret key.
   771                                    type: string
   772                                  name:
   773                                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   774                                    type: string
   775                                  optional:
   776                                    description: Specify whether the Secret or it's
   777                                      key must be defined
   778                                    type: boolean
   779                                required:
   780                                - key
   781                        required:
   782                        - name
   783                      type: array
   784                    envFrom:
   785                      description: List of sources to populate environment variables
   786                        in the container. The keys defined within a source must be a
   787                        C_IDENTIFIER. All invalid keys will be reported as an event
   788                        when the container is starting. When a key exists in multiple
   789                        sources, the value associated with the last source will take
   790                        precedence. Values defined by an Env with a duplicate key will
   791                        take precedence. Cannot be updated.
   792                      items:
   793                        description: EnvFromSource represents the source of a set of
   794                          ConfigMaps
   795                        properties:
   796                          configMapRef:
   797                            description: |-
   798                              ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
   799                              The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
   800                            properties:
   801                              name:
   802                                description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   803                                type: string
   804                              optional:
   805                                description: Specify whether the ConfigMap must be defined
   806                                type: boolean
   807                          prefix:
   808                            description: An optional identifier to prepend to each key
   809                              in the ConfigMap. Must be a C_IDENTIFIER.
   810                            type: string
   811                          secretRef:
   812                            description: |-
   813                              SecretEnvSource selects a Secret to populate the environment variables with.
   814                              The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
   815                            properties:
   816                              name:
   817                                description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   818                                type: string
   819                              optional:
   820                                description: Specify whether the Secret must be defined
   821                                type: boolean
   822                      type: array
   823                    image:
   824                      description: 'Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images
   825                        This field is optional to allow higher level config management
   826                        to default or override container images in workload controllers
   827                        like Deployments and StatefulSets.'
   828                      type: string
   829                    imagePullPolicy:
   830                      description: 'Image pull policy. One of Always, Never, IfNotPresent.
   831                        Defaults to Always if :latest tag is specified, or IfNotPresent
   832                        otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images'
   833                      type: string
   834                    lifecycle:
   835                      description: Lifecycle describes actions that the management system
   836                        should take in response to container lifecycle events. For the
   837                        PostStart and PreStop lifecycle handlers, management of the
   838                        container blocks until the action is complete, unless the container
   839                        process fails, in which case the handler is aborted.
   840                      properties:
   841                        postStart:
   842                          description: Handler defines a specific action that should
   843                            be taken
   844                          properties:
   845                            exec:
   846                              description: ExecAction describes a "run in container"
   847                                action.
   848                              properties:
   849                                command:
   850                                  description: Command is the command line to execute
   851                                    inside the container, the working directory for
   852                                    the command  is root ('/') in the container's filesystem.
   853                                    The command is simply exec'd, it is not run inside
   854                                    a shell, so traditional shell instructions ('|',
   855                                    etc) won't work. To use a shell, you need to explicitly
   856                                    call out to that shell. Exit status of 0 is treated
   857                                    as live/healthy and non-zero is unhealthy.
   858                                  items:
   859                                    type: string
   860                                  type: array
   861                            httpGet:
   862                              description: HTTPGetAction describes an action based on
   863                                HTTP Get requests.
   864                              properties:
   865                                host:
   866                                  description: Host name to connect to, defaults to
   867                                    the pod IP. You probably want to set "Host" in httpHeaders
   868                                    instead.
   869                                  type: string
   870                                httpHeaders:
   871                                  description: Custom headers to set in the request.
   872                                    HTTP allows repeated headers.
   873                                  items:
   874                                    description: HTTPHeader describes a custom header
   875                                      to be used in HTTP probes
   876                                    properties:
   877                                      name:
   878                                        description: The header field name
   879                                        type: string
   880                                      value:
   881                                        description: The header field value
   882                                        type: string
   883                                    required:
   884                                    - name
   885                                    - value
   886                                  type: array
   887                                path:
   888                                  description: Path to access on the HTTP server.
   889                                  type: string
   890                                port:
   891                                  anyOf:
   892                                  - type: string
   893                                  - type: integer
   894                                scheme:
   895                                  description: Scheme to use for connecting to the host.
   896                                    Defaults to HTTP.
   897                                  type: string
   898                              required:
   899                              - port
   900                            tcpSocket:
   901                              description: TCPSocketAction describes an action based
   902                                on opening a socket
   903                              properties:
   904                                host:
   905                                  description: 'Optional: Host name to connect to, defaults
   906                                    to the pod IP.'
   907                                  type: string
   908                                port:
   909                                  anyOf:
   910                                  - type: string
   911                                  - type: integer
   912                              required:
   913                              - port
   914                        preStop:
   915                          description: Handler defines a specific action that should
   916                            be taken
   917                          properties:
   918                            exec:
   919                              description: ExecAction describes a "run in container"
   920                                action.
   921                              properties:
   922                                command:
   923                                  description: Command is the command line to execute
   924                                    inside the container, the working directory for
   925                                    the command  is root ('/') in the container's filesystem.
   926                                    The command is simply exec'd, it is not run inside
   927                                    a shell, so traditional shell instructions ('|',
   928                                    etc) won't work. To use a shell, you need to explicitly
   929                                    call out to that shell. Exit status of 0 is treated
   930                                    as live/healthy and non-zero is unhealthy.
   931                                  items:
   932                                    type: string
   933                                  type: array
   934                            httpGet:
   935                              description: HTTPGetAction describes an action based on
   936                                HTTP Get requests.
   937                              properties:
   938                                host:
   939                                  description: Host name to connect to, defaults to
   940                                    the pod IP. You probably want to set "Host" in httpHeaders
   941                                    instead.
   942                                  type: string
   943                                httpHeaders:
   944                                  description: Custom headers to set in the request.
   945                                    HTTP allows repeated headers.
   946                                  items:
   947                                    description: HTTPHeader describes a custom header
   948                                      to be used in HTTP probes
   949                                    properties:
   950                                      name:
   951                                        description: The header field name
   952                                        type: string
   953                                      value:
   954                                        description: The header field value
   955                                        type: string
   956                                    required:
   957                                    - name
   958                                    - value
   959                                  type: array
   960                                path:
   961                                  description: Path to access on the HTTP server.
   962                                  type: string
   963                                port:
   964                                  anyOf:
   965                                  - type: string
   966                                  - type: integer
   967                                scheme:
   968                                  description: Scheme to use for connecting to the host.
   969                                    Defaults to HTTP.
   970                                  type: string
   971                              required:
   972                              - port
   973                            tcpSocket:
   974                              description: TCPSocketAction describes an action based
   975                                on opening a socket
   976                              properties:
   977                                host:
   978                                  description: 'Optional: Host name to connect to, defaults
   979                                    to the pod IP.'
   980                                  type: string
   981                                port:
   982                                  anyOf:
   983                                  - type: string
   984                                  - type: integer
   985                              required:
   986                              - port
   987                    livenessProbe:
   988                      description: Probe describes a health check to be performed against
   989                        a container to determine whether it is alive or ready to receive
   990                        traffic.
   991                      properties:
   992                        exec:
   993                          description: ExecAction describes a "run in container" action.
   994                          properties:
   995                            command:
   996                              description: Command is the command line to execute inside
   997                                the container, the working directory for the command  is
   998                                root ('/') in the container's filesystem. The command
   999                                is simply exec'd, it is not run inside a shell, so traditional
  1000                                shell instructions ('|', etc) won't work. To use a shell,
  1001                                you need to explicitly call out to that shell. Exit
  1002                                status of 0 is treated as live/healthy and non-zero
  1003                                is unhealthy.
  1004                              items:
  1005                                type: string
  1006                              type: array
  1007                        failureThreshold:
  1008                          description: Minimum consecutive failures for the probe to
  1009                            be considered failed after having succeeded. Defaults to
  1010                            3. Minimum value is 1.
  1011                          format: int32
  1012                          type: integer
  1013                        httpGet:
  1014                          description: HTTPGetAction describes an action based on HTTP
  1015                            Get requests.
  1016                          properties:
  1017                            host:
  1018                              description: Host name to connect to, defaults to the
  1019                                pod IP. You probably want to set "Host" in httpHeaders
  1020                                instead.
  1021                              type: string
  1022                            httpHeaders:
  1023                              description: Custom headers to set in the request. HTTP
  1024                                allows repeated headers.
  1025                              items:
  1026                                description: HTTPHeader describes a custom header to
  1027                                  be used in HTTP probes
  1028                                properties:
  1029                                  name:
  1030                                    description: The header field name
  1031                                    type: string
  1032                                  value:
  1033                                    description: The header field value
  1034                                    type: string
  1035                                required:
  1036                                - name
  1037                                - value
  1038                              type: array
  1039                            path:
  1040                              description: Path to access on the HTTP server.
  1041                              type: string
  1042                            port:
  1043                              anyOf:
  1044                              - type: string
  1045                              - type: integer
  1046                            scheme:
  1047                              description: Scheme to use for connecting to the host.
  1048                                Defaults to HTTP.
  1049                              type: string
  1050                          required:
  1051                          - port
  1052                        initialDelaySeconds:
  1053                          description: 'Number of seconds after the container has started
  1054                            before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1055                          format: int32
  1056                          type: integer
  1057                        periodSeconds:
  1058                          description: How often (in seconds) to perform the probe.
  1059                            Default to 10 seconds. Minimum value is 1.
  1060                          format: int32
  1061                          type: integer
  1062                        successThreshold:
  1063                          description: Minimum consecutive successes for the probe to
  1064                            be considered successful after having failed. Defaults to
  1065                            1. Must be 1 for liveness. Minimum value is 1.
  1066                          format: int32
  1067                          type: integer
  1068                        tcpSocket:
  1069                          description: TCPSocketAction describes an action based on
  1070                            opening a socket
  1071                          properties:
  1072                            host:
  1073                              description: 'Optional: Host name to connect to, defaults
  1074                                to the pod IP.'
  1075                              type: string
  1076                            port:
  1077                              anyOf:
  1078                              - type: string
  1079                              - type: integer
  1080                          required:
  1081                          - port
  1082                        timeoutSeconds:
  1083                          description: 'Number of seconds after which the probe times
  1084                            out. Defaults to 1 second. Minimum value is 1. More info:
  1085                            https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1086                          format: int32
  1087                          type: integer
  1088                    name:
  1089                      description: Name of the container specified as a DNS_LABEL. Each
  1090                        container in a pod must have a unique name (DNS_LABEL). Cannot
  1091                        be updated.
  1092                      type: string
  1093                    ports:
  1094                      description: List of ports to expose from the container. Exposing
  1095                        a port here gives the system additional information about the
  1096                        network connections a container uses, but is primarily informational.
  1097                        Not specifying a port here DOES NOT prevent that port from being
  1098                        exposed. Any port which is listening on the default "0.0.0.0"
  1099                        address inside a container will be accessible from the network.
  1100                        Cannot be updated.
  1101                      items:
  1102                        description: ContainerPort represents a network port in a single
  1103                          container.
  1104                        properties:
  1105                          containerPort:
  1106                            description: Number of port to expose on the pod's IP address.
  1107                              This must be a valid port number, 0 < x < 65536.
  1108                            format: int32
  1109                            type: integer
  1110                          hostIP:
  1111                            description: What host IP to bind the external port to.
  1112                            type: string
  1113                          hostPort:
  1114                            description: Number of port to expose on the host. If specified,
  1115                              this must be a valid port number, 0 < x < 65536. If HostNetwork
  1116                              is specified, this must match ContainerPort. Most containers
  1117                              do not need this.
  1118                            format: int32
  1119                            type: integer
  1120                          name:
  1121                            description: If specified, this must be an IANA_SVC_NAME
  1122                              and unique within the pod. Each named port in a pod must
  1123                              have a unique name. Name for the port that can be referred
  1124                              to by services.
  1125                            type: string
  1126                          protocol:
  1127                            description: Protocol for port. Must be UDP or TCP. Defaults
  1128                              to "TCP".
  1129                            type: string
  1130                        required:
  1131                        - containerPort
  1132                      type: array
  1133                    readinessProbe:
  1134                      description: Probe describes a health check to be performed against
  1135                        a container to determine whether it is alive or ready to receive
  1136                        traffic.
  1137                      properties:
  1138                        exec:
  1139                          description: ExecAction describes a "run in container" action.
  1140                          properties:
  1141                            command:
  1142                              description: Command is the command line to execute inside
  1143                                the container, the working directory for the command  is
  1144                                root ('/') in the container's filesystem. The command
  1145                                is simply exec'd, it is not run inside a shell, so traditional
  1146                                shell instructions ('|', etc) won't work. To use a shell,
  1147                                you need to explicitly call out to that shell. Exit
  1148                                status of 0 is treated as live/healthy and non-zero
  1149                                is unhealthy.
  1150                              items:
  1151                                type: string
  1152                              type: array
  1153                        failureThreshold:
  1154                          description: Minimum consecutive failures for the probe to
  1155                            be considered failed after having succeeded. Defaults to
  1156                            3. Minimum value is 1.
  1157                          format: int32
  1158                          type: integer
  1159                        httpGet:
  1160                          description: HTTPGetAction describes an action based on HTTP
  1161                            Get requests.
  1162                          properties:
  1163                            host:
  1164                              description: Host name to connect to, defaults to the
  1165                                pod IP. You probably want to set "Host" in httpHeaders
  1166                                instead.
  1167                              type: string
  1168                            httpHeaders:
  1169                              description: Custom headers to set in the request. HTTP
  1170                                allows repeated headers.
  1171                              items:
  1172                                description: HTTPHeader describes a custom header to
  1173                                  be used in HTTP probes
  1174                                properties:
  1175                                  name:
  1176                                    description: The header field name
  1177                                    type: string
  1178                                  value:
  1179                                    description: The header field value
  1180                                    type: string
  1181                                required:
  1182                                - name
  1183                                - value
  1184                              type: array
  1185                            path:
  1186                              description: Path to access on the HTTP server.
  1187                              type: string
  1188                            port:
  1189                              anyOf:
  1190                              - type: string
  1191                              - type: integer
  1192                            scheme:
  1193                              description: Scheme to use for connecting to the host.
  1194                                Defaults to HTTP.
  1195                              type: string
  1196                          required:
  1197                          - port
  1198                        initialDelaySeconds:
  1199                          description: 'Number of seconds after the container has started
  1200                            before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1201                          format: int32
  1202                          type: integer
  1203                        periodSeconds:
  1204                          description: How often (in seconds) to perform the probe.
  1205                            Default to 10 seconds. Minimum value is 1.
  1206                          format: int32
  1207                          type: integer
  1208                        successThreshold:
  1209                          description: Minimum consecutive successes for the probe to
  1210                            be considered successful after having failed. Defaults to
  1211                            1. Must be 1 for liveness. Minimum value is 1.
  1212                          format: int32
  1213                          type: integer
  1214                        tcpSocket:
  1215                          description: TCPSocketAction describes an action based on
  1216                            opening a socket
  1217                          properties:
  1218                            host:
  1219                              description: 'Optional: Host name to connect to, defaults
  1220                                to the pod IP.'
  1221                              type: string
  1222                            port:
  1223                              anyOf:
  1224                              - type: string
  1225                              - type: integer
  1226                          required:
  1227                          - port
  1228                        timeoutSeconds:
  1229                          description: 'Number of seconds after which the probe times
  1230                            out. Defaults to 1 second. Minimum value is 1. More info:
  1231                            https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes'
  1232                          format: int32
  1233                          type: integer
  1234                    resources:
  1235                      description: ResourceRequirements describes the compute resource
  1236                        requirements.
  1237                      properties:
  1238                        limits:
  1239                          description: 'Limits describes the maximum amount of compute
  1240                            resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1241                          type: object
  1242                        requests:
  1243                          description: 'Requests describes the minimum amount of compute
  1244                            resources required. If Requests is omitted for a container,
  1245                            it defaults to Limits if that is explicitly specified, otherwise
  1246                            to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  1247                          type: object
  1248                    securityContext:
  1249                      description: SecurityContext holds security configuration that
  1250                        will be applied to a container. Some fields are present in both
  1251                        SecurityContext and PodSecurityContext.  When both are set,
  1252                        the values in SecurityContext take precedence.
  1253                      properties:
  1254                        allowPrivilegeEscalation:
  1255                          description: 'AllowPrivilegeEscalation controls whether a
  1256                            process can gain more privileges than its parent process.
  1257                            This bool directly controls if the no_new_privs flag will
  1258                            be set on the container process. AllowPrivilegeEscalation
  1259                            is true always when the container is: 1) run as Privileged
  1260                            2) has CAP_SYS_ADMIN'
  1261                          type: boolean
  1262                        capabilities:
  1263                          description: Adds and removes POSIX capabilities from running
  1264                            containers.
  1265                          properties:
  1266                            add:
  1267                              description: Added capabilities
  1268                              items:
  1269                                type: string
  1270                              type: array
  1271                            drop:
  1272                              description: Removed capabilities
  1273                              items:
  1274                                type: string
  1275                              type: array
  1276                        privileged:
  1277                          description: Run container in privileged mode. Processes in
  1278                            privileged containers are essentially equivalent to root
  1279                            on the host. Defaults to false.
  1280                          type: boolean
  1281                        readOnlyRootFilesystem:
  1282                          description: Whether this container has a read-only root filesystem.
  1283                            Default is false.
  1284                          type: boolean
  1285                        runAsGroup:
  1286                          description: The GID to run the entrypoint of the container
  1287                            process. Uses runtime default if unset. May also be set
  1288                            in PodSecurityContext.  If set in both SecurityContext and
  1289                            PodSecurityContext, the value specified in SecurityContext
  1290                            takes precedence.
  1291                          format: int64
  1292                          type: integer
  1293                        runAsNonRoot:
  1294                          description: Indicates that the container must run as a non-root
  1295                            user. If true, the Kubelet will validate the image at runtime
  1296                            to ensure that it does not run as UID 0 (root) and fail
  1297                            to start the container if it does. If unset or false, no
  1298                            such validation will be performed. May also be set in PodSecurityContext.  If
  1299                            set in both SecurityContext and PodSecurityContext, the
  1300                            value specified in SecurityContext takes precedence.
  1301                          type: boolean
  1302                        runAsUser:
  1303                          description: The UID to run the entrypoint of the container
  1304                            process. Defaults to user specified in image metadata if
  1305                            unspecified. May also be set in PodSecurityContext.  If
  1306                            set in both SecurityContext and PodSecurityContext, the
  1307                            value specified in SecurityContext takes precedence.
  1308                          format: int64
  1309                          type: integer
  1310                        seLinuxOptions:
  1311                          description: SELinuxOptions are the labels to be applied to
  1312                            the container
  1313                          properties:
  1314                            level:
  1315                              description: Level is SELinux level label that applies
  1316                                to the container.
  1317                              type: string
  1318                            role:
  1319                              description: Role is a SELinux role label that applies
  1320                                to the container.
  1321                              type: string
  1322                            type:
  1323                              description: Type is a SELinux type label that applies
  1324                                to the container.
  1325                              type: string
  1326                            user:
  1327                              description: User is a SELinux user label that applies
  1328                                to the container.
  1329                              type: string
  1330                    stdin:
  1331                      description: Whether this container should allocate a buffer for
  1332                        stdin in the container runtime. If this is not set, reads from
  1333                        stdin in the container will always result in EOF. Default is
  1334                        false.
  1335                      type: boolean
  1336                    stdinOnce:
  1337                      description: Whether the container runtime should close the stdin
  1338                        channel after it has been opened by a single attach. When stdin
  1339                        is true the stdin stream will remain open across multiple attach
  1340                        sessions. If stdinOnce is set to true, stdin is opened on container
  1341                        start, is empty until the first client attaches to stdin, and
  1342                        then remains open and accepts data until the client disconnects,
  1343                        at which time stdin is closed and remains closed until the container
  1344                        is restarted. If this flag is false, a container processes that
  1345                        reads from stdin will never receive an EOF. Default is false
  1346                      type: boolean
  1347                    terminationMessagePath:
  1348                      description: 'Optional: Path at which the file to which the container''s
  1349                        termination message will be written is mounted into the container''s
  1350                        filesystem. Message written is intended to be brief final status,
  1351                        such as an assertion failure message. Will be truncated by the
  1352                        node if greater than 4096 bytes. The total message length across
  1353                        all containers will be limited to 12kb. Defaults to /dev/termination-log.
  1354                        Cannot be updated.'
  1355                      type: string
  1356                    terminationMessagePolicy:
  1357                      description: Indicate how the termination message should be populated.
  1358                        File will use the contents of terminationMessagePath to populate
  1359                        the container status message on both success and failure. FallbackToLogsOnError
  1360                        will use the last chunk of container log output if the termination
  1361                        message file is empty and the container exited with an error.
  1362                        The log output is limited to 2048 bytes or 80 lines, whichever
  1363                        is smaller. Defaults to File. Cannot be updated.
  1364                      type: string
  1365                    tty:
  1366                      description: Whether this container should allocate a TTY for
  1367                        itself, also requires 'stdin' to be true. Default is false.
  1368                      type: boolean
  1369                    volumeDevices:
  1370                      description: volumeDevices is the list of block devices to be
  1371                        used by the container. This is an alpha feature and may change
  1372                        in the future.
  1373                      items:
  1374                        description: volumeDevice describes a mapping of a raw block
  1375                          device within a container.
  1376                        properties:
  1377                          devicePath:
  1378                            description: devicePath is the path inside of the container
  1379                              that the device will be mapped to.
  1380                            type: string
  1381                          name:
  1382                            description: name must match the name of a persistentVolumeClaim
  1383                              in the pod
  1384                            type: string
  1385                        required:
  1386                        - name
  1387                        - devicePath
  1388                      type: array
  1389                    volumeMounts:
  1390                      description: Pod volumes to mount into the container's filesystem.
  1391                        Cannot be updated.
  1392                      items:
  1393                        description: VolumeMount describes a mounting of a Volume within
  1394                          a container.
  1395                        properties:
  1396                          mountPath:
  1397                            description: Path within the container at which the volume
  1398                              should be mounted.  Must not contain ':'.
  1399                            type: string
  1400                          mountPropagation:
  1401                            description: mountPropagation determines how mounts are
  1402                              propagated from the host to container and the other way
  1403                              around. When not set, MountPropagationHostToContainer
  1404                              is used. This field is beta in 1.10.
  1405                            type: string
  1406                          name:
  1407                            description: This must match the Name of a Volume.
  1408                            type: string
  1409                          readOnly:
  1410                            description: Mounted read-only if true, read-write otherwise
  1411                              (false or unspecified). Defaults to false.
  1412                            type: boolean
  1413                          subPath:
  1414                            description: Path within the volume from which the container's
  1415                              volume should be mounted. Defaults to "" (volume's root).
  1416                            type: string
  1417                        required:
  1418                        - name
  1419                        - mountPath
  1420                      type: array
  1421                    workingDir:
  1422                      description: Container's working directory. If not specified,
  1423                        the container runtime's default will be used, which might be
  1424                        configured in the container image. Cannot be updated.
  1425                      type: string
  1426                  required:
  1427                  - name
  1428                type: array
  1429              evaluationInterval:
  1430                description: Interval between consecutive evaluations.
  1431                type: string
  1432              externalLabels:
  1433                description: The labels to add to any time series or alerts when communicating
  1434                  with external systems (federation, remote storage, Alertmanager).
  1435                type: object
  1436              externalUrl:
  1437                description: The external URL the Prometheus instances will be available
  1438                  under. This is necessary to generate correct URLs. This is necessary
  1439                  if Prometheus is not served from root of a DNS name.
  1440                type: string
  1441              imagePullSecrets:
  1442                description: An optional list of references to secrets in the same namespace
  1443                  to use for pulling prometheus and alertmanager images from registries
  1444                  see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
  1445                items:
  1446                  description: LocalObjectReference contains enough information to let
  1447                    you locate the referenced object inside the same namespace.
  1448                  properties:
  1449                    name:
  1450                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1451                      type: string
  1452                type: array
  1453              listenLocal:
  1454                description: ListenLocal makes the Prometheus server listen on loopback,
  1455                  so that it does not bind against the Pod IP.
  1456                type: boolean
  1457              logLevel:
  1458                description: Log level for Prometheus to be configured with.
  1459                type: string
  1460              nodeSelector:
  1461                description: Define which Nodes the Pods are scheduled on.
  1462                type: object
  1463              paused:
  1464                description: When a Prometheus deployment is paused, no actions except
  1465                  for deletion will be performed on the underlying objects.
  1466                type: boolean
  1467              podMetadata:
  1468                description: ObjectMeta is metadata that all persisted resources must
  1469                  have, which includes all objects users must create.
  1470                properties:
  1471                  annotations:
  1472                    description: 'Annotations is an unstructured key value map stored
  1473                      with a resource that may be set by external tools to store and
  1474                      retrieve arbitrary metadata. They are not queryable and should
  1475                      be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
  1476                    type: object
  1477                  clusterName:
  1478                    description: The name of the cluster which the object belongs to.
  1479                      This is used to distinguish resources with same name and namespace
  1480                      in different clusters. This field is not set anywhere right now
  1481                      and apiserver is going to ignore it if set in create or update
  1482                      request.
  1483                    type: string
  1484                  creationTimestamp:
  1485                    description: Time is a wrapper around time.Time which supports correct
  1486                      marshaling to YAML and JSON.  Wrappers are provided for many of
  1487                      the factory methods that the time package offers.
  1488                    format: date-time
  1489                    type: string
  1490                  deletionGracePeriodSeconds:
  1491                    description: Number of seconds allowed for this object to gracefully
  1492                      terminate before it will be removed from the system. Only set
  1493                      when deletionTimestamp is also set. May only be shortened. Read-only.
  1494                    format: int64
  1495                    type: integer
  1496                  deletionTimestamp:
  1497                    description: Time is a wrapper around time.Time which supports correct
  1498                      marshaling to YAML and JSON.  Wrappers are provided for many of
  1499                      the factory methods that the time package offers.
  1500                    format: date-time
  1501                    type: string
  1502                  finalizers:
  1503                    description: Must be empty before the object is deleted from the
  1504                      registry. Each entry is an identifier for the responsible component
  1505                      that will remove the entry from the list. If the deletionTimestamp
  1506                      of the object is non-nil, entries in this list can only be removed.
  1507                    items:
  1508                      type: string
  1509                    type: array
  1510                  generateName:
  1511                    description: |-
  1512                      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.
  1513                      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).
  1514                      Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  1515                    type: string
  1516                  generation:
  1517                    description: A sequence number representing a specific generation
  1518                      of the desired state. Populated by the system. Read-only.
  1519                    format: int64
  1520                    type: integer
  1521                  initializers:
  1522                    description: Initializers tracks the progress of initialization.
  1523                    properties:
  1524                      pending:
  1525                        description: Pending is a list of initializers that must execute
  1526                          in order before this object is visible. When the last pending
  1527                          overrides is removed, and no failing result is set, the
  1528                          initializers struct will be set to nil and the object is considered
  1529                          as initialized and visible to all clients.
  1530                        items:
  1531                          description: Initializer is information about an overrides
  1532                            that has not yet completed.
  1533                          properties:
  1534                            name:
  1535                              description: name of the process that is responsible for
  1536                                initializing this object.
  1537                              type: string
  1538                          required:
  1539                          - name
  1540                        type: array
  1541                      result:
  1542                        description: Status is a return value for calls that don't return
  1543                          other objects.
  1544                        properties:
  1545                          apiVersion:
  1546                            description: 'APIVersion defines the versioned schema of
  1547                              this representation of an object. Servers should convert
  1548                              recognized schemas to the latest internal value, and may
  1549                              reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  1550                            type: string
  1551                          code:
  1552                            description: Suggested HTTP return code for this status,
  1553                              0 if not set.
  1554                            format: int32
  1555                            type: integer
  1556                          details:
  1557                            description: StatusDetails is a set of additional properties
  1558                              that MAY be set by the server to provide additional information
  1559                              about a response. The Reason field of a Status object
  1560                              defines what attributes will be set. Clients must ignore
  1561                              fields that do not match the defined type of each attribute,
  1562                              and should assume that any attribute may be empty, invalid,
  1563                              or under defined.
  1564                            properties:
  1565                              causes:
  1566                                description: The Causes array includes more details
  1567                                  associated with the StatusReason failure. Not all
  1568                                  StatusReasons may provide detailed causes.
  1569                                items:
  1570                                  description: StatusCause provides more information
  1571                                    about an api.Status failure, including cases when
  1572                                    multiple errors are encountered.
  1573                                  properties:
  1574                                    field:
  1575                                      description: |-
  1576                                        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.
  1577                                        Examples:
  1578                                          "name" - the field "name" on the current resource
  1579                                          "items[0].name" - the field "name" on the first array entry in "items"
  1580                                      type: string
  1581                                    message:
  1582                                      description: A human-readable description of the
  1583                                        cause of the error.  This field may be presented
  1584                                        as-is to a reader.
  1585                                      type: string
  1586                                    reason:
  1587                                      description: A machine-readable description of
  1588                                        the cause of the error. If this value is empty
  1589                                        there is no information available.
  1590                                      type: string
  1591                                type: array
  1592                              group:
  1593                                description: The group attribute of the resource associated
  1594                                  with the status StatusReason.
  1595                                type: string
  1596                              kind:
  1597                                description: 'The kind attribute of the resource associated
  1598                                  with the status StatusReason. On some operations may
  1599                                  differ from the requested resource Kind. More info:
  1600                                  https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1601                                type: string
  1602                              name:
  1603                                description: The name attribute of the resource associated
  1604                                  with the status StatusReason (when there is a single
  1605                                  name which can be described).
  1606                                type: string
  1607                              retryAfterSeconds:
  1608                                description: If specified, the time in seconds before
  1609                                  the operation should be retried. Some errors may indicate
  1610                                  the client must take an alternate action - for those
  1611                                  errors this field may indicate how long to wait before
  1612                                  taking the alternate action.
  1613                                format: int32
  1614                                type: integer
  1615                              uid:
  1616                                description: 'UID of the resource. (when there is a
  1617                                  single resource which can be described). More info:
  1618                                  http://kubernetes.io/docs/user-guide/identifiers#uids'
  1619                                type: string
  1620                          kind:
  1621                            description: 'Kind is a string value representing the REST
  1622                              resource this object represents. Servers may infer this
  1623                              from the endpoint the client submits requests to. Cannot
  1624                              be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1625                            type: string
  1626                          message:
  1627                            description: A human-readable description of the status
  1628                              of this operation.
  1629                            type: string
  1630                          metadata:
  1631                            description: ListMeta describes metadata that synthetic
  1632                              resources must have, including lists and various status
  1633                              objects. A resource may have only one of {ObjectMeta,
  1634                              ListMeta}.
  1635                            properties:
  1636                              continue:
  1637                                description: continue may be set if the user set a limit
  1638                                  on the number of items returned, and indicates that
  1639                                  the server has more data available. The value is opaque
  1640                                  and may be used to issue another request to the endpoint
  1641                                  that served this list to retrieve the next set of
  1642                                  available objects. Continuing a list may not be possible
  1643                                  if the server configuration has changed or more than
  1644                                  a few minutes have passed. The resourceVersion field
  1645                                  returned when using this continue value will be identical
  1646                                  to the value in the first response.
  1647                                type: string
  1648                              resourceVersion:
  1649                                description: 'String that identifies the server''s internal
  1650                                  version of this object that can be used by clients
  1651                                  to determine when objects have changed. Value must
  1652                                  be treated as opaque by clients and passed unmodified
  1653                                  back to the server. Populated by the system. Read-only.
  1654                                  More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  1655                                type: string
  1656                              selfLink:
  1657                                description: selfLink is a URL representing this object.
  1658                                  Populated by the system. Read-only.
  1659                                type: string
  1660                          reason:
  1661                            description: A machine-readable description of why this
  1662                              operation is in the "Failure" status. If this value is
  1663                              empty there is no information available. A Reason clarifies
  1664                              an HTTP status code but does not override it.
  1665                            type: string
  1666                          status:
  1667                            description: 'Status of the operation. One of: "Success"
  1668                              or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  1669                            type: string
  1670                    required:
  1671                    - pending
  1672                  labels:
  1673                    description: 'Map of string keys and values that can be used to
  1674                      organize and categorize (scope and select) objects. May match
  1675                      selectors of replication controllers and services. More info:
  1676                      http://kubernetes.io/docs/user-guide/labels'
  1677                    type: object
  1678                  name:
  1679                    description: 'Name must be unique within a namespace. Is required
  1680                      when creating resources, although some resources may allow a client
  1681                      to request the generation of an appropriate name automatically.
  1682                      Name is primarily intended for creation idempotence and configuration
  1683                      definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  1684                    type: string
  1685                  namespace:
  1686                    description: |-
  1687                      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.
  1688                      Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  1689                    type: string
  1690                  ownerReferences:
  1691                    description: List of objects depended by this object. If ALL objects
  1692                      in the list have been deleted, this object will be garbage collected.
  1693                      If this object is managed by a controller, then an entry in this
  1694                      list will point to this controller, with the controller field
  1695                      set to true. There cannot be more than one managing controller.
  1696                    items:
  1697                      description: OwnerReference contains enough information to let
  1698                        you identify an owning object. Currently, an owning object must
  1699                        be in the same namespace, so there is no namespace field.
  1700                      properties:
  1701                        apiVersion:
  1702                          description: API version of the referent.
  1703                          type: string
  1704                        blockOwnerDeletion:
  1705                          description: If true, AND if the owner has the "foregroundDeletion"
  1706                            finalizer, then the owner cannot be deleted from the key-value
  1707                            store until this reference is removed. Defaults to false.
  1708                            To set this field, a user needs "delete" permission of the
  1709                            owner, otherwise 422 (Unprocessable Entity) will be returned.
  1710                          type: boolean
  1711                        controller:
  1712                          description: If true, this reference points to the managing
  1713                            controller.
  1714                          type: boolean
  1715                        kind:
  1716                          description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  1717                          type: string
  1718                        name:
  1719                          description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  1720                          type: string
  1721                        uid:
  1722                          description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  1723                          type: string
  1724                      required:
  1725                      - apiVersion
  1726                      - kind
  1727                      - name
  1728                      - uid
  1729                    type: array
  1730                  resourceVersion:
  1731                    description: |-
  1732                      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.
  1733                      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
  1734                    type: string
  1735                  selfLink:
  1736                    description: SelfLink is a URL representing this object. Populated
  1737                      by the system. Read-only.
  1738                    type: string
  1739                  uid:
  1740                    description: |-
  1741                      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.
  1742                      Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  1743                    type: string
  1744              remoteRead:
  1745                description: If specified, the remote_read spec. This is an experimental
  1746                  feature, it may change in any upcoming release in a breaking way.
  1747                items:
  1748                  description: RemoteReadSpec defines the remote_read configuration
  1749                    for prometheus.
  1750                  properties:
  1751                    basicAuth:
  1752                      description: 'BasicAuth allow an endpoint to authenticate over
  1753                        basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  1754                      properties:
  1755                        password:
  1756                          description: SecretKeySelector selects a key of a Secret.
  1757                          properties:
  1758                            key:
  1759                              description: The key of the secret to select from.  Must
  1760                                be a valid secret key.
  1761                              type: string
  1762                            name:
  1763                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1764                              type: string
  1765                            optional:
  1766                              description: Specify whether the Secret or it's key must
  1767                                be defined
  1768                              type: boolean
  1769                          required:
  1770                          - key
  1771                        username:
  1772                          description: SecretKeySelector selects a key of a Secret.
  1773                          properties:
  1774                            key:
  1775                              description: The key of the secret to select from.  Must
  1776                                be a valid secret key.
  1777                              type: string
  1778                            name:
  1779                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1780                              type: string
  1781                            optional:
  1782                              description: Specify whether the Secret or it's key must
  1783                                be defined
  1784                              type: boolean
  1785                          required:
  1786                          - key
  1787                    bearerToken:
  1788                      description: bearer token for remote read.
  1789                      type: string
  1790                    bearerTokenFile:
  1791                      description: File to read bearer token for remote read.
  1792                      type: string
  1793                    proxyUrl:
  1794                      description: Optional ProxyURL
  1795                      type: string
  1796                    readRecent:
  1797                      description: Whether reads should be made for queries for time
  1798                        ranges that the local storage should have complete data for.
  1799                      type: boolean
  1800                    remoteTimeout:
  1801                      description: Timeout for requests to the remote read endpoint.
  1802                      type: string
  1803                    requiredMatchers:
  1804                      description: An optional list of equality matchers which have
  1805                        to be present in a selector to query the remote read endpoint.
  1806                      type: object
  1807                    tlsConfig:
  1808                      description: TLSConfig specifies TLS configuration parameters.
  1809                      properties:
  1810                        caFile:
  1811                          description: The CA cert to use for the targets.
  1812                          type: string
  1813                        certFile:
  1814                          description: The client cert file for the targets.
  1815                          type: string
  1816                        insecureSkipVerify:
  1817                          description: Disable target certificate validation.
  1818                          type: boolean
  1819                        keyFile:
  1820                          description: The client key file for the targets.
  1821                          type: string
  1822                        serverName:
  1823                          description: Used to verify the hostname for the targets.
  1824                          type: string
  1825                    url:
  1826                      description: The URL of the endpoint to send samples to.
  1827                      type: string
  1828                  required:
  1829                  - url
  1830                type: array
  1831              remoteWrite:
  1832                description: If specified, the remote_write spec. This is an experimental
  1833                  feature, it may change in any upcoming release in a breaking way.
  1834                items:
  1835                  description: RemoteWriteSpec defines the remote_write configuration
  1836                    for prometheus.
  1837                  properties:
  1838                    basicAuth:
  1839                      description: 'BasicAuth allow an endpoint to authenticate over
  1840                        basic authentication More info: https://prometheus.io/docs/operating/configuration/#endpoints'
  1841                      properties:
  1842                        password:
  1843                          description: SecretKeySelector selects a key of a Secret.
  1844                          properties:
  1845                            key:
  1846                              description: The key of the secret to select from.  Must
  1847                                be a valid secret key.
  1848                              type: string
  1849                            name:
  1850                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1851                              type: string
  1852                            optional:
  1853                              description: Specify whether the Secret or it's key must
  1854                                be defined
  1855                              type: boolean
  1856                          required:
  1857                          - key
  1858                        username:
  1859                          description: SecretKeySelector selects a key of a Secret.
  1860                          properties:
  1861                            key:
  1862                              description: The key of the secret to select from.  Must
  1863                                be a valid secret key.
  1864                              type: string
  1865                            name:
  1866                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  1867                              type: string
  1868                            optional:
  1869                              description: Specify whether the Secret or it's key must
  1870                                be defined
  1871                              type: boolean
  1872                          required:
  1873                          - key
  1874                    bearerToken:
  1875                      description: File to read bearer token for remote write.
  1876                      type: string
  1877                    bearerTokenFile:
  1878                      description: File to read bearer token for remote write.
  1879                      type: string
  1880                    proxyUrl:
  1881                      description: Optional ProxyURL
  1882                      type: string
  1883                    queueConfig:
  1884                      description: QueueConfig allows the tuning of remote_write queue_config
  1885                        parameters. This object is referenced in the RemoteWriteSpec
  1886                        object.
  1887                      properties:
  1888                        batchSendDeadline:
  1889                          description: BatchSendDeadline is the maximum time a sample
  1890                            will wait in buffer.
  1891                          type: string
  1892                        capacity:
  1893                          description: Capacity is the number of samples to buffer per
  1894                            shard before we start dropping them.
  1895                          format: int32
  1896                          type: integer
  1897                        maxBackoff:
  1898                          description: MaxBackoff is the maximum retry delay.
  1899                          type: string
  1900                        maxRetries:
  1901                          description: MaxRetries is the maximum number of times to
  1902                            retry a batch on recoverable errors.
  1903                          format: int32
  1904                          type: integer
  1905                        maxSamplesPerSend:
  1906                          description: MaxSamplesPerSend is the maximum number of samples
  1907                            per send.
  1908                          format: int32
  1909                          type: integer
  1910                        maxShards:
  1911                          description: MaxShards is the maximum number of shards, i.e.
  1912                            amount of concurrency.
  1913                          format: int32
  1914                          type: integer
  1915                        minBackoff:
  1916                          description: MinBackoff is the initial retry delay. Gets doubled
  1917                            for every retry.
  1918                          type: string
  1919                    remoteTimeout:
  1920                      description: Timeout for requests to the remote write endpoint.
  1921                      type: string
  1922                    tlsConfig:
  1923                      description: TLSConfig specifies TLS configuration parameters.
  1924                      properties:
  1925                        caFile:
  1926                          description: The CA cert to use for the targets.
  1927                          type: string
  1928                        certFile:
  1929                          description: The client cert file for the targets.
  1930                          type: string
  1931                        insecureSkipVerify:
  1932                          description: Disable target certificate validation.
  1933                          type: boolean
  1934                        keyFile:
  1935                          description: The client key file for the targets.
  1936                          type: string
  1937                        serverName:
  1938                          description: Used to verify the hostname for the targets.
  1939                          type: string
  1940                    url:
  1941                      description: The URL of the endpoint to send samples to.
  1942                      type: string
  1943                    writeRelabelConfigs:
  1944                      description: The list of remote write relabel configurations.
  1945                      items:
  1946                        description: 'RelabelConfig allows dynamic rewriting of the
  1947                          label set, being applied to samples before ingestion. It defines
  1948                          `<metric_relabel_configs>`-section of Prometheus configuration.
  1949                          More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs'
  1950                        properties:
  1951                          action:
  1952                            description: Action to perform based on regex matching.
  1953                              Default is 'replace'
  1954                            type: string
  1955                          modulus:
  1956                            description: Modulus to take of the hash of the source label
  1957                              values.
  1958                            format: int64
  1959                            type: integer
  1960                          regex:
  1961                            description: Regular expression against which the extracted
  1962                              value is matched. defailt is '(.*)'
  1963                            type: string
  1964                          replacement:
  1965                            description: Replacement value against which a regex replace
  1966                              is performed if the regular expression matches. Regex
  1967                              capture groups are available. Default is '$1'
  1968                            type: string
  1969                          separator:
  1970                            description: Separator placed between concatenated source
  1971                              label values. default is ';'.
  1972                            type: string
  1973                          sourceLabels:
  1974                            description: The source labels select values from existing
  1975                              labels. Their content is concatenated using the configured
  1976                              separator and matched against the configured regular expression
  1977                              for the replace, keep, and drop actions.
  1978                            items:
  1979                              type: string
  1980                            type: array
  1981                          targetLabel:
  1982                            description: Label to which the resulting value is written
  1983                              in a replace action. It is mandatory for replace actions.
  1984                              Regex capture groups are available.
  1985                            type: string
  1986                      type: array
  1987                  required:
  1988                  - url
  1989                type: array
  1990              replicas:
  1991                description: Number of instances to deploy for a Prometheus deployment.
  1992                format: int32
  1993                type: integer
  1994              resources:
  1995                description: ResourceRequirements describes the compute resource requirements.
  1996                properties:
  1997                  limits:
  1998                    description: 'Limits describes the maximum amount of compute resources
  1999                      allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2000                    type: object
  2001                  requests:
  2002                    description: 'Requests describes the minimum amount of compute resources
  2003                      required. If Requests is omitted for a container, it defaults
  2004                      to Limits if that is explicitly specified, otherwise to an implementation-defined
  2005                      value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2006                    type: object
  2007              retention:
  2008                description: Time duration Prometheus shall retain data for.
  2009                type: string
  2010              routePrefix:
  2011                description: The route prefix Prometheus registers HTTP handlers for.
  2012                  This is useful, if using ExternalURL and a proxy is rewriting HTTP
  2013                  routes of a request, and the actual ExternalURL is still true, but
  2014                  the server serves requests under a different route prefix. For example
  2015                  for use with `kubectl proxy`.
  2016                type: string
  2017              ruleNamespaceSelector:
  2018                description: A label selector is a label query over a set of resources.
  2019                  The result of matchLabels and matchExpressions are ANDed. An empty
  2020                  label selector matches all objects. A null label selector matches
  2021                  no objects.
  2022                properties:
  2023                  matchExpressions:
  2024                    description: matchExpressions is a list of label selector requirements.
  2025                      The requirements are ANDed.
  2026                    items:
  2027                      description: A label selector requirement is a selector that contains
  2028                        values, a key, and an operator that relates the key and values.
  2029                      properties:
  2030                        key:
  2031                          description: key is the label key that the selector applies
  2032                            to.
  2033                          type: string
  2034                        operator:
  2035                          description: operator represents a key's relationship to a
  2036                            set of values. Valid operators are In, NotIn, Exists and
  2037                            DoesNotExist.
  2038                          type: string
  2039                        values:
  2040                          description: values is an array of string values. If the operator
  2041                            is In or NotIn, the values array must be non-empty. If the
  2042                            operator is Exists or DoesNotExist, the values array must
  2043                            be empty. This array is replaced during a strategic merge
  2044                            patch.
  2045                          items:
  2046                            type: string
  2047                          type: array
  2048                      required:
  2049                      - key
  2050                      - operator
  2051                    type: array
  2052                  matchLabels:
  2053                    description: matchLabels is a map of {key,value} pairs. A single
  2054                      {key,value} in the matchLabels map is equivalent to an element
  2055                                   of matchExpressions, whose key field is "key", the operator is
  2056                                   "In", and the values array contains only "value". The requirements
  2057                                   are ANDed.
  2058                    type: object
  2059              ruleSelector:
  2060                description: A label selector is a label query over a set of resources.
  2061                  The result of matchLabels and matchExpressions are ANDed. An empty
  2062                  label selector matches all objects. A null label selector matches
  2063                  no objects.
  2064                properties:
  2065                  matchExpressions:
  2066                    description: matchExpressions is a list of label selector requirements.
  2067                      The requirements are ANDed.
  2068                    items:
  2069                      description: A label selector requirement is a selector that contains
  2070                        values, a key, and an operator that relates the key and values.
  2071                      properties:
  2072                        key:
  2073                          description: key is the label key that the selector applies
  2074                            to.
  2075                          type: string
  2076                        operator:
  2077                          description: operator represents a key's relationship to a
  2078                            set of values. Valid operators are In, NotIn, Exists and
  2079                            DoesNotExist.
  2080                          type: string
  2081                        values:
  2082                          description: values is an array of string values. If the operator
  2083                            is In or NotIn, the values array must be non-empty. If the
  2084                            operator is Exists or DoesNotExist, the values array must
  2085                            be empty. This array is replaced during a strategic merge
  2086                            patch.
  2087                          items:
  2088                            type: string
  2089                          type: array
  2090                      required:
  2091                      - key
  2092                      - operator
  2093                    type: array
  2094                  matchLabels:
  2095                    description: matchLabels is a map of {key,value} pairs. A single
  2096                      {key,value} in the matchLabels map is equivalent to an element
  2097                                   of matchExpressions, whose key field is "key", the operator is
  2098                                   "In", and the values array contains only "value". The requirements
  2099                                   are ANDed.
  2100                    type: object
  2101              scrapeInterval:
  2102                description: Interval between consecutive scrapes.
  2103                type: string
  2104              secrets:
  2105                description: Secrets is a list of Secrets in the same namespace as the
  2106                  Prometheus object, which shall be mounted into the Prometheus Pods.
  2107                  The Secrets are mounted into /etc/prometheus/secrets/<secret-name>.
  2108                  Secrets changes after initial creation of a Prometheus object are
  2109                  not reflected in the running Pods. To change the secrets mounted into
  2110                  the Prometheus Pods, the object must be deleted and recreated with
  2111                  the new list of secrets.
  2112                items:
  2113                  type: string
  2114                type: array
  2115              securityContext:
  2116                description: PodSecurityContext holds pod-level security attributes
  2117                  and common container settings. Some fields are also present in container.securityContext.  Field
  2118                  values of container.securityContext take precedence over field values
  2119                  of PodSecurityContext.
  2120                properties:
  2121                  fsGroup:
  2122                    description: |-
  2123                      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:
  2124                      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----
  2125                      If unset, the Kubelet will not modify the ownership and permissions of any volume.
  2126                    format: int64
  2127                    type: integer
  2128                  runAsGroup:
  2129                    description: The GID to run the entrypoint of the container process.
  2130                      Uses runtime default if unset. May also be set in SecurityContext.  If
  2131                      set in both SecurityContext and PodSecurityContext, the value
  2132                      specified in SecurityContext takes precedence for that container.
  2133                    format: int64
  2134                    type: integer
  2135                  runAsNonRoot:
  2136                    description: Indicates that the container must run as a non-root
  2137                      user. If true, the Kubelet will validate the image at runtime
  2138                      to ensure that it does not run as UID 0 (root) and fail to start
  2139                      the container if it does. If unset or false, no such validation
  2140                      will be performed. May also be set in SecurityContext.  If set
  2141                      in both SecurityContext and PodSecurityContext, the value specified
  2142                      in SecurityContext takes precedence.
  2143                    type: boolean
  2144                  runAsUser:
  2145                    description: The UID to run the entrypoint of the container process.
  2146                      Defaults to user specified in image metadata if unspecified. May
  2147                      also be set in SecurityContext.  If set in both SecurityContext
  2148                      and PodSecurityContext, the value specified in SecurityContext
  2149                      takes precedence for that container.
  2150                    format: int64
  2151                    type: integer
  2152                  seLinuxOptions:
  2153                    description: SELinuxOptions are the labels to be applied to the
  2154                      container
  2155                    properties:
  2156                      level:
  2157                        description: Level is SELinux level label that applies to the
  2158                          container.
  2159                        type: string
  2160                      role:
  2161                        description: Role is a SELinux role label that applies to the
  2162                          container.
  2163                        type: string
  2164                      type:
  2165                        description: Type is a SELinux type label that applies to the
  2166                          container.
  2167                        type: string
  2168                      user:
  2169                        description: User is a SELinux user label that applies to the
  2170                          container.
  2171                        type: string
  2172                  supplementalGroups:
  2173                    description: A list of groups applied to the first process run in
  2174                      each container, in addition to the container's primary GID.  If
  2175                      unspecified, no groups will be added to any container.
  2176                    items:
  2177                      format: int64
  2178                      type: integer
  2179                    type: array
  2180                  sysctls:
  2181                    description: Sysctls hold a list of namespaced sysctls used for
  2182                      the pod. Pods with unsupported sysctls (by the container runtime)
  2183                      might fail to launch.
  2184                    items:
  2185                      description: Sysctl defines a kernel parameter to be set
  2186                      properties:
  2187                        name:
  2188                          description: Name of a property to set
  2189                          type: string
  2190                        value:
  2191                          description: Value of a property to set
  2192                          type: string
  2193                      required:
  2194                      - name
  2195                      - value
  2196                    type: array
  2197              serviceAccountName:
  2198                description: ServiceAccountName is the name of the ServiceAccount to
  2199                  use to run the Prometheus Pods.
  2200                type: string
  2201              serviceMonitorNamespaceSelector:
  2202                description: A label selector is a label query over a set of resources.
  2203                  The result of matchLabels and matchExpressions are ANDed. An empty
  2204                  label selector matches all objects. A null label selector matches
  2205                  no objects.
  2206                properties:
  2207                  matchExpressions:
  2208                    description: matchExpressions is a list of label selector requirements.
  2209                      The requirements are ANDed.
  2210                    items:
  2211                      description: A label selector requirement is a selector that contains
  2212                        values, a key, and an operator that relates the key and values.
  2213                      properties:
  2214                        key:
  2215                          description: key is the label key that the selector applies
  2216                            to.
  2217                          type: string
  2218                        operator:
  2219                          description: operator represents a key's relationship to a
  2220                            set of values. Valid operators are In, NotIn, Exists and
  2221                            DoesNotExist.
  2222                          type: string
  2223                        values:
  2224                          description: values is an array of string values. If the operator
  2225                            is In or NotIn, the values array must be non-empty. If the
  2226                            operator is Exists or DoesNotExist, the values array must
  2227                            be empty. This array is replaced during a strategic merge
  2228                            patch.
  2229                          items:
  2230                            type: string
  2231                          type: array
  2232                      required:
  2233                      - key
  2234                      - operator
  2235                    type: array
  2236                  matchLabels:
  2237                    description: matchLabels is a map of {key,value} pairs. A single
  2238                      {key,value} in the matchLabels map is equivalent to an element
  2239                                   of matchExpressions, whose key field is "key", the operator is
  2240                                   "In", and the values array contains only "value". The requirements
  2241                                   are ANDed.
  2242                    type: object
  2243              serviceMonitorSelector:
  2244                description: A label selector is a label query over a set of resources.
  2245                  The result of matchLabels and matchExpressions are ANDed. An empty
  2246                  label selector matches all objects. A null label selector matches
  2247                  no objects.
  2248                properties:
  2249                  matchExpressions:
  2250                    description: matchExpressions is a list of label selector requirements.
  2251                      The requirements are ANDed.
  2252                    items:
  2253                      description: A label selector requirement is a selector that contains
  2254                        values, a key, and an operator that relates the key and values.
  2255                      properties:
  2256                        key:
  2257                          description: key is the label key that the selector applies
  2258                            to.
  2259                          type: string
  2260                        operator:
  2261                          description: operator represents a key's relationship to a
  2262                            set of values. Valid operators are In, NotIn, Exists and
  2263                            DoesNotExist.
  2264                          type: string
  2265                        values:
  2266                          description: values is an array of string values. If the operator
  2267                            is In or NotIn, the values array must be non-empty. If the
  2268                            operator is Exists or DoesNotExist, the values array must
  2269                            be empty. This array is replaced during a strategic merge
  2270                            patch.
  2271                          items:
  2272                            type: string
  2273                          type: array
  2274                      required:
  2275                      - key
  2276                      - operator
  2277                    type: array
  2278                  matchLabels:
  2279                    description: matchLabels is a map of {key,value} pairs. A single
  2280                      {key,value} in the matchLabels map is equivalent to an element
  2281                                   of matchExpressions, whose key field is "key", the operator is
  2282                                   "In", and the values array contains only "value". The requirements
  2283                                   are ANDed.
  2284                    type: object
  2285              storage:
  2286                description: StorageSpec defines the configured storage for a group
  2287                  Prometheus servers.
  2288                properties:
  2289                  class:
  2290                    description: 'Name of the StorageClass to use when requesting storage
  2291                      provisioning. More info: https://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses
  2292                      DEPRECATED'
  2293                    type: string
  2294                  emptyDir:
  2295                    description: Represents an empty directory for a pod. Empty directory
  2296                      volumes support ownership management and SELinux relabeling.
  2297                    properties:
  2298                      medium:
  2299                        description: 'What type of storage medium should back this directory.
  2300                          The default is "" which means to use the node''s default medium.
  2301                          Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
  2302                        type: string
  2303                      sizeLimit: {}
  2304                  resources:
  2305                    description: ResourceRequirements describes the compute resource
  2306                      requirements.
  2307                    properties:
  2308                      limits:
  2309                        description: 'Limits describes the maximum amount of compute
  2310                          resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2311                        type: object
  2312                      requests:
  2313                        description: 'Requests describes the minimum amount of compute
  2314                          resources required. If Requests is omitted for a container,
  2315                          it defaults to Limits if that is explicitly specified, otherwise
  2316                          to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2317                        type: object
  2318                  selector:
  2319                    description: A label selector is a label query over a set of resources.
  2320                      The result of matchLabels and matchExpressions are ANDed. An empty
  2321                      label selector matches all objects. A null label selector matches
  2322                      no objects.
  2323                    properties:
  2324                      matchExpressions:
  2325                        description: matchExpressions is a list of label selector requirements.
  2326                          The requirements are ANDed.
  2327                        items:
  2328                          description: A label selector requirement is a selector that
  2329                            contains values, a key, and an operator that relates the
  2330                            key and values.
  2331                          properties:
  2332                            key:
  2333                              description: key is the label key that the selector applies
  2334                                to.
  2335                              type: string
  2336                            operator:
  2337                              description: operator represents a key's relationship
  2338                                to a set of values. Valid operators are In, NotIn, Exists
  2339                                and DoesNotExist.
  2340                              type: string
  2341                            values:
  2342                              description: values is an array of string values. If the
  2343                                operator is In or NotIn, the values array must be non-empty.
  2344                                If the operator is Exists or DoesNotExist, the values
  2345                                array must be empty. This array is replaced during a
  2346                                strategic merge patch.
  2347                              items:
  2348                                type: string
  2349                              type: array
  2350                          required:
  2351                          - key
  2352                          - operator
  2353                        type: array
  2354                      matchLabels:
  2355                        description: matchLabels is a map of {key,value} pairs. A single
  2356                          {key,value} in the matchLabels map is equivalent to an element
  2357                                       of matchExpressions, whose key field is "key", the operator
  2358                                       is "In", and the values array contains only "value". The requirements
  2359                                       are ANDed.
  2360                        type: object
  2361                  volumeClaimTemplate:
  2362                    description: PersistentVolumeClaim is a user's request for and claim
  2363                      to a persistent volume
  2364                    properties:
  2365                      apiVersion:
  2366                        description: 'APIVersion defines the versioned schema of this
  2367                          representation of an object. Servers should convert recognized
  2368                          schemas to the latest internal value, and may reject unrecognized
  2369                          values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  2370                        type: string
  2371                      kind:
  2372                        description: 'Kind is a string value representing the REST resource
  2373                          this object represents. Servers may infer this from the endpoint
  2374                          the client submits requests to. Cannot be updated. In CamelCase.
  2375                          More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2376                        type: string
  2377                      metadata:
  2378                        description: ObjectMeta is metadata that all persisted resources
  2379                          must have, which includes all objects users must create.
  2380                        properties:
  2381                          annotations:
  2382                            description: 'Annotations is an unstructured key value map
  2383                              stored with a resource that may be set by external tools
  2384                              to store and retrieve arbitrary metadata. They are not
  2385                              queryable and should be preserved when modifying objects.
  2386                              More info: http://kubernetes.io/docs/user-guide/annotations'
  2387                            type: object
  2388                          clusterName:
  2389                            description: The name of the cluster which the object belongs
  2390                              to. This is used to distinguish resources with same name
  2391                              and namespace in different clusters. This field is not
  2392                              set anywhere right now and apiserver is going to ignore
  2393                              it if set in create or update request.
  2394                            type: string
  2395                          creationTimestamp:
  2396                            description: Time is a wrapper around time.Time which supports
  2397                              correct marshaling to YAML and JSON.  Wrappers are provided
  2398                              for many of the factory methods that the time package
  2399                              offers.
  2400                            format: date-time
  2401                            type: string
  2402                          deletionGracePeriodSeconds:
  2403                            description: Number of seconds allowed for this object to
  2404                              gracefully terminate before it will be removed from the
  2405                              system. Only set when deletionTimestamp is also set. May
  2406                              only be shortened. Read-only.
  2407                            format: int64
  2408                            type: integer
  2409                          deletionTimestamp:
  2410                            description: Time is a wrapper around time.Time which supports
  2411                              correct marshaling to YAML and JSON.  Wrappers are provided
  2412                              for many of the factory methods that the time package
  2413                              offers.
  2414                            format: date-time
  2415                            type: string
  2416                          finalizers:
  2417                            description: Must be empty before the object is deleted
  2418                              from the registry. Each entry is an identifier for the
  2419                              responsible component that will remove the entry from
  2420                              the list. If the deletionTimestamp of the object is non-nil,
  2421                              entries in this list can only be removed.
  2422                            items:
  2423                              type: string
  2424                            type: array
  2425                          generateName:
  2426                            description: |-
  2427                              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.
  2428                              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).
  2429                              Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
  2430                            type: string
  2431                          generation:
  2432                            description: A sequence number representing a specific generation
  2433                              of the desired state. Populated by the system. Read-only.
  2434                            format: int64
  2435                            type: integer
  2436                          initializers:
  2437                            description: Initializers tracks the progress of initialization.
  2438                            properties:
  2439                              pending:
  2440                                description: Pending is a list of initializers that
  2441                                  must execute in order before this object is visible.
  2442                                  When the last pending overrides is removed, and
  2443                                  no failing result is set, the initializers struct
  2444                                  will be set to nil and the object is considered as
  2445                                  initialized and visible to all clients.
  2446                                items:
  2447                                  description: Initializer is information about an overrides
  2448                                    that has not yet completed.
  2449                                  properties:
  2450                                    name:
  2451                                      description: name of the process that is responsible
  2452                                        for initializing this object.
  2453                                      type: string
  2454                                  required:
  2455                                  - name
  2456                                type: array
  2457                              result:
  2458                                description: Status is a return value for calls that
  2459                                  don't return other objects.
  2460                                properties:
  2461                                  apiVersion:
  2462                                    description: 'APIVersion defines the versioned schema
  2463                                      of this representation of an object. Servers should
  2464                                      convert recognized schemas to the latest internal
  2465                                      value, and may reject unrecognized values. More
  2466                                      info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
  2467                                    type: string
  2468                                  code:
  2469                                    description: Suggested HTTP return code for this
  2470                                      status, 0 if not set.
  2471                                    format: int32
  2472                                    type: integer
  2473                                  details:
  2474                                    description: StatusDetails is a set of additional
  2475                                      properties that MAY be set by the server to provide
  2476                                      additional information about a response. The Reason
  2477                                      field of a Status object defines what attributes
  2478                                      will be set. Clients must ignore fields that do
  2479                                      not match the defined type of each attribute,
  2480                                      and should assume that any attribute may be empty,
  2481                                      invalid, or under defined.
  2482                                    properties:
  2483                                      causes:
  2484                                        description: The Causes array includes more
  2485                                          details associated with the StatusReason failure.
  2486                                          Not all StatusReasons may provide detailed
  2487                                          causes.
  2488                                        items:
  2489                                          description: StatusCause provides more information
  2490                                            about an api.Status failure, including cases
  2491                                            when multiple errors are encountered.
  2492                                          properties:
  2493                                            field:
  2494                                              description: |-
  2495                                                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.
  2496                                                Examples:
  2497                                                  "name" - the field "name" on the current resource
  2498                                                  "items[0].name" - the field "name" on the first array entry in "items"
  2499                                              type: string
  2500                                            message:
  2501                                              description: A human-readable description
  2502                                                of the cause of the error.  This field
  2503                                                may be presented as-is to a reader.
  2504                                              type: string
  2505                                            reason:
  2506                                              description: A machine-readable description
  2507                                                of the cause of the error. If this value
  2508                                                is empty there is no information available.
  2509                                              type: string
  2510                                        type: array
  2511                                      group:
  2512                                        description: The group attribute of the resource
  2513                                          associated with the status StatusReason.
  2514                                        type: string
  2515                                      kind:
  2516                                        description: 'The kind attribute of the resource
  2517                                          associated with the status StatusReason. On
  2518                                          some operations may differ from the requested
  2519                                          resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2520                                        type: string
  2521                                      name:
  2522                                        description: The name attribute of the resource
  2523                                          associated with the status StatusReason (when
  2524                                          there is a single name which can be described).
  2525                                        type: string
  2526                                      retryAfterSeconds:
  2527                                        description: If specified, the time in seconds
  2528                                          before the operation should be retried. Some
  2529                                          errors may indicate the client must take an
  2530                                          alternate action - for those errors this field
  2531                                          may indicate how long to wait before taking
  2532                                          the alternate action.
  2533                                        format: int32
  2534                                        type: integer
  2535                                      uid:
  2536                                        description: 'UID of the resource. (when there
  2537                                          is a single resource which can be described).
  2538                                          More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  2539                                        type: string
  2540                                  kind:
  2541                                    description: 'Kind is a string value representing
  2542                                      the REST resource this object represents. Servers
  2543                                      may infer this from the endpoint the client submits
  2544                                      requests to. Cannot be updated. In CamelCase.
  2545                                      More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2546                                    type: string
  2547                                  message:
  2548                                    description: A human-readable description of the
  2549                                      status of this operation.
  2550                                    type: string
  2551                                  metadata:
  2552                                    description: ListMeta describes metadata that synthetic
  2553                                                   resources must have, including lists and various
  2554                                                   status objects. A resource may have only one of
  2555                                      {ObjectMeta, ListMeta}.
  2556                                    properties:
  2557                                      continue:
  2558                                        description: continue may be set if the user
  2559                                          set a limit on the number of items returned,
  2560                                          and indicates that the server has more data
  2561                                          available. The value is opaque and may be
  2562                                          used to issue another request to the endpoint
  2563                                          that served this list to retrieve the next
  2564                                          set of available objects. Continuing a list
  2565                                          may not be possible if the server configuration
  2566                                          has changed or more than a few minutes have
  2567                                          passed. The resourceVersion field returned
  2568                                          when using this continue value will be identical
  2569                                          to the value in the first response.
  2570                                        type: string
  2571                                      resourceVersion:
  2572                                        description: 'String that identifies the server''s
  2573                                          internal version of this object that can be
  2574                                          used by clients to determine when objects
  2575                                          have changed. Value must be treated as opaque
  2576                                          by clients and passed unmodified back to the
  2577                                          server. Populated by the system. Read-only.
  2578                                          More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency'
  2579                                        type: string
  2580                                      selfLink:
  2581                                        description: selfLink is a URL representing
  2582                                          this object. Populated by the system. Read-only.
  2583                                        type: string
  2584                                  reason:
  2585                                    description: A machine-readable description of why
  2586                                      this operation is in the "Failure" status. If
  2587                                      this value is empty there is no information available.
  2588                                      A Reason clarifies an HTTP status code but does
  2589                                      not override it.
  2590                                    type: string
  2591                                  status:
  2592                                    description: 'Status of the operation. One of: "Success"
  2593                                      or "Failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status'
  2594                                    type: string
  2595                            required:
  2596                            - pending
  2597                          labels:
  2598                            description: 'Map of string keys and values that can be
  2599                              used to organize and categorize (scope and select) objects.
  2600                              May match selectors of replication controllers and services.
  2601                              More info: http://kubernetes.io/docs/user-guide/labels'
  2602                            type: object
  2603                          name:
  2604                            description: 'Name must be unique within a namespace. Is
  2605                              required when creating resources, although some resources
  2606                              may allow a client to request the generation of an appropriate
  2607                              name automatically. Name is primarily intended for creation
  2608                              idempotence and configuration definition. Cannot be updated.
  2609                              More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  2610                            type: string
  2611                          namespace:
  2612                            description: |-
  2613                              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.
  2614                              Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
  2615                            type: string
  2616                          ownerReferences:
  2617                            description: List of objects depended by this object. If
  2618                              ALL objects in the list have been deleted, this object
  2619                              will be garbage collected. If this object is managed by
  2620                              a controller, then an entry in this list will point to
  2621                              this controller, with the controller field set to true.
  2622                              There cannot be more than one managing controller.
  2623                            items:
  2624                              description: OwnerReference contains enough information
  2625                                to let you identify an owning object. Currently, an
  2626                                owning object must be in the same namespace, so there
  2627                                is no namespace field.
  2628                              properties:
  2629                                apiVersion:
  2630                                  description: API version of the referent.
  2631                                  type: string
  2632                                blockOwnerDeletion:
  2633                                  description: If true, AND if the owner has the "foregroundDeletion"
  2634                                                 finalizer, then the owner cannot be deleted from
  2635                                                 the key-value store until this reference is removed.
  2636                                                 Defaults to false. To set this field, a user needs
  2637                                                 "delete" permission of the owner, otherwise 422
  2638                                                 (Unprocessable Entity) will be returned.
  2639                                  type: boolean
  2640                                controller:
  2641                                  description: If true, this reference points to the
  2642                                    managing controller.
  2643                                  type: boolean
  2644                                kind:
  2645                                  description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
  2646                                  type: string
  2647                                name:
  2648                                  description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
  2649                                  type: string
  2650                                uid:
  2651                                  description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
  2652                                  type: string
  2653                              required:
  2654                              - apiVersion
  2655                              - kind
  2656                              - name
  2657                              - uid
  2658                            type: array
  2659                          resourceVersion:
  2660                            description: |-
  2661                              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.
  2662                              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
  2663                            type: string
  2664                          selfLink:
  2665                            description: SelfLink is a URL representing this object.
  2666                              Populated by the system. Read-only.
  2667                            type: string
  2668                          uid:
  2669                            description: |-
  2670                              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.
  2671                              Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
  2672                            type: string
  2673                      spec:
  2674                        description: PersistentVolumeClaimSpec describes the common
  2675                          attributes of storage devices and allows a Source for provider-specific
  2676                          attributes
  2677                        properties:
  2678                          accessModes:
  2679                            description: 'AccessModes contains the desired access modes
  2680                              the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  2681                            items:
  2682                              type: string
  2683                            type: array
  2684                          resources:
  2685                            description: ResourceRequirements describes the compute
  2686                              resource requirements.
  2687                            properties:
  2688                              limits:
  2689                                description: 'Limits describes the maximum amount of
  2690                                  compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2691                                type: object
  2692                              requests:
  2693                                description: 'Requests describes the minimum amount
  2694                                  of compute resources required. If Requests is omitted
  2695                                  for a container, it defaults to Limits if that is
  2696                                  explicitly specified, otherwise to an implementation-defined
  2697                                  value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
  2698                                type: object
  2699                          selector:
  2700                            description: A label selector is a label query over a set
  2701                              of resources. The result of matchLabels and matchExpressions
  2702                              are ANDed. An empty label selector matches all objects.
  2703                              A null label selector matches no objects.
  2704                            properties:
  2705                              matchExpressions:
  2706                                description: matchExpressions is a list of label selector
  2707                                  requirements. The requirements are ANDed.
  2708                                items:
  2709                                  description: A label selector requirement is a selector
  2710                                    that contains values, a key, and an operator that
  2711                                    relates the key and values.
  2712                                  properties:
  2713                                    key:
  2714                                      description: key is the label key that the selector
  2715                                        applies to.
  2716                                      type: string
  2717                                    operator:
  2718                                      description: operator represents a key's relationship
  2719                                        to a set of values. Valid operators are In,
  2720                                        NotIn, Exists and DoesNotExist.
  2721                                      type: string
  2722                                    values:
  2723                                      description: values is an array of string values.
  2724                                        If the operator is In or NotIn, the values array
  2725                                        must be non-empty. If the operator is Exists
  2726                                        or DoesNotExist, the values array must be empty.
  2727                                        This array is replaced during a strategic merge
  2728                                        patch.
  2729                                      items:
  2730                                        type: string
  2731                                      type: array
  2732                                  required:
  2733                                  - key
  2734                                  - operator
  2735                                type: array
  2736                              matchLabels:
  2737                                description: matchLabels is a map of {key,value} pairs.
  2738                                  A single {key,value} in the matchLabels map is equivalent
  2739                                  to an element of matchExpressions, whose key field
  2740                                  is "key", the operator is "In", and the values array
  2741                                  contains only "value". The requirements are ANDed.
  2742                                type: object
  2743                          storageClassName:
  2744                            description: 'Name of the StorageClass required by the claim.
  2745                              More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
  2746                            type: string
  2747                          volumeMode:
  2748                            description: volumeMode defines what type of volume is required
  2749                              by the claim. Value of Filesystem is implied when not
  2750                              included in claim spec. This is an alpha feature and may
  2751                              change in the future.
  2752                            type: string
  2753                          volumeName:
  2754                            description: VolumeName is the binding reference to the
  2755                              PersistentVolume backing this claim.
  2756                            type: string
  2757                      status:
  2758                        description: PersistentVolumeClaimStatus is the current status
  2759                          of a persistent volume claim.
  2760                        properties:
  2761                          accessModes:
  2762                            description: 'AccessModes contains the actual access modes
  2763                              the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1'
  2764                            items:
  2765                              type: string
  2766                            type: array
  2767                          capacity:
  2768                            description: Represents the actual resources of the underlying
  2769                              volume.
  2770                            type: object
  2771                          conditions:
  2772                            description: Current Condition of persistent volume claim.
  2773                              If underlying persistent volume is being resized then
  2774                              the Condition will be set to 'ResizeStarted'.
  2775                            items:
  2776                              description: PersistentVolumeClaimCondition contails details
  2777                                about state of pvc
  2778                              properties:
  2779                                lastProbeTime:
  2780                                  description: Time is a wrapper around time.Time which
  2781                                    supports correct marshaling to YAML and JSON.  Wrappers
  2782                                    are provided for many of the factory methods that
  2783                                    the time package offers.
  2784                                  format: date-time
  2785                                  type: string
  2786                                lastTransitionTime:
  2787                                  description: Time is a wrapper around time.Time which
  2788                                    supports correct marshaling to YAML and JSON.  Wrappers
  2789                                    are provided for many of the factory methods that
  2790                                    the time package offers.
  2791                                  format: date-time
  2792                                  type: string
  2793                                message:
  2794                                  description: Human-readable message indicating details
  2795                                    about last transition.
  2796                                  type: string
  2797                                reason:
  2798                                  description: Unique, this should be a short, machine
  2799                                    understandable string that gives the reason for
  2800                                    condition's last transition. If it reports "ResizeStarted"
  2801                                    that means the underlying persistent volume is being
  2802                                    resized.
  2803                                  type: string
  2804                                status:
  2805                                  type: string
  2806                                type:
  2807                                  type: string
  2808                              required:
  2809                              - type
  2810                              - status
  2811                            type: array
  2812                          phase:
  2813                            description: Phase represents the current phase of PersistentVolumeClaim.
  2814                            type: string
  2815              tag:
  2816                description: Tag of Prometheus container image to be deployed. Defaults
  2817                  to the value of `version`.
  2818                type: string
  2819              thanos:
  2820                description: ThanosSpec defines parameters for a Prometheus server within
  2821                  a Thanos deployment.
  2822                properties:
  2823                  baseImage:
  2824                    description: Thanos base image if other than default.
  2825                    type: string
  2826                  gcs:
  2827                    description: ThanosGCSSpec defines parameters for use of Google
  2828                      Cloud Storage (GCS) with Thanos.
  2829                    properties:
  2830                      bucket:
  2831                        description: Google Cloud Storage bucket name for stored blocks.
  2832                          If empty it won't store any block inside Google Cloud Storage.
  2833                        type: string
  2834                  peers:
  2835                    description: Peers is a DNS name for Thanos to discover peers through.
  2836                    type: string
  2837                  s3:
  2838                    description: ThanosSpec defines parameters for of AWS Simple Storage
  2839                      Service (S3) with Thanos. (S3 compatible services apply as well)
  2840                    properties:
  2841                      accessKey:
  2842                        description: SecretKeySelector selects a key of a Secret.
  2843                        properties:
  2844                          key:
  2845                            description: The key of the secret to select from.  Must
  2846                              be a valid secret key.
  2847                            type: string
  2848                          name:
  2849                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  2850                            type: string
  2851                          optional:
  2852                            description: Specify whether the Secret or it's key must
  2853                              be defined
  2854                            type: boolean
  2855                        required:
  2856                        - key
  2857                      bucket:
  2858                        description: S3-Compatible API bucket name for stored blocks.
  2859                        type: string
  2860                      endpoint:
  2861                        description: S3-Compatible API endpoint for stored blocks.
  2862                        type: string
  2863                      insecure:
  2864                        description: Whether to use an insecure connection with an S3-Compatible
  2865                          API.
  2866                        type: boolean
  2867                      secretKey:
  2868                        description: SecretKeySelector selects a key of a Secret.
  2869                        properties:
  2870                          key:
  2871                            description: The key of the secret to select from.  Must
  2872                              be a valid secret key.
  2873                            type: string
  2874                          name:
  2875                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
  2876                            type: string
  2877                          optional:
  2878                            description: Specify whether the Secret or it's key must
  2879                              be defined
  2880                            type: boolean
  2881                        required:
  2882                        - key
  2883                      signatureVersion2:
  2884                        description: Whether to use S3 Signature Version 2; otherwise
  2885                          Signature Version 4 will be used.
  2886                        type: boolean
  2887                  tag:
  2888                    description: Tag of Thanos sidecar container image to be deployed.
  2889                      Defaults to the value of `version`.
  2890                    type: string
  2891                  version:
  2892                    description: Version describes the version of Thanos to use.
  2893                    type: string
  2894              tolerations:
  2895                description: If specified, the pod's tolerations.
  2896                items:
  2897                  description: The pod this Toleration is attached to tolerates any
  2898                    taint that matches the triple <key,value,effect> using the matching
  2899                    operator <operator>.
  2900                  properties:
  2901                    effect:
  2902                      description: Effect indicates the taint effect to match. Empty
  2903                        means match all taint effects. When specified, allowed values
  2904                        are NoSchedule, PreferNoSchedule and NoExecute.
  2905                      type: string
  2906                    key:
  2907                      description: Key is the taint key that the toleration applies
  2908                        to. Empty means match all taint keys. If the key is empty, operator
  2909                        must be Exists; this combination means to match all values and
  2910                        all keys.
  2911                      type: string
  2912                    operator:
  2913                      description: Operator represents a key's relationship to the value.
  2914                        Valid operators are Exists and Equal. Defaults to Equal. Exists
  2915                        is equivalent to wildcard for value, so that a pod can tolerate
  2916                        all taints of a particular category.
  2917                      type: string
  2918                    tolerationSeconds:
  2919                      description: TolerationSeconds represents the period of time the
  2920                        toleration (which must be of effect NoExecute, otherwise this
  2921                        field is ignored) tolerates the taint. By default, it is not
  2922                        set, which means tolerate the taint forever (do not evict).
  2923                        Zero and negative values will be treated as 0 (evict immediately)
  2924                        by the system.
  2925                      format: int64
  2926                      type: integer
  2927                    value:
  2928                      description: Value is the taint value the toleration matches to.
  2929                        If the operator is Exists, the value should be empty, otherwise
  2930                        just a regular string.
  2931                      type: string
  2932                type: array
  2933              version:
  2934                description: Version of Prometheus to be deployed.
  2935                type: string
  2936          status:
  2937            description: 'Most recent observed status of the Prometheus cluster. Read-only.
  2938              Not included when requesting from the apiserver, only from the Prometheus
  2939              Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status'
  2940            properties:
  2941              availableReplicas:
  2942                description: Total number of available pods (ready for at least minReadySeconds)
  2943                  targeted by this Prometheus deployment.
  2944                format: int32
  2945                type: integer
  2946              paused:
  2947                description: Represents whether any actions on the underlaying managed
  2948                  objects are being performed. Only delete actions will be performed.
  2949                type: boolean
  2950              replicas:
  2951                description: Total number of non-terminated pods targeted by this Prometheus
  2952                  deployment (their labels match the selector).
  2953                format: int32
  2954                type: integer
  2955              unavailableReplicas:
  2956                description: Total number of unavailable pods targeted by this Prometheus
  2957                  deployment.
  2958                format: int32
  2959                type: integer
  2960              updatedReplicas:
  2961                description: Total number of non-terminated pods targeted by this Prometheus
  2962                  deployment that have the desired version spec.
  2963                format: int32
  2964                type: integer
  2965            required:
  2966            - paused
  2967            - replicas
  2968            - updatedReplicas
  2969            - availableReplicas
  2970            - unavailableReplicas
  2971    version: v1