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