vitess.io/vitess@v0.16.2/examples/operator/operator.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.11.3 7 creationTimestamp: null 8 name: etcdlockservers.planetscale.com 9 spec: 10 group: planetscale.com 11 names: 12 kind: EtcdLockserver 13 listKind: EtcdLockserverList 14 plural: etcdlockservers 15 shortNames: 16 - etcdls 17 singular: etcdlockserver 18 scope: Namespaced 19 versions: 20 - name: v2 21 schema: 22 openAPIV3Schema: 23 properties: 24 apiVersion: 25 type: string 26 kind: 27 type: string 28 metadata: 29 type: object 30 spec: 31 properties: 32 advertisePeerURLs: 33 items: 34 type: string 35 maxItems: 3 36 minItems: 3 37 type: array 38 affinity: 39 x-kubernetes-preserve-unknown-fields: true 40 annotations: 41 additionalProperties: 42 type: string 43 type: object 44 clientService: 45 properties: 46 annotations: 47 additionalProperties: 48 type: string 49 type: object 50 clusterIP: 51 type: string 52 type: object 53 createClientService: 54 type: boolean 55 createPDB: 56 type: boolean 57 createPeerService: 58 type: boolean 59 dataVolumeClaimTemplate: 60 properties: 61 accessModes: 62 items: 63 type: string 64 type: array 65 dataSource: 66 properties: 67 apiGroup: 68 type: string 69 kind: 70 type: string 71 name: 72 type: string 73 required: 74 - kind 75 - name 76 type: object 77 x-kubernetes-map-type: atomic 78 dataSourceRef: 79 properties: 80 apiGroup: 81 type: string 82 kind: 83 type: string 84 name: 85 type: string 86 namespace: 87 type: string 88 required: 89 - kind 90 - name 91 type: object 92 resources: 93 properties: 94 claims: 95 items: 96 properties: 97 name: 98 type: string 99 required: 100 - name 101 type: object 102 type: array 103 x-kubernetes-list-map-keys: 104 - name 105 x-kubernetes-list-type: map 106 limits: 107 additionalProperties: 108 anyOf: 109 - type: integer 110 - type: string 111 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 112 x-kubernetes-int-or-string: true 113 type: object 114 requests: 115 additionalProperties: 116 anyOf: 117 - type: integer 118 - type: string 119 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 120 x-kubernetes-int-or-string: true 121 type: object 122 type: object 123 selector: 124 properties: 125 matchExpressions: 126 items: 127 properties: 128 key: 129 type: string 130 operator: 131 type: string 132 values: 133 items: 134 type: string 135 type: array 136 required: 137 - key 138 - operator 139 type: object 140 type: array 141 matchLabels: 142 additionalProperties: 143 type: string 144 type: object 145 type: object 146 x-kubernetes-map-type: atomic 147 storageClassName: 148 type: string 149 volumeMode: 150 type: string 151 volumeName: 152 type: string 153 type: object 154 extraEnv: 155 items: 156 properties: 157 name: 158 type: string 159 value: 160 type: string 161 valueFrom: 162 properties: 163 configMapKeyRef: 164 properties: 165 key: 166 type: string 167 name: 168 type: string 169 optional: 170 type: boolean 171 required: 172 - key 173 type: object 174 x-kubernetes-map-type: atomic 175 fieldRef: 176 properties: 177 apiVersion: 178 type: string 179 fieldPath: 180 type: string 181 required: 182 - fieldPath 183 type: object 184 x-kubernetes-map-type: atomic 185 resourceFieldRef: 186 properties: 187 containerName: 188 type: string 189 divisor: 190 anyOf: 191 - type: integer 192 - type: string 193 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 194 x-kubernetes-int-or-string: true 195 resource: 196 type: string 197 required: 198 - resource 199 type: object 200 x-kubernetes-map-type: atomic 201 secretKeyRef: 202 properties: 203 key: 204 type: string 205 name: 206 type: string 207 optional: 208 type: boolean 209 required: 210 - key 211 type: object 212 x-kubernetes-map-type: atomic 213 type: object 214 required: 215 - name 216 type: object 217 type: array 218 extraFlags: 219 additionalProperties: 220 type: string 221 type: object 222 extraLabels: 223 additionalProperties: 224 type: string 225 type: object 226 extraVolumeMounts: 227 items: 228 properties: 229 mountPath: 230 type: string 231 mountPropagation: 232 type: string 233 name: 234 type: string 235 readOnly: 236 type: boolean 237 subPath: 238 type: string 239 subPathExpr: 240 type: string 241 required: 242 - mountPath 243 - name 244 type: object 245 type: array 246 extraVolumes: 247 x-kubernetes-preserve-unknown-fields: true 248 image: 249 type: string 250 imagePullPolicy: 251 type: string 252 imagePullSecrets: 253 items: 254 properties: 255 name: 256 type: string 257 type: object 258 x-kubernetes-map-type: atomic 259 type: array 260 initContainers: 261 x-kubernetes-preserve-unknown-fields: true 262 localMemberIndex: 263 format: int32 264 maximum: 3 265 minimum: 1 266 type: integer 267 peerService: 268 properties: 269 annotations: 270 additionalProperties: 271 type: string 272 type: object 273 clusterIP: 274 type: string 275 type: object 276 resources: 277 properties: 278 claims: 279 items: 280 properties: 281 name: 282 type: string 283 required: 284 - name 285 type: object 286 type: array 287 x-kubernetes-list-map-keys: 288 - name 289 x-kubernetes-list-type: map 290 limits: 291 additionalProperties: 292 anyOf: 293 - type: integer 294 - type: string 295 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 296 x-kubernetes-int-or-string: true 297 type: object 298 requests: 299 additionalProperties: 300 anyOf: 301 - type: integer 302 - type: string 303 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 304 x-kubernetes-int-or-string: true 305 type: object 306 type: object 307 sidecarContainers: 308 x-kubernetes-preserve-unknown-fields: true 309 tolerations: 310 x-kubernetes-preserve-unknown-fields: true 311 zone: 312 type: string 313 type: object 314 status: 315 properties: 316 available: 317 type: string 318 clientServiceName: 319 type: string 320 observedGeneration: 321 format: int64 322 type: integer 323 type: object 324 type: object 325 served: true 326 storage: true 327 subresources: 328 status: {} 329 --- 330 apiVersion: apiextensions.k8s.io/v1 331 kind: CustomResourceDefinition 332 metadata: 333 annotations: 334 controller-gen.kubebuilder.io/version: v0.11.3 335 creationTimestamp: null 336 name: vitessbackups.planetscale.com 337 spec: 338 group: planetscale.com 339 names: 340 kind: VitessBackup 341 listKind: VitessBackupList 342 plural: vitessbackups 343 shortNames: 344 - vtb 345 singular: vitessbackup 346 scope: Namespaced 347 versions: 348 - name: v2 349 schema: 350 openAPIV3Schema: 351 properties: 352 apiVersion: 353 type: string 354 kind: 355 type: string 356 metadata: 357 type: object 358 spec: 359 type: object 360 status: 361 properties: 362 complete: 363 type: boolean 364 engine: 365 type: string 366 finishedTime: 367 format: date-time 368 type: string 369 position: 370 type: string 371 startTime: 372 format: date-time 373 type: string 374 storageDirectory: 375 type: string 376 storageName: 377 type: string 378 type: object 379 type: object 380 served: true 381 storage: true 382 --- 383 apiVersion: apiextensions.k8s.io/v1 384 kind: CustomResourceDefinition 385 metadata: 386 annotations: 387 controller-gen.kubebuilder.io/version: v0.11.3 388 creationTimestamp: null 389 name: vitessbackupstorages.planetscale.com 390 spec: 391 group: planetscale.com 392 names: 393 kind: VitessBackupStorage 394 listKind: VitessBackupStorageList 395 plural: vitessbackupstorages 396 shortNames: 397 - vtbs 398 singular: vitessbackupstorage 399 scope: Namespaced 400 versions: 401 - name: v2 402 schema: 403 openAPIV3Schema: 404 properties: 405 apiVersion: 406 type: string 407 kind: 408 type: string 409 metadata: 410 type: object 411 spec: 412 properties: 413 location: 414 properties: 415 annotations: 416 additionalProperties: 417 type: string 418 type: object 419 azblob: 420 properties: 421 account: 422 minLength: 1 423 type: string 424 authSecret: 425 properties: 426 key: 427 type: string 428 name: 429 type: string 430 volumeName: 431 type: string 432 required: 433 - key 434 type: object 435 container: 436 minLength: 1 437 type: string 438 keyPrefix: 439 maxLength: 256 440 pattern: ^[^\r\n]*$ 441 type: string 442 required: 443 - account 444 - authSecret 445 - container 446 type: object 447 ceph: 448 properties: 449 authSecret: 450 properties: 451 key: 452 type: string 453 name: 454 type: string 455 volumeName: 456 type: string 457 required: 458 - key 459 type: object 460 required: 461 - authSecret 462 type: object 463 gcs: 464 properties: 465 authSecret: 466 properties: 467 key: 468 type: string 469 name: 470 type: string 471 volumeName: 472 type: string 473 required: 474 - key 475 type: object 476 bucket: 477 minLength: 1 478 type: string 479 keyPrefix: 480 maxLength: 256 481 pattern: ^[^\r\n]*$ 482 type: string 483 required: 484 - bucket 485 type: object 486 name: 487 maxLength: 63 488 pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]*[A-Za-z0-9])?$ 489 type: string 490 s3: 491 properties: 492 authSecret: 493 properties: 494 key: 495 type: string 496 name: 497 type: string 498 volumeName: 499 type: string 500 required: 501 - key 502 type: object 503 bucket: 504 minLength: 1 505 type: string 506 endpoint: 507 type: string 508 forcePathStyle: 509 type: boolean 510 keyPrefix: 511 maxLength: 256 512 pattern: ^[^\r\n]*$ 513 type: string 514 region: 515 minLength: 1 516 type: string 517 required: 518 - bucket 519 - region 520 type: object 521 volume: 522 x-kubernetes-preserve-unknown-fields: true 523 volumeSubPath: 524 type: string 525 type: object 526 subcontroller: 527 properties: 528 serviceAccountName: 529 type: string 530 type: object 531 required: 532 - location 533 type: object 534 status: 535 properties: 536 observedGeneration: 537 format: int64 538 type: integer 539 totalBackupCount: 540 format: int32 541 type: integer 542 type: object 543 type: object 544 served: true 545 storage: true 546 subresources: 547 status: {} 548 --- 549 apiVersion: apiextensions.k8s.io/v1 550 kind: CustomResourceDefinition 551 metadata: 552 annotations: 553 controller-gen.kubebuilder.io/version: v0.11.3 554 creationTimestamp: null 555 name: vitesscells.planetscale.com 556 spec: 557 group: planetscale.com 558 names: 559 kind: VitessCell 560 listKind: VitessCellList 561 plural: vitesscells 562 shortNames: 563 - vtc 564 singular: vitesscell 565 scope: Namespaced 566 versions: 567 - name: v2 568 schema: 569 openAPIV3Schema: 570 properties: 571 apiVersion: 572 type: string 573 kind: 574 type: string 575 metadata: 576 type: object 577 spec: 578 properties: 579 allCells: 580 items: 581 type: string 582 type: array 583 extraVitessFlags: 584 additionalProperties: 585 type: string 586 type: object 587 gateway: 588 properties: 589 affinity: 590 x-kubernetes-preserve-unknown-fields: true 591 annotations: 592 additionalProperties: 593 type: string 594 type: object 595 authentication: 596 properties: 597 static: 598 properties: 599 secret: 600 properties: 601 key: 602 type: string 603 name: 604 type: string 605 volumeName: 606 type: string 607 required: 608 - key 609 type: object 610 type: object 611 type: object 612 extraEnv: 613 items: 614 properties: 615 name: 616 type: string 617 value: 618 type: string 619 valueFrom: 620 properties: 621 configMapKeyRef: 622 properties: 623 key: 624 type: string 625 name: 626 type: string 627 optional: 628 type: boolean 629 required: 630 - key 631 type: object 632 x-kubernetes-map-type: atomic 633 fieldRef: 634 properties: 635 apiVersion: 636 type: string 637 fieldPath: 638 type: string 639 required: 640 - fieldPath 641 type: object 642 x-kubernetes-map-type: atomic 643 resourceFieldRef: 644 properties: 645 containerName: 646 type: string 647 divisor: 648 anyOf: 649 - type: integer 650 - type: string 651 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 652 x-kubernetes-int-or-string: true 653 resource: 654 type: string 655 required: 656 - resource 657 type: object 658 x-kubernetes-map-type: atomic 659 secretKeyRef: 660 properties: 661 key: 662 type: string 663 name: 664 type: string 665 optional: 666 type: boolean 667 required: 668 - key 669 type: object 670 x-kubernetes-map-type: atomic 671 type: object 672 required: 673 - name 674 type: object 675 type: array 676 extraFlags: 677 additionalProperties: 678 type: string 679 type: object 680 extraLabels: 681 additionalProperties: 682 type: string 683 type: object 684 extraVolumeMounts: 685 items: 686 properties: 687 mountPath: 688 type: string 689 mountPropagation: 690 type: string 691 name: 692 type: string 693 readOnly: 694 type: boolean 695 subPath: 696 type: string 697 subPathExpr: 698 type: string 699 required: 700 - mountPath 701 - name 702 type: object 703 type: array 704 extraVolumes: 705 x-kubernetes-preserve-unknown-fields: true 706 initContainers: 707 x-kubernetes-preserve-unknown-fields: true 708 replicas: 709 format: int32 710 minimum: 0 711 type: integer 712 resources: 713 properties: 714 claims: 715 items: 716 properties: 717 name: 718 type: string 719 required: 720 - name 721 type: object 722 type: array 723 x-kubernetes-list-map-keys: 724 - name 725 x-kubernetes-list-type: map 726 limits: 727 additionalProperties: 728 anyOf: 729 - type: integer 730 - type: string 731 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 732 x-kubernetes-int-or-string: true 733 type: object 734 requests: 735 additionalProperties: 736 anyOf: 737 - type: integer 738 - type: string 739 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 740 x-kubernetes-int-or-string: true 741 type: object 742 type: object 743 secureTransport: 744 properties: 745 required: 746 type: boolean 747 tls: 748 properties: 749 certSecret: 750 properties: 751 key: 752 type: string 753 name: 754 type: string 755 volumeName: 756 type: string 757 required: 758 - key 759 type: object 760 clientCACertSecret: 761 properties: 762 key: 763 type: string 764 name: 765 type: string 766 volumeName: 767 type: string 768 required: 769 - key 770 type: object 771 keySecret: 772 properties: 773 key: 774 type: string 775 name: 776 type: string 777 volumeName: 778 type: string 779 required: 780 - key 781 type: object 782 type: object 783 type: object 784 service: 785 properties: 786 annotations: 787 additionalProperties: 788 type: string 789 type: object 790 clusterIP: 791 type: string 792 type: object 793 sidecarContainers: 794 x-kubernetes-preserve-unknown-fields: true 795 tolerations: 796 x-kubernetes-preserve-unknown-fields: true 797 topologySpreadConstraints: 798 x-kubernetes-preserve-unknown-fields: true 799 type: object 800 globalLockserver: 801 properties: 802 address: 803 type: string 804 implementation: 805 type: string 806 rootPath: 807 type: string 808 required: 809 - address 810 - implementation 811 - rootPath 812 type: object 813 imagePullPolicies: 814 properties: 815 mysqld: 816 type: string 817 mysqldExporter: 818 type: string 819 vtadmin: 820 type: string 821 vtbackup: 822 type: string 823 vtctld: 824 type: string 825 vtgate: 826 type: string 827 vtorc: 828 type: string 829 vttablet: 830 type: string 831 type: object 832 imagePullSecrets: 833 items: 834 properties: 835 name: 836 type: string 837 type: object 838 x-kubernetes-map-type: atomic 839 type: array 840 images: 841 properties: 842 vtgate: 843 type: string 844 type: object 845 lockserver: 846 properties: 847 cellInfoAddress: 848 type: string 849 etcd: 850 properties: 851 advertisePeerURLs: 852 items: 853 type: string 854 maxItems: 3 855 minItems: 3 856 type: array 857 affinity: 858 x-kubernetes-preserve-unknown-fields: true 859 annotations: 860 additionalProperties: 861 type: string 862 type: object 863 clientService: 864 properties: 865 annotations: 866 additionalProperties: 867 type: string 868 type: object 869 clusterIP: 870 type: string 871 type: object 872 createClientService: 873 type: boolean 874 createPDB: 875 type: boolean 876 createPeerService: 877 type: boolean 878 dataVolumeClaimTemplate: 879 properties: 880 accessModes: 881 items: 882 type: string 883 type: array 884 dataSource: 885 properties: 886 apiGroup: 887 type: string 888 kind: 889 type: string 890 name: 891 type: string 892 required: 893 - kind 894 - name 895 type: object 896 x-kubernetes-map-type: atomic 897 dataSourceRef: 898 properties: 899 apiGroup: 900 type: string 901 kind: 902 type: string 903 name: 904 type: string 905 namespace: 906 type: string 907 required: 908 - kind 909 - name 910 type: object 911 resources: 912 properties: 913 claims: 914 items: 915 properties: 916 name: 917 type: string 918 required: 919 - name 920 type: object 921 type: array 922 x-kubernetes-list-map-keys: 923 - name 924 x-kubernetes-list-type: map 925 limits: 926 additionalProperties: 927 anyOf: 928 - type: integer 929 - type: string 930 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 931 x-kubernetes-int-or-string: true 932 type: object 933 requests: 934 additionalProperties: 935 anyOf: 936 - type: integer 937 - type: string 938 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 939 x-kubernetes-int-or-string: true 940 type: object 941 type: object 942 selector: 943 properties: 944 matchExpressions: 945 items: 946 properties: 947 key: 948 type: string 949 operator: 950 type: string 951 values: 952 items: 953 type: string 954 type: array 955 required: 956 - key 957 - operator 958 type: object 959 type: array 960 matchLabels: 961 additionalProperties: 962 type: string 963 type: object 964 type: object 965 x-kubernetes-map-type: atomic 966 storageClassName: 967 type: string 968 volumeMode: 969 type: string 970 volumeName: 971 type: string 972 type: object 973 extraEnv: 974 items: 975 properties: 976 name: 977 type: string 978 value: 979 type: string 980 valueFrom: 981 properties: 982 configMapKeyRef: 983 properties: 984 key: 985 type: string 986 name: 987 type: string 988 optional: 989 type: boolean 990 required: 991 - key 992 type: object 993 x-kubernetes-map-type: atomic 994 fieldRef: 995 properties: 996 apiVersion: 997 type: string 998 fieldPath: 999 type: string 1000 required: 1001 - fieldPath 1002 type: object 1003 x-kubernetes-map-type: atomic 1004 resourceFieldRef: 1005 properties: 1006 containerName: 1007 type: string 1008 divisor: 1009 anyOf: 1010 - type: integer 1011 - type: string 1012 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1013 x-kubernetes-int-or-string: true 1014 resource: 1015 type: string 1016 required: 1017 - resource 1018 type: object 1019 x-kubernetes-map-type: atomic 1020 secretKeyRef: 1021 properties: 1022 key: 1023 type: string 1024 name: 1025 type: string 1026 optional: 1027 type: boolean 1028 required: 1029 - key 1030 type: object 1031 x-kubernetes-map-type: atomic 1032 type: object 1033 required: 1034 - name 1035 type: object 1036 type: array 1037 extraFlags: 1038 additionalProperties: 1039 type: string 1040 type: object 1041 extraLabels: 1042 additionalProperties: 1043 type: string 1044 type: object 1045 extraVolumeMounts: 1046 items: 1047 properties: 1048 mountPath: 1049 type: string 1050 mountPropagation: 1051 type: string 1052 name: 1053 type: string 1054 readOnly: 1055 type: boolean 1056 subPath: 1057 type: string 1058 subPathExpr: 1059 type: string 1060 required: 1061 - mountPath 1062 - name 1063 type: object 1064 type: array 1065 extraVolumes: 1066 x-kubernetes-preserve-unknown-fields: true 1067 image: 1068 type: string 1069 imagePullPolicy: 1070 type: string 1071 imagePullSecrets: 1072 items: 1073 properties: 1074 name: 1075 type: string 1076 type: object 1077 x-kubernetes-map-type: atomic 1078 type: array 1079 initContainers: 1080 x-kubernetes-preserve-unknown-fields: true 1081 localMemberIndex: 1082 format: int32 1083 maximum: 3 1084 minimum: 1 1085 type: integer 1086 peerService: 1087 properties: 1088 annotations: 1089 additionalProperties: 1090 type: string 1091 type: object 1092 clusterIP: 1093 type: string 1094 type: object 1095 resources: 1096 properties: 1097 claims: 1098 items: 1099 properties: 1100 name: 1101 type: string 1102 required: 1103 - name 1104 type: object 1105 type: array 1106 x-kubernetes-list-map-keys: 1107 - name 1108 x-kubernetes-list-type: map 1109 limits: 1110 additionalProperties: 1111 anyOf: 1112 - type: integer 1113 - type: string 1114 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1115 x-kubernetes-int-or-string: true 1116 type: object 1117 requests: 1118 additionalProperties: 1119 anyOf: 1120 - type: integer 1121 - type: string 1122 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1123 x-kubernetes-int-or-string: true 1124 type: object 1125 type: object 1126 sidecarContainers: 1127 x-kubernetes-preserve-unknown-fields: true 1128 tolerations: 1129 x-kubernetes-preserve-unknown-fields: true 1130 type: object 1131 external: 1132 properties: 1133 address: 1134 type: string 1135 implementation: 1136 type: string 1137 rootPath: 1138 type: string 1139 required: 1140 - address 1141 - implementation 1142 - rootPath 1143 type: object 1144 type: object 1145 name: 1146 maxLength: 63 1147 minLength: 1 1148 pattern: ^[A-Za-z0-9]([_.A-Za-z0-9]*[A-Za-z0-9])?$ 1149 type: string 1150 topologyReconciliation: 1151 properties: 1152 pruneCells: 1153 type: boolean 1154 pruneKeyspaces: 1155 type: boolean 1156 pruneShardCells: 1157 type: boolean 1158 pruneShards: 1159 type: boolean 1160 pruneSrvKeyspaces: 1161 type: boolean 1162 pruneTablets: 1163 type: boolean 1164 registerCells: 1165 type: boolean 1166 registerCellsAliases: 1167 type: boolean 1168 type: object 1169 zone: 1170 type: string 1171 required: 1172 - allCells 1173 - globalLockserver 1174 - name 1175 type: object 1176 status: 1177 properties: 1178 gateway: 1179 properties: 1180 available: 1181 type: string 1182 serviceName: 1183 type: string 1184 type: object 1185 idle: 1186 type: string 1187 keyspaces: 1188 additionalProperties: 1189 type: object 1190 type: object 1191 lockserver: 1192 properties: 1193 etcd: 1194 properties: 1195 available: 1196 type: string 1197 clientServiceName: 1198 type: string 1199 observedGeneration: 1200 format: int64 1201 type: integer 1202 type: object 1203 type: object 1204 observedGeneration: 1205 format: int64 1206 type: integer 1207 type: object 1208 type: object 1209 served: true 1210 storage: true 1211 subresources: 1212 status: {} 1213 --- 1214 apiVersion: apiextensions.k8s.io/v1 1215 kind: CustomResourceDefinition 1216 metadata: 1217 annotations: 1218 controller-gen.kubebuilder.io/version: v0.11.3 1219 creationTimestamp: null 1220 name: vitessclusters.planetscale.com 1221 spec: 1222 group: planetscale.com 1223 names: 1224 kind: VitessCluster 1225 listKind: VitessClusterList 1226 plural: vitessclusters 1227 shortNames: 1228 - vt 1229 singular: vitesscluster 1230 scope: Namespaced 1231 versions: 1232 - name: v2 1233 schema: 1234 openAPIV3Schema: 1235 properties: 1236 apiVersion: 1237 type: string 1238 kind: 1239 type: string 1240 metadata: 1241 type: object 1242 spec: 1243 properties: 1244 backup: 1245 properties: 1246 engine: 1247 enum: 1248 - builtin 1249 - xtrabackup 1250 type: string 1251 locations: 1252 items: 1253 properties: 1254 annotations: 1255 additionalProperties: 1256 type: string 1257 type: object 1258 azblob: 1259 properties: 1260 account: 1261 minLength: 1 1262 type: string 1263 authSecret: 1264 properties: 1265 key: 1266 type: string 1267 name: 1268 type: string 1269 volumeName: 1270 type: string 1271 required: 1272 - key 1273 type: object 1274 container: 1275 minLength: 1 1276 type: string 1277 keyPrefix: 1278 maxLength: 256 1279 pattern: ^[^\r\n]*$ 1280 type: string 1281 required: 1282 - account 1283 - authSecret 1284 - container 1285 type: object 1286 ceph: 1287 properties: 1288 authSecret: 1289 properties: 1290 key: 1291 type: string 1292 name: 1293 type: string 1294 volumeName: 1295 type: string 1296 required: 1297 - key 1298 type: object 1299 required: 1300 - authSecret 1301 type: object 1302 gcs: 1303 properties: 1304 authSecret: 1305 properties: 1306 key: 1307 type: string 1308 name: 1309 type: string 1310 volumeName: 1311 type: string 1312 required: 1313 - key 1314 type: object 1315 bucket: 1316 minLength: 1 1317 type: string 1318 keyPrefix: 1319 maxLength: 256 1320 pattern: ^[^\r\n]*$ 1321 type: string 1322 required: 1323 - bucket 1324 type: object 1325 name: 1326 maxLength: 63 1327 pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]*[A-Za-z0-9])?$ 1328 type: string 1329 s3: 1330 properties: 1331 authSecret: 1332 properties: 1333 key: 1334 type: string 1335 name: 1336 type: string 1337 volumeName: 1338 type: string 1339 required: 1340 - key 1341 type: object 1342 bucket: 1343 minLength: 1 1344 type: string 1345 endpoint: 1346 type: string 1347 forcePathStyle: 1348 type: boolean 1349 keyPrefix: 1350 maxLength: 256 1351 pattern: ^[^\r\n]*$ 1352 type: string 1353 region: 1354 minLength: 1 1355 type: string 1356 required: 1357 - bucket 1358 - region 1359 type: object 1360 volume: 1361 x-kubernetes-preserve-unknown-fields: true 1362 volumeSubPath: 1363 type: string 1364 type: object 1365 minItems: 1 1366 type: array 1367 subcontroller: 1368 properties: 1369 serviceAccountName: 1370 type: string 1371 type: object 1372 required: 1373 - locations 1374 type: object 1375 cells: 1376 items: 1377 properties: 1378 gateway: 1379 properties: 1380 affinity: 1381 x-kubernetes-preserve-unknown-fields: true 1382 annotations: 1383 additionalProperties: 1384 type: string 1385 type: object 1386 authentication: 1387 properties: 1388 static: 1389 properties: 1390 secret: 1391 properties: 1392 key: 1393 type: string 1394 name: 1395 type: string 1396 volumeName: 1397 type: string 1398 required: 1399 - key 1400 type: object 1401 type: object 1402 type: object 1403 extraEnv: 1404 items: 1405 properties: 1406 name: 1407 type: string 1408 value: 1409 type: string 1410 valueFrom: 1411 properties: 1412 configMapKeyRef: 1413 properties: 1414 key: 1415 type: string 1416 name: 1417 type: string 1418 optional: 1419 type: boolean 1420 required: 1421 - key 1422 type: object 1423 x-kubernetes-map-type: atomic 1424 fieldRef: 1425 properties: 1426 apiVersion: 1427 type: string 1428 fieldPath: 1429 type: string 1430 required: 1431 - fieldPath 1432 type: object 1433 x-kubernetes-map-type: atomic 1434 resourceFieldRef: 1435 properties: 1436 containerName: 1437 type: string 1438 divisor: 1439 anyOf: 1440 - type: integer 1441 - type: string 1442 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1443 x-kubernetes-int-or-string: true 1444 resource: 1445 type: string 1446 required: 1447 - resource 1448 type: object 1449 x-kubernetes-map-type: atomic 1450 secretKeyRef: 1451 properties: 1452 key: 1453 type: string 1454 name: 1455 type: string 1456 optional: 1457 type: boolean 1458 required: 1459 - key 1460 type: object 1461 x-kubernetes-map-type: atomic 1462 type: object 1463 required: 1464 - name 1465 type: object 1466 type: array 1467 extraFlags: 1468 additionalProperties: 1469 type: string 1470 type: object 1471 extraLabels: 1472 additionalProperties: 1473 type: string 1474 type: object 1475 extraVolumeMounts: 1476 items: 1477 properties: 1478 mountPath: 1479 type: string 1480 mountPropagation: 1481 type: string 1482 name: 1483 type: string 1484 readOnly: 1485 type: boolean 1486 subPath: 1487 type: string 1488 subPathExpr: 1489 type: string 1490 required: 1491 - mountPath 1492 - name 1493 type: object 1494 type: array 1495 extraVolumes: 1496 x-kubernetes-preserve-unknown-fields: true 1497 initContainers: 1498 x-kubernetes-preserve-unknown-fields: true 1499 replicas: 1500 format: int32 1501 minimum: 0 1502 type: integer 1503 resources: 1504 properties: 1505 claims: 1506 items: 1507 properties: 1508 name: 1509 type: string 1510 required: 1511 - name 1512 type: object 1513 type: array 1514 x-kubernetes-list-map-keys: 1515 - name 1516 x-kubernetes-list-type: map 1517 limits: 1518 additionalProperties: 1519 anyOf: 1520 - type: integer 1521 - type: string 1522 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1523 x-kubernetes-int-or-string: true 1524 type: object 1525 requests: 1526 additionalProperties: 1527 anyOf: 1528 - type: integer 1529 - type: string 1530 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1531 x-kubernetes-int-or-string: true 1532 type: object 1533 type: object 1534 secureTransport: 1535 properties: 1536 required: 1537 type: boolean 1538 tls: 1539 properties: 1540 certSecret: 1541 properties: 1542 key: 1543 type: string 1544 name: 1545 type: string 1546 volumeName: 1547 type: string 1548 required: 1549 - key 1550 type: object 1551 clientCACertSecret: 1552 properties: 1553 key: 1554 type: string 1555 name: 1556 type: string 1557 volumeName: 1558 type: string 1559 required: 1560 - key 1561 type: object 1562 keySecret: 1563 properties: 1564 key: 1565 type: string 1566 name: 1567 type: string 1568 volumeName: 1569 type: string 1570 required: 1571 - key 1572 type: object 1573 type: object 1574 type: object 1575 service: 1576 properties: 1577 annotations: 1578 additionalProperties: 1579 type: string 1580 type: object 1581 clusterIP: 1582 type: string 1583 type: object 1584 sidecarContainers: 1585 x-kubernetes-preserve-unknown-fields: true 1586 tolerations: 1587 x-kubernetes-preserve-unknown-fields: true 1588 topologySpreadConstraints: 1589 x-kubernetes-preserve-unknown-fields: true 1590 type: object 1591 lockserver: 1592 properties: 1593 cellInfoAddress: 1594 type: string 1595 etcd: 1596 properties: 1597 advertisePeerURLs: 1598 items: 1599 type: string 1600 maxItems: 3 1601 minItems: 3 1602 type: array 1603 affinity: 1604 x-kubernetes-preserve-unknown-fields: true 1605 annotations: 1606 additionalProperties: 1607 type: string 1608 type: object 1609 clientService: 1610 properties: 1611 annotations: 1612 additionalProperties: 1613 type: string 1614 type: object 1615 clusterIP: 1616 type: string 1617 type: object 1618 createClientService: 1619 type: boolean 1620 createPDB: 1621 type: boolean 1622 createPeerService: 1623 type: boolean 1624 dataVolumeClaimTemplate: 1625 properties: 1626 accessModes: 1627 items: 1628 type: string 1629 type: array 1630 dataSource: 1631 properties: 1632 apiGroup: 1633 type: string 1634 kind: 1635 type: string 1636 name: 1637 type: string 1638 required: 1639 - kind 1640 - name 1641 type: object 1642 x-kubernetes-map-type: atomic 1643 dataSourceRef: 1644 properties: 1645 apiGroup: 1646 type: string 1647 kind: 1648 type: string 1649 name: 1650 type: string 1651 namespace: 1652 type: string 1653 required: 1654 - kind 1655 - name 1656 type: object 1657 resources: 1658 properties: 1659 claims: 1660 items: 1661 properties: 1662 name: 1663 type: string 1664 required: 1665 - name 1666 type: object 1667 type: array 1668 x-kubernetes-list-map-keys: 1669 - name 1670 x-kubernetes-list-type: map 1671 limits: 1672 additionalProperties: 1673 anyOf: 1674 - type: integer 1675 - type: string 1676 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1677 x-kubernetes-int-or-string: true 1678 type: object 1679 requests: 1680 additionalProperties: 1681 anyOf: 1682 - type: integer 1683 - type: string 1684 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1685 x-kubernetes-int-or-string: true 1686 type: object 1687 type: object 1688 selector: 1689 properties: 1690 matchExpressions: 1691 items: 1692 properties: 1693 key: 1694 type: string 1695 operator: 1696 type: string 1697 values: 1698 items: 1699 type: string 1700 type: array 1701 required: 1702 - key 1703 - operator 1704 type: object 1705 type: array 1706 matchLabels: 1707 additionalProperties: 1708 type: string 1709 type: object 1710 type: object 1711 x-kubernetes-map-type: atomic 1712 storageClassName: 1713 type: string 1714 volumeMode: 1715 type: string 1716 volumeName: 1717 type: string 1718 type: object 1719 extraEnv: 1720 items: 1721 properties: 1722 name: 1723 type: string 1724 value: 1725 type: string 1726 valueFrom: 1727 properties: 1728 configMapKeyRef: 1729 properties: 1730 key: 1731 type: string 1732 name: 1733 type: string 1734 optional: 1735 type: boolean 1736 required: 1737 - key 1738 type: object 1739 x-kubernetes-map-type: atomic 1740 fieldRef: 1741 properties: 1742 apiVersion: 1743 type: string 1744 fieldPath: 1745 type: string 1746 required: 1747 - fieldPath 1748 type: object 1749 x-kubernetes-map-type: atomic 1750 resourceFieldRef: 1751 properties: 1752 containerName: 1753 type: string 1754 divisor: 1755 anyOf: 1756 - type: integer 1757 - type: string 1758 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1759 x-kubernetes-int-or-string: true 1760 resource: 1761 type: string 1762 required: 1763 - resource 1764 type: object 1765 x-kubernetes-map-type: atomic 1766 secretKeyRef: 1767 properties: 1768 key: 1769 type: string 1770 name: 1771 type: string 1772 optional: 1773 type: boolean 1774 required: 1775 - key 1776 type: object 1777 x-kubernetes-map-type: atomic 1778 type: object 1779 required: 1780 - name 1781 type: object 1782 type: array 1783 extraFlags: 1784 additionalProperties: 1785 type: string 1786 type: object 1787 extraLabels: 1788 additionalProperties: 1789 type: string 1790 type: object 1791 extraVolumeMounts: 1792 items: 1793 properties: 1794 mountPath: 1795 type: string 1796 mountPropagation: 1797 type: string 1798 name: 1799 type: string 1800 readOnly: 1801 type: boolean 1802 subPath: 1803 type: string 1804 subPathExpr: 1805 type: string 1806 required: 1807 - mountPath 1808 - name 1809 type: object 1810 type: array 1811 extraVolumes: 1812 x-kubernetes-preserve-unknown-fields: true 1813 image: 1814 type: string 1815 imagePullPolicy: 1816 type: string 1817 imagePullSecrets: 1818 items: 1819 properties: 1820 name: 1821 type: string 1822 type: object 1823 x-kubernetes-map-type: atomic 1824 type: array 1825 initContainers: 1826 x-kubernetes-preserve-unknown-fields: true 1827 localMemberIndex: 1828 format: int32 1829 maximum: 3 1830 minimum: 1 1831 type: integer 1832 peerService: 1833 properties: 1834 annotations: 1835 additionalProperties: 1836 type: string 1837 type: object 1838 clusterIP: 1839 type: string 1840 type: object 1841 resources: 1842 properties: 1843 claims: 1844 items: 1845 properties: 1846 name: 1847 type: string 1848 required: 1849 - name 1850 type: object 1851 type: array 1852 x-kubernetes-list-map-keys: 1853 - name 1854 x-kubernetes-list-type: map 1855 limits: 1856 additionalProperties: 1857 anyOf: 1858 - type: integer 1859 - type: string 1860 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1861 x-kubernetes-int-or-string: true 1862 type: object 1863 requests: 1864 additionalProperties: 1865 anyOf: 1866 - type: integer 1867 - type: string 1868 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 1869 x-kubernetes-int-or-string: true 1870 type: object 1871 type: object 1872 sidecarContainers: 1873 x-kubernetes-preserve-unknown-fields: true 1874 tolerations: 1875 x-kubernetes-preserve-unknown-fields: true 1876 type: object 1877 external: 1878 properties: 1879 address: 1880 type: string 1881 implementation: 1882 type: string 1883 rootPath: 1884 type: string 1885 required: 1886 - address 1887 - implementation 1888 - rootPath 1889 type: object 1890 type: object 1891 name: 1892 maxLength: 63 1893 minLength: 1 1894 pattern: ^[A-Za-z0-9]([_.A-Za-z0-9]*[A-Za-z0-9])?$ 1895 type: string 1896 zone: 1897 type: string 1898 required: 1899 - name 1900 type: object 1901 type: array 1902 extraVitessFlags: 1903 additionalProperties: 1904 type: string 1905 type: object 1906 gatewayService: 1907 properties: 1908 annotations: 1909 additionalProperties: 1910 type: string 1911 type: object 1912 clusterIP: 1913 type: string 1914 type: object 1915 globalLockserver: 1916 properties: 1917 cellInfoAddress: 1918 type: string 1919 etcd: 1920 properties: 1921 advertisePeerURLs: 1922 items: 1923 type: string 1924 maxItems: 3 1925 minItems: 3 1926 type: array 1927 affinity: 1928 x-kubernetes-preserve-unknown-fields: true 1929 annotations: 1930 additionalProperties: 1931 type: string 1932 type: object 1933 clientService: 1934 properties: 1935 annotations: 1936 additionalProperties: 1937 type: string 1938 type: object 1939 clusterIP: 1940 type: string 1941 type: object 1942 createClientService: 1943 type: boolean 1944 createPDB: 1945 type: boolean 1946 createPeerService: 1947 type: boolean 1948 dataVolumeClaimTemplate: 1949 properties: 1950 accessModes: 1951 items: 1952 type: string 1953 type: array 1954 dataSource: 1955 properties: 1956 apiGroup: 1957 type: string 1958 kind: 1959 type: string 1960 name: 1961 type: string 1962 required: 1963 - kind 1964 - name 1965 type: object 1966 x-kubernetes-map-type: atomic 1967 dataSourceRef: 1968 properties: 1969 apiGroup: 1970 type: string 1971 kind: 1972 type: string 1973 name: 1974 type: string 1975 namespace: 1976 type: string 1977 required: 1978 - kind 1979 - name 1980 type: object 1981 resources: 1982 properties: 1983 claims: 1984 items: 1985 properties: 1986 name: 1987 type: string 1988 required: 1989 - name 1990 type: object 1991 type: array 1992 x-kubernetes-list-map-keys: 1993 - name 1994 x-kubernetes-list-type: map 1995 limits: 1996 additionalProperties: 1997 anyOf: 1998 - type: integer 1999 - type: string 2000 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2001 x-kubernetes-int-or-string: true 2002 type: object 2003 requests: 2004 additionalProperties: 2005 anyOf: 2006 - type: integer 2007 - type: string 2008 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2009 x-kubernetes-int-or-string: true 2010 type: object 2011 type: object 2012 selector: 2013 properties: 2014 matchExpressions: 2015 items: 2016 properties: 2017 key: 2018 type: string 2019 operator: 2020 type: string 2021 values: 2022 items: 2023 type: string 2024 type: array 2025 required: 2026 - key 2027 - operator 2028 type: object 2029 type: array 2030 matchLabels: 2031 additionalProperties: 2032 type: string 2033 type: object 2034 type: object 2035 x-kubernetes-map-type: atomic 2036 storageClassName: 2037 type: string 2038 volumeMode: 2039 type: string 2040 volumeName: 2041 type: string 2042 type: object 2043 extraEnv: 2044 items: 2045 properties: 2046 name: 2047 type: string 2048 value: 2049 type: string 2050 valueFrom: 2051 properties: 2052 configMapKeyRef: 2053 properties: 2054 key: 2055 type: string 2056 name: 2057 type: string 2058 optional: 2059 type: boolean 2060 required: 2061 - key 2062 type: object 2063 x-kubernetes-map-type: atomic 2064 fieldRef: 2065 properties: 2066 apiVersion: 2067 type: string 2068 fieldPath: 2069 type: string 2070 required: 2071 - fieldPath 2072 type: object 2073 x-kubernetes-map-type: atomic 2074 resourceFieldRef: 2075 properties: 2076 containerName: 2077 type: string 2078 divisor: 2079 anyOf: 2080 - type: integer 2081 - type: string 2082 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2083 x-kubernetes-int-or-string: true 2084 resource: 2085 type: string 2086 required: 2087 - resource 2088 type: object 2089 x-kubernetes-map-type: atomic 2090 secretKeyRef: 2091 properties: 2092 key: 2093 type: string 2094 name: 2095 type: string 2096 optional: 2097 type: boolean 2098 required: 2099 - key 2100 type: object 2101 x-kubernetes-map-type: atomic 2102 type: object 2103 required: 2104 - name 2105 type: object 2106 type: array 2107 extraFlags: 2108 additionalProperties: 2109 type: string 2110 type: object 2111 extraLabels: 2112 additionalProperties: 2113 type: string 2114 type: object 2115 extraVolumeMounts: 2116 items: 2117 properties: 2118 mountPath: 2119 type: string 2120 mountPropagation: 2121 type: string 2122 name: 2123 type: string 2124 readOnly: 2125 type: boolean 2126 subPath: 2127 type: string 2128 subPathExpr: 2129 type: string 2130 required: 2131 - mountPath 2132 - name 2133 type: object 2134 type: array 2135 extraVolumes: 2136 x-kubernetes-preserve-unknown-fields: true 2137 image: 2138 type: string 2139 imagePullPolicy: 2140 type: string 2141 imagePullSecrets: 2142 items: 2143 properties: 2144 name: 2145 type: string 2146 type: object 2147 x-kubernetes-map-type: atomic 2148 type: array 2149 initContainers: 2150 x-kubernetes-preserve-unknown-fields: true 2151 localMemberIndex: 2152 format: int32 2153 maximum: 3 2154 minimum: 1 2155 type: integer 2156 peerService: 2157 properties: 2158 annotations: 2159 additionalProperties: 2160 type: string 2161 type: object 2162 clusterIP: 2163 type: string 2164 type: object 2165 resources: 2166 properties: 2167 claims: 2168 items: 2169 properties: 2170 name: 2171 type: string 2172 required: 2173 - name 2174 type: object 2175 type: array 2176 x-kubernetes-list-map-keys: 2177 - name 2178 x-kubernetes-list-type: map 2179 limits: 2180 additionalProperties: 2181 anyOf: 2182 - type: integer 2183 - type: string 2184 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2185 x-kubernetes-int-or-string: true 2186 type: object 2187 requests: 2188 additionalProperties: 2189 anyOf: 2190 - type: integer 2191 - type: string 2192 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2193 x-kubernetes-int-or-string: true 2194 type: object 2195 type: object 2196 sidecarContainers: 2197 x-kubernetes-preserve-unknown-fields: true 2198 tolerations: 2199 x-kubernetes-preserve-unknown-fields: true 2200 type: object 2201 external: 2202 properties: 2203 address: 2204 type: string 2205 implementation: 2206 type: string 2207 rootPath: 2208 type: string 2209 required: 2210 - address 2211 - implementation 2212 - rootPath 2213 type: object 2214 type: object 2215 imagePullPolicies: 2216 properties: 2217 mysqld: 2218 type: string 2219 mysqldExporter: 2220 type: string 2221 vtadmin: 2222 type: string 2223 vtbackup: 2224 type: string 2225 vtctld: 2226 type: string 2227 vtgate: 2228 type: string 2229 vtorc: 2230 type: string 2231 vttablet: 2232 type: string 2233 type: object 2234 imagePullSecrets: 2235 items: 2236 properties: 2237 name: 2238 type: string 2239 type: object 2240 x-kubernetes-map-type: atomic 2241 type: array 2242 images: 2243 properties: 2244 mysqld: 2245 properties: 2246 mariadb103Compatible: 2247 type: string 2248 mariadbCompatible: 2249 type: string 2250 mysql56Compatible: 2251 type: string 2252 mysql80Compatible: 2253 type: string 2254 type: object 2255 mysqldExporter: 2256 type: string 2257 vtadmin: 2258 type: string 2259 vtbackup: 2260 type: string 2261 vtctld: 2262 type: string 2263 vtgate: 2264 type: string 2265 vtorc: 2266 type: string 2267 vttablet: 2268 type: string 2269 type: object 2270 keyspaces: 2271 items: 2272 properties: 2273 annotations: 2274 additionalProperties: 2275 type: string 2276 type: object 2277 databaseName: 2278 type: string 2279 durabilityPolicy: 2280 type: string 2281 name: 2282 maxLength: 63 2283 minLength: 1 2284 pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]*[A-Za-z0-9])?$ 2285 type: string 2286 partitionings: 2287 items: 2288 properties: 2289 custom: 2290 properties: 2291 shards: 2292 items: 2293 properties: 2294 annotations: 2295 additionalProperties: 2296 type: string 2297 type: object 2298 databaseInitScriptSecret: 2299 properties: 2300 key: 2301 type: string 2302 name: 2303 type: string 2304 volumeName: 2305 type: string 2306 required: 2307 - key 2308 type: object 2309 keyRange: 2310 properties: 2311 end: 2312 pattern: ^([0-9a-f][0-9a-f])*$ 2313 type: string 2314 start: 2315 pattern: ^([0-9a-f][0-9a-f])*$ 2316 type: string 2317 type: object 2318 replication: 2319 properties: 2320 initializeBackup: 2321 type: boolean 2322 initializeMaster: 2323 type: boolean 2324 recoverRestartedMaster: 2325 type: boolean 2326 type: object 2327 tabletPools: 2328 items: 2329 properties: 2330 affinity: 2331 x-kubernetes-preserve-unknown-fields: true 2332 annotations: 2333 additionalProperties: 2334 type: string 2335 type: object 2336 backupLocationName: 2337 type: string 2338 cell: 2339 maxLength: 63 2340 minLength: 1 2341 pattern: ^[A-Za-z0-9]([_.A-Za-z0-9]*[A-Za-z0-9])?$ 2342 type: string 2343 dataVolumeClaimTemplate: 2344 properties: 2345 accessModes: 2346 items: 2347 type: string 2348 type: array 2349 dataSource: 2350 properties: 2351 apiGroup: 2352 type: string 2353 kind: 2354 type: string 2355 name: 2356 type: string 2357 required: 2358 - kind 2359 - name 2360 type: object 2361 x-kubernetes-map-type: atomic 2362 dataSourceRef: 2363 properties: 2364 apiGroup: 2365 type: string 2366 kind: 2367 type: string 2368 name: 2369 type: string 2370 namespace: 2371 type: string 2372 required: 2373 - kind 2374 - name 2375 type: object 2376 resources: 2377 properties: 2378 claims: 2379 items: 2380 properties: 2381 name: 2382 type: string 2383 required: 2384 - name 2385 type: object 2386 type: array 2387 x-kubernetes-list-map-keys: 2388 - name 2389 x-kubernetes-list-type: map 2390 limits: 2391 additionalProperties: 2392 anyOf: 2393 - type: integer 2394 - type: string 2395 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2396 x-kubernetes-int-or-string: true 2397 type: object 2398 requests: 2399 additionalProperties: 2400 anyOf: 2401 - type: integer 2402 - type: string 2403 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2404 x-kubernetes-int-or-string: true 2405 type: object 2406 type: object 2407 selector: 2408 properties: 2409 matchExpressions: 2410 items: 2411 properties: 2412 key: 2413 type: string 2414 operator: 2415 type: string 2416 values: 2417 items: 2418 type: string 2419 type: array 2420 required: 2421 - key 2422 - operator 2423 type: object 2424 type: array 2425 matchLabels: 2426 additionalProperties: 2427 type: string 2428 type: object 2429 type: object 2430 x-kubernetes-map-type: atomic 2431 storageClassName: 2432 type: string 2433 volumeMode: 2434 type: string 2435 volumeName: 2436 type: string 2437 type: object 2438 externalDatastore: 2439 properties: 2440 credentialsSecret: 2441 properties: 2442 key: 2443 type: string 2444 name: 2445 type: string 2446 volumeName: 2447 type: string 2448 required: 2449 - key 2450 type: object 2451 database: 2452 type: string 2453 host: 2454 type: string 2455 port: 2456 format: int32 2457 maximum: 65535 2458 minimum: 1 2459 type: integer 2460 serverCACertSecret: 2461 properties: 2462 key: 2463 type: string 2464 name: 2465 type: string 2466 volumeName: 2467 type: string 2468 required: 2469 - key 2470 type: object 2471 user: 2472 type: string 2473 required: 2474 - credentialsSecret 2475 - database 2476 - host 2477 - port 2478 - user 2479 type: object 2480 extraEnv: 2481 items: 2482 properties: 2483 name: 2484 type: string 2485 value: 2486 type: string 2487 valueFrom: 2488 properties: 2489 configMapKeyRef: 2490 properties: 2491 key: 2492 type: string 2493 name: 2494 type: string 2495 optional: 2496 type: boolean 2497 required: 2498 - key 2499 type: object 2500 x-kubernetes-map-type: atomic 2501 fieldRef: 2502 properties: 2503 apiVersion: 2504 type: string 2505 fieldPath: 2506 type: string 2507 required: 2508 - fieldPath 2509 type: object 2510 x-kubernetes-map-type: atomic 2511 resourceFieldRef: 2512 properties: 2513 containerName: 2514 type: string 2515 divisor: 2516 anyOf: 2517 - type: integer 2518 - type: string 2519 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2520 x-kubernetes-int-or-string: true 2521 resource: 2522 type: string 2523 required: 2524 - resource 2525 type: object 2526 x-kubernetes-map-type: atomic 2527 secretKeyRef: 2528 properties: 2529 key: 2530 type: string 2531 name: 2532 type: string 2533 optional: 2534 type: boolean 2535 required: 2536 - key 2537 type: object 2538 x-kubernetes-map-type: atomic 2539 type: object 2540 required: 2541 - name 2542 type: object 2543 type: array 2544 extraLabels: 2545 additionalProperties: 2546 type: string 2547 type: object 2548 extraVolumeMounts: 2549 items: 2550 properties: 2551 mountPath: 2552 type: string 2553 mountPropagation: 2554 type: string 2555 name: 2556 type: string 2557 readOnly: 2558 type: boolean 2559 subPath: 2560 type: string 2561 subPathExpr: 2562 type: string 2563 required: 2564 - mountPath 2565 - name 2566 type: object 2567 type: array 2568 extraVolumes: 2569 x-kubernetes-preserve-unknown-fields: true 2570 initContainers: 2571 x-kubernetes-preserve-unknown-fields: true 2572 mysqld: 2573 properties: 2574 configOverrides: 2575 type: string 2576 resources: 2577 properties: 2578 claims: 2579 items: 2580 properties: 2581 name: 2582 type: string 2583 required: 2584 - name 2585 type: object 2586 type: array 2587 x-kubernetes-list-map-keys: 2588 - name 2589 x-kubernetes-list-type: map 2590 limits: 2591 additionalProperties: 2592 anyOf: 2593 - type: integer 2594 - type: string 2595 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2596 x-kubernetes-int-or-string: true 2597 type: object 2598 requests: 2599 additionalProperties: 2600 anyOf: 2601 - type: integer 2602 - type: string 2603 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2604 x-kubernetes-int-or-string: true 2605 type: object 2606 type: object 2607 required: 2608 - resources 2609 type: object 2610 replicas: 2611 format: int32 2612 minimum: 0 2613 type: integer 2614 sidecarContainers: 2615 x-kubernetes-preserve-unknown-fields: true 2616 tolerations: 2617 x-kubernetes-preserve-unknown-fields: true 2618 topologySpreadConstraints: 2619 x-kubernetes-preserve-unknown-fields: true 2620 type: 2621 enum: 2622 - replica 2623 - rdonly 2624 - externalmaster 2625 - externalreplica 2626 - externalrdonly 2627 type: string 2628 vttablet: 2629 properties: 2630 extraFlags: 2631 additionalProperties: 2632 type: string 2633 type: object 2634 lifecycle: 2635 x-kubernetes-preserve-unknown-fields: true 2636 resources: 2637 properties: 2638 claims: 2639 items: 2640 properties: 2641 name: 2642 type: string 2643 required: 2644 - name 2645 type: object 2646 type: array 2647 x-kubernetes-list-map-keys: 2648 - name 2649 x-kubernetes-list-type: map 2650 limits: 2651 additionalProperties: 2652 anyOf: 2653 - type: integer 2654 - type: string 2655 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2656 x-kubernetes-int-or-string: true 2657 type: object 2658 requests: 2659 additionalProperties: 2660 anyOf: 2661 - type: integer 2662 - type: string 2663 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2664 x-kubernetes-int-or-string: true 2665 type: object 2666 type: object 2667 required: 2668 - resources 2669 type: object 2670 required: 2671 - cell 2672 - replicas 2673 - type 2674 - vttablet 2675 type: object 2676 type: array 2677 x-kubernetes-list-map-keys: 2678 - type 2679 - cell 2680 x-kubernetes-list-type: map 2681 required: 2682 - databaseInitScriptSecret 2683 - keyRange 2684 type: object 2685 type: array 2686 required: 2687 - shards 2688 type: object 2689 equal: 2690 properties: 2691 parts: 2692 format: int32 2693 maximum: 65536 2694 minimum: 1 2695 type: integer 2696 shardTemplate: 2697 properties: 2698 annotations: 2699 additionalProperties: 2700 type: string 2701 type: object 2702 databaseInitScriptSecret: 2703 properties: 2704 key: 2705 type: string 2706 name: 2707 type: string 2708 volumeName: 2709 type: string 2710 required: 2711 - key 2712 type: object 2713 replication: 2714 properties: 2715 initializeBackup: 2716 type: boolean 2717 initializeMaster: 2718 type: boolean 2719 recoverRestartedMaster: 2720 type: boolean 2721 type: object 2722 tabletPools: 2723 items: 2724 properties: 2725 affinity: 2726 x-kubernetes-preserve-unknown-fields: true 2727 annotations: 2728 additionalProperties: 2729 type: string 2730 type: object 2731 backupLocationName: 2732 type: string 2733 cell: 2734 maxLength: 63 2735 minLength: 1 2736 pattern: ^[A-Za-z0-9]([_.A-Za-z0-9]*[A-Za-z0-9])?$ 2737 type: string 2738 dataVolumeClaimTemplate: 2739 properties: 2740 accessModes: 2741 items: 2742 type: string 2743 type: array 2744 dataSource: 2745 properties: 2746 apiGroup: 2747 type: string 2748 kind: 2749 type: string 2750 name: 2751 type: string 2752 required: 2753 - kind 2754 - name 2755 type: object 2756 x-kubernetes-map-type: atomic 2757 dataSourceRef: 2758 properties: 2759 apiGroup: 2760 type: string 2761 kind: 2762 type: string 2763 name: 2764 type: string 2765 namespace: 2766 type: string 2767 required: 2768 - kind 2769 - name 2770 type: object 2771 resources: 2772 properties: 2773 claims: 2774 items: 2775 properties: 2776 name: 2777 type: string 2778 required: 2779 - name 2780 type: object 2781 type: array 2782 x-kubernetes-list-map-keys: 2783 - name 2784 x-kubernetes-list-type: map 2785 limits: 2786 additionalProperties: 2787 anyOf: 2788 - type: integer 2789 - type: string 2790 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2791 x-kubernetes-int-or-string: true 2792 type: object 2793 requests: 2794 additionalProperties: 2795 anyOf: 2796 - type: integer 2797 - type: string 2798 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2799 x-kubernetes-int-or-string: true 2800 type: object 2801 type: object 2802 selector: 2803 properties: 2804 matchExpressions: 2805 items: 2806 properties: 2807 key: 2808 type: string 2809 operator: 2810 type: string 2811 values: 2812 items: 2813 type: string 2814 type: array 2815 required: 2816 - key 2817 - operator 2818 type: object 2819 type: array 2820 matchLabels: 2821 additionalProperties: 2822 type: string 2823 type: object 2824 type: object 2825 x-kubernetes-map-type: atomic 2826 storageClassName: 2827 type: string 2828 volumeMode: 2829 type: string 2830 volumeName: 2831 type: string 2832 type: object 2833 externalDatastore: 2834 properties: 2835 credentialsSecret: 2836 properties: 2837 key: 2838 type: string 2839 name: 2840 type: string 2841 volumeName: 2842 type: string 2843 required: 2844 - key 2845 type: object 2846 database: 2847 type: string 2848 host: 2849 type: string 2850 port: 2851 format: int32 2852 maximum: 65535 2853 minimum: 1 2854 type: integer 2855 serverCACertSecret: 2856 properties: 2857 key: 2858 type: string 2859 name: 2860 type: string 2861 volumeName: 2862 type: string 2863 required: 2864 - key 2865 type: object 2866 user: 2867 type: string 2868 required: 2869 - credentialsSecret 2870 - database 2871 - host 2872 - port 2873 - user 2874 type: object 2875 extraEnv: 2876 items: 2877 properties: 2878 name: 2879 type: string 2880 value: 2881 type: string 2882 valueFrom: 2883 properties: 2884 configMapKeyRef: 2885 properties: 2886 key: 2887 type: string 2888 name: 2889 type: string 2890 optional: 2891 type: boolean 2892 required: 2893 - key 2894 type: object 2895 x-kubernetes-map-type: atomic 2896 fieldRef: 2897 properties: 2898 apiVersion: 2899 type: string 2900 fieldPath: 2901 type: string 2902 required: 2903 - fieldPath 2904 type: object 2905 x-kubernetes-map-type: atomic 2906 resourceFieldRef: 2907 properties: 2908 containerName: 2909 type: string 2910 divisor: 2911 anyOf: 2912 - type: integer 2913 - type: string 2914 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2915 x-kubernetes-int-or-string: true 2916 resource: 2917 type: string 2918 required: 2919 - resource 2920 type: object 2921 x-kubernetes-map-type: atomic 2922 secretKeyRef: 2923 properties: 2924 key: 2925 type: string 2926 name: 2927 type: string 2928 optional: 2929 type: boolean 2930 required: 2931 - key 2932 type: object 2933 x-kubernetes-map-type: atomic 2934 type: object 2935 required: 2936 - name 2937 type: object 2938 type: array 2939 extraLabels: 2940 additionalProperties: 2941 type: string 2942 type: object 2943 extraVolumeMounts: 2944 items: 2945 properties: 2946 mountPath: 2947 type: string 2948 mountPropagation: 2949 type: string 2950 name: 2951 type: string 2952 readOnly: 2953 type: boolean 2954 subPath: 2955 type: string 2956 subPathExpr: 2957 type: string 2958 required: 2959 - mountPath 2960 - name 2961 type: object 2962 type: array 2963 extraVolumes: 2964 x-kubernetes-preserve-unknown-fields: true 2965 initContainers: 2966 x-kubernetes-preserve-unknown-fields: true 2967 mysqld: 2968 properties: 2969 configOverrides: 2970 type: string 2971 resources: 2972 properties: 2973 claims: 2974 items: 2975 properties: 2976 name: 2977 type: string 2978 required: 2979 - name 2980 type: object 2981 type: array 2982 x-kubernetes-list-map-keys: 2983 - name 2984 x-kubernetes-list-type: map 2985 limits: 2986 additionalProperties: 2987 anyOf: 2988 - type: integer 2989 - type: string 2990 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2991 x-kubernetes-int-or-string: true 2992 type: object 2993 requests: 2994 additionalProperties: 2995 anyOf: 2996 - type: integer 2997 - type: string 2998 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 2999 x-kubernetes-int-or-string: true 3000 type: object 3001 type: object 3002 required: 3003 - resources 3004 type: object 3005 replicas: 3006 format: int32 3007 minimum: 0 3008 type: integer 3009 sidecarContainers: 3010 x-kubernetes-preserve-unknown-fields: true 3011 tolerations: 3012 x-kubernetes-preserve-unknown-fields: true 3013 topologySpreadConstraints: 3014 x-kubernetes-preserve-unknown-fields: true 3015 type: 3016 enum: 3017 - replica 3018 - rdonly 3019 - externalmaster 3020 - externalreplica 3021 - externalrdonly 3022 type: string 3023 vttablet: 3024 properties: 3025 extraFlags: 3026 additionalProperties: 3027 type: string 3028 type: object 3029 lifecycle: 3030 x-kubernetes-preserve-unknown-fields: true 3031 resources: 3032 properties: 3033 claims: 3034 items: 3035 properties: 3036 name: 3037 type: string 3038 required: 3039 - name 3040 type: object 3041 type: array 3042 x-kubernetes-list-map-keys: 3043 - name 3044 x-kubernetes-list-type: map 3045 limits: 3046 additionalProperties: 3047 anyOf: 3048 - type: integer 3049 - type: string 3050 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3051 x-kubernetes-int-or-string: true 3052 type: object 3053 requests: 3054 additionalProperties: 3055 anyOf: 3056 - type: integer 3057 - type: string 3058 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3059 x-kubernetes-int-or-string: true 3060 type: object 3061 type: object 3062 required: 3063 - resources 3064 type: object 3065 required: 3066 - cell 3067 - replicas 3068 - type 3069 - vttablet 3070 type: object 3071 type: array 3072 x-kubernetes-list-map-keys: 3073 - type 3074 - cell 3075 x-kubernetes-list-type: map 3076 required: 3077 - databaseInitScriptSecret 3078 type: object 3079 required: 3080 - parts 3081 type: object 3082 type: object 3083 maxItems: 2 3084 minItems: 1 3085 type: array 3086 turndownPolicy: 3087 enum: 3088 - RequireIdle 3089 - Immediate 3090 type: string 3091 vitessOrchestrator: 3092 properties: 3093 affinity: 3094 x-kubernetes-preserve-unknown-fields: true 3095 annotations: 3096 additionalProperties: 3097 type: string 3098 type: object 3099 extraEnv: 3100 items: 3101 properties: 3102 name: 3103 type: string 3104 value: 3105 type: string 3106 valueFrom: 3107 properties: 3108 configMapKeyRef: 3109 properties: 3110 key: 3111 type: string 3112 name: 3113 type: string 3114 optional: 3115 type: boolean 3116 required: 3117 - key 3118 type: object 3119 x-kubernetes-map-type: atomic 3120 fieldRef: 3121 properties: 3122 apiVersion: 3123 type: string 3124 fieldPath: 3125 type: string 3126 required: 3127 - fieldPath 3128 type: object 3129 x-kubernetes-map-type: atomic 3130 resourceFieldRef: 3131 properties: 3132 containerName: 3133 type: string 3134 divisor: 3135 anyOf: 3136 - type: integer 3137 - type: string 3138 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3139 x-kubernetes-int-or-string: true 3140 resource: 3141 type: string 3142 required: 3143 - resource 3144 type: object 3145 x-kubernetes-map-type: atomic 3146 secretKeyRef: 3147 properties: 3148 key: 3149 type: string 3150 name: 3151 type: string 3152 optional: 3153 type: boolean 3154 required: 3155 - key 3156 type: object 3157 x-kubernetes-map-type: atomic 3158 type: object 3159 required: 3160 - name 3161 type: object 3162 type: array 3163 extraFlags: 3164 additionalProperties: 3165 type: string 3166 type: object 3167 extraLabels: 3168 additionalProperties: 3169 type: string 3170 type: object 3171 extraVolumeMounts: 3172 items: 3173 properties: 3174 mountPath: 3175 type: string 3176 mountPropagation: 3177 type: string 3178 name: 3179 type: string 3180 readOnly: 3181 type: boolean 3182 subPath: 3183 type: string 3184 subPathExpr: 3185 type: string 3186 required: 3187 - mountPath 3188 - name 3189 type: object 3190 type: array 3191 extraVolumes: 3192 x-kubernetes-preserve-unknown-fields: true 3193 initContainers: 3194 x-kubernetes-preserve-unknown-fields: true 3195 resources: 3196 properties: 3197 claims: 3198 items: 3199 properties: 3200 name: 3201 type: string 3202 required: 3203 - name 3204 type: object 3205 type: array 3206 x-kubernetes-list-map-keys: 3207 - name 3208 x-kubernetes-list-type: map 3209 limits: 3210 additionalProperties: 3211 anyOf: 3212 - type: integer 3213 - type: string 3214 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3215 x-kubernetes-int-or-string: true 3216 type: object 3217 requests: 3218 additionalProperties: 3219 anyOf: 3220 - type: integer 3221 - type: string 3222 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3223 x-kubernetes-int-or-string: true 3224 type: object 3225 type: object 3226 service: 3227 properties: 3228 annotations: 3229 additionalProperties: 3230 type: string 3231 type: object 3232 clusterIP: 3233 type: string 3234 type: object 3235 sidecarContainers: 3236 x-kubernetes-preserve-unknown-fields: true 3237 tolerations: 3238 x-kubernetes-preserve-unknown-fields: true 3239 type: object 3240 required: 3241 - name 3242 - partitionings 3243 type: object 3244 type: array 3245 tabletService: 3246 properties: 3247 annotations: 3248 additionalProperties: 3249 type: string 3250 type: object 3251 clusterIP: 3252 type: string 3253 type: object 3254 topologyReconciliation: 3255 properties: 3256 pruneCells: 3257 type: boolean 3258 pruneKeyspaces: 3259 type: boolean 3260 pruneShardCells: 3261 type: boolean 3262 pruneShards: 3263 type: boolean 3264 pruneSrvKeyspaces: 3265 type: boolean 3266 pruneTablets: 3267 type: boolean 3268 registerCells: 3269 type: boolean 3270 registerCellsAliases: 3271 type: boolean 3272 type: object 3273 updateStrategy: 3274 properties: 3275 external: 3276 properties: 3277 allowResourceChanges: 3278 items: 3279 type: string 3280 type: array 3281 type: object 3282 type: 3283 enum: 3284 - External 3285 - Immediate 3286 type: string 3287 type: object 3288 vitessDashboard: 3289 properties: 3290 affinity: 3291 x-kubernetes-preserve-unknown-fields: true 3292 annotations: 3293 additionalProperties: 3294 type: string 3295 type: object 3296 cells: 3297 items: 3298 type: string 3299 type: array 3300 extraEnv: 3301 items: 3302 properties: 3303 name: 3304 type: string 3305 value: 3306 type: string 3307 valueFrom: 3308 properties: 3309 configMapKeyRef: 3310 properties: 3311 key: 3312 type: string 3313 name: 3314 type: string 3315 optional: 3316 type: boolean 3317 required: 3318 - key 3319 type: object 3320 x-kubernetes-map-type: atomic 3321 fieldRef: 3322 properties: 3323 apiVersion: 3324 type: string 3325 fieldPath: 3326 type: string 3327 required: 3328 - fieldPath 3329 type: object 3330 x-kubernetes-map-type: atomic 3331 resourceFieldRef: 3332 properties: 3333 containerName: 3334 type: string 3335 divisor: 3336 anyOf: 3337 - type: integer 3338 - type: string 3339 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3340 x-kubernetes-int-or-string: true 3341 resource: 3342 type: string 3343 required: 3344 - resource 3345 type: object 3346 x-kubernetes-map-type: atomic 3347 secretKeyRef: 3348 properties: 3349 key: 3350 type: string 3351 name: 3352 type: string 3353 optional: 3354 type: boolean 3355 required: 3356 - key 3357 type: object 3358 x-kubernetes-map-type: atomic 3359 type: object 3360 required: 3361 - name 3362 type: object 3363 type: array 3364 extraFlags: 3365 additionalProperties: 3366 type: string 3367 type: object 3368 extraLabels: 3369 additionalProperties: 3370 type: string 3371 type: object 3372 extraVolumeMounts: 3373 items: 3374 properties: 3375 mountPath: 3376 type: string 3377 mountPropagation: 3378 type: string 3379 name: 3380 type: string 3381 readOnly: 3382 type: boolean 3383 subPath: 3384 type: string 3385 subPathExpr: 3386 type: string 3387 required: 3388 - mountPath 3389 - name 3390 type: object 3391 type: array 3392 extraVolumes: 3393 x-kubernetes-preserve-unknown-fields: true 3394 initContainers: 3395 x-kubernetes-preserve-unknown-fields: true 3396 replicas: 3397 format: int32 3398 type: integer 3399 resources: 3400 properties: 3401 claims: 3402 items: 3403 properties: 3404 name: 3405 type: string 3406 required: 3407 - name 3408 type: object 3409 type: array 3410 x-kubernetes-list-map-keys: 3411 - name 3412 x-kubernetes-list-type: map 3413 limits: 3414 additionalProperties: 3415 anyOf: 3416 - type: integer 3417 - type: string 3418 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3419 x-kubernetes-int-or-string: true 3420 type: object 3421 requests: 3422 additionalProperties: 3423 anyOf: 3424 - type: integer 3425 - type: string 3426 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3427 x-kubernetes-int-or-string: true 3428 type: object 3429 type: object 3430 service: 3431 properties: 3432 annotations: 3433 additionalProperties: 3434 type: string 3435 type: object 3436 clusterIP: 3437 type: string 3438 type: object 3439 sidecarContainers: 3440 x-kubernetes-preserve-unknown-fields: true 3441 tolerations: 3442 x-kubernetes-preserve-unknown-fields: true 3443 type: object 3444 vtadmin: 3445 properties: 3446 affinity: 3447 x-kubernetes-preserve-unknown-fields: true 3448 annotations: 3449 additionalProperties: 3450 type: string 3451 type: object 3452 apiAddresses: 3453 items: 3454 type: string 3455 type: array 3456 apiResources: 3457 properties: 3458 claims: 3459 items: 3460 properties: 3461 name: 3462 type: string 3463 required: 3464 - name 3465 type: object 3466 type: array 3467 x-kubernetes-list-map-keys: 3468 - name 3469 x-kubernetes-list-type: map 3470 limits: 3471 additionalProperties: 3472 anyOf: 3473 - type: integer 3474 - type: string 3475 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3476 x-kubernetes-int-or-string: true 3477 type: object 3478 requests: 3479 additionalProperties: 3480 anyOf: 3481 - type: integer 3482 - type: string 3483 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3484 x-kubernetes-int-or-string: true 3485 type: object 3486 type: object 3487 cells: 3488 items: 3489 type: string 3490 type: array 3491 extraEnv: 3492 items: 3493 properties: 3494 name: 3495 type: string 3496 value: 3497 type: string 3498 valueFrom: 3499 properties: 3500 configMapKeyRef: 3501 properties: 3502 key: 3503 type: string 3504 name: 3505 type: string 3506 optional: 3507 type: boolean 3508 required: 3509 - key 3510 type: object 3511 x-kubernetes-map-type: atomic 3512 fieldRef: 3513 properties: 3514 apiVersion: 3515 type: string 3516 fieldPath: 3517 type: string 3518 required: 3519 - fieldPath 3520 type: object 3521 x-kubernetes-map-type: atomic 3522 resourceFieldRef: 3523 properties: 3524 containerName: 3525 type: string 3526 divisor: 3527 anyOf: 3528 - type: integer 3529 - type: string 3530 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3531 x-kubernetes-int-or-string: true 3532 resource: 3533 type: string 3534 required: 3535 - resource 3536 type: object 3537 x-kubernetes-map-type: atomic 3538 secretKeyRef: 3539 properties: 3540 key: 3541 type: string 3542 name: 3543 type: string 3544 optional: 3545 type: boolean 3546 required: 3547 - key 3548 type: object 3549 x-kubernetes-map-type: atomic 3550 type: object 3551 required: 3552 - name 3553 type: object 3554 type: array 3555 extraFlags: 3556 additionalProperties: 3557 type: string 3558 type: object 3559 extraLabels: 3560 additionalProperties: 3561 type: string 3562 type: object 3563 extraVolumeMounts: 3564 items: 3565 properties: 3566 mountPath: 3567 type: string 3568 mountPropagation: 3569 type: string 3570 name: 3571 type: string 3572 readOnly: 3573 type: boolean 3574 subPath: 3575 type: string 3576 subPathExpr: 3577 type: string 3578 required: 3579 - mountPath 3580 - name 3581 type: object 3582 type: array 3583 extraVolumes: 3584 x-kubernetes-preserve-unknown-fields: true 3585 initContainers: 3586 x-kubernetes-preserve-unknown-fields: true 3587 rbac: 3588 properties: 3589 key: 3590 type: string 3591 name: 3592 type: string 3593 volumeName: 3594 type: string 3595 required: 3596 - key 3597 type: object 3598 readOnly: 3599 type: boolean 3600 replicas: 3601 format: int32 3602 type: integer 3603 service: 3604 properties: 3605 annotations: 3606 additionalProperties: 3607 type: string 3608 type: object 3609 clusterIP: 3610 type: string 3611 type: object 3612 sidecarContainers: 3613 x-kubernetes-preserve-unknown-fields: true 3614 tolerations: 3615 x-kubernetes-preserve-unknown-fields: true 3616 webResources: 3617 properties: 3618 claims: 3619 items: 3620 properties: 3621 name: 3622 type: string 3623 required: 3624 - name 3625 type: object 3626 type: array 3627 x-kubernetes-list-map-keys: 3628 - name 3629 x-kubernetes-list-type: map 3630 limits: 3631 additionalProperties: 3632 anyOf: 3633 - type: integer 3634 - type: string 3635 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3636 x-kubernetes-int-or-string: true 3637 type: object 3638 requests: 3639 additionalProperties: 3640 anyOf: 3641 - type: integer 3642 - type: string 3643 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 3644 x-kubernetes-int-or-string: true 3645 type: object 3646 type: object 3647 required: 3648 - apiAddresses 3649 type: object 3650 required: 3651 - cells 3652 type: object 3653 status: 3654 properties: 3655 cells: 3656 additionalProperties: 3657 properties: 3658 gatewayAvailable: 3659 type: string 3660 pendingChanges: 3661 type: string 3662 type: object 3663 type: object 3664 gatewayServiceName: 3665 type: string 3666 globalLockserver: 3667 properties: 3668 etcd: 3669 properties: 3670 available: 3671 type: string 3672 clientServiceName: 3673 type: string 3674 observedGeneration: 3675 format: int64 3676 type: integer 3677 type: object 3678 type: object 3679 keyspaces: 3680 additionalProperties: 3681 properties: 3682 cells: 3683 items: 3684 type: string 3685 type: array 3686 desiredShards: 3687 format: int32 3688 type: integer 3689 desiredTablets: 3690 format: int32 3691 type: integer 3692 pendingChanges: 3693 type: string 3694 readyShards: 3695 format: int32 3696 type: integer 3697 readyTablets: 3698 format: int32 3699 type: integer 3700 shards: 3701 format: int32 3702 type: integer 3703 tablets: 3704 format: int32 3705 type: integer 3706 updatedShards: 3707 format: int32 3708 type: integer 3709 updatedTablets: 3710 format: int32 3711 type: integer 3712 type: object 3713 type: object 3714 observedGeneration: 3715 format: int64 3716 type: integer 3717 orphanedCells: 3718 additionalProperties: 3719 properties: 3720 message: 3721 type: string 3722 reason: 3723 type: string 3724 required: 3725 - message 3726 - reason 3727 type: object 3728 type: object 3729 orphanedKeyspaces: 3730 additionalProperties: 3731 properties: 3732 message: 3733 type: string 3734 reason: 3735 type: string 3736 required: 3737 - message 3738 - reason 3739 type: object 3740 type: object 3741 vitessDashboard: 3742 properties: 3743 available: 3744 type: string 3745 serviceName: 3746 type: string 3747 type: object 3748 vtadmin: 3749 properties: 3750 available: 3751 type: string 3752 serviceName: 3753 type: string 3754 type: object 3755 type: object 3756 type: object 3757 served: true 3758 storage: true 3759 subresources: 3760 status: {} 3761 --- 3762 apiVersion: apiextensions.k8s.io/v1 3763 kind: CustomResourceDefinition 3764 metadata: 3765 annotations: 3766 controller-gen.kubebuilder.io/version: v0.11.3 3767 creationTimestamp: null 3768 name: vitesskeyspaces.planetscale.com 3769 spec: 3770 group: planetscale.com 3771 names: 3772 kind: VitessKeyspace 3773 listKind: VitessKeyspaceList 3774 plural: vitesskeyspaces 3775 shortNames: 3776 - vtk 3777 singular: vitesskeyspace 3778 scope: Namespaced 3779 versions: 3780 - name: v2 3781 schema: 3782 openAPIV3Schema: 3783 properties: 3784 apiVersion: 3785 type: string 3786 kind: 3787 type: string 3788 metadata: 3789 type: object 3790 spec: 3791 properties: 3792 annotations: 3793 additionalProperties: 3794 type: string 3795 type: object 3796 backupEngine: 3797 type: string 3798 backupLocations: 3799 items: 3800 properties: 3801 annotations: 3802 additionalProperties: 3803 type: string 3804 type: object 3805 azblob: 3806 properties: 3807 account: 3808 minLength: 1 3809 type: string 3810 authSecret: 3811 properties: 3812 key: 3813 type: string 3814 name: 3815 type: string 3816 volumeName: 3817 type: string 3818 required: 3819 - key 3820 type: object 3821 container: 3822 minLength: 1 3823 type: string 3824 keyPrefix: 3825 maxLength: 256 3826 pattern: ^[^\r\n]*$ 3827 type: string 3828 required: 3829 - account 3830 - authSecret 3831 - container 3832 type: object 3833 ceph: 3834 properties: 3835 authSecret: 3836 properties: 3837 key: 3838 type: string 3839 name: 3840 type: string 3841 volumeName: 3842 type: string 3843 required: 3844 - key 3845 type: object 3846 required: 3847 - authSecret 3848 type: object 3849 gcs: 3850 properties: 3851 authSecret: 3852 properties: 3853 key: 3854 type: string 3855 name: 3856 type: string 3857 volumeName: 3858 type: string 3859 required: 3860 - key 3861 type: object 3862 bucket: 3863 minLength: 1 3864 type: string 3865 keyPrefix: 3866 maxLength: 256 3867 pattern: ^[^\r\n]*$ 3868 type: string 3869 required: 3870 - bucket 3871 type: object 3872 name: 3873 maxLength: 63 3874 pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]*[A-Za-z0-9])?$ 3875 type: string 3876 s3: 3877 properties: 3878 authSecret: 3879 properties: 3880 key: 3881 type: string 3882 name: 3883 type: string 3884 volumeName: 3885 type: string 3886 required: 3887 - key 3888 type: object 3889 bucket: 3890 minLength: 1 3891 type: string 3892 endpoint: 3893 type: string 3894 forcePathStyle: 3895 type: boolean 3896 keyPrefix: 3897 maxLength: 256 3898 pattern: ^[^\r\n]*$ 3899 type: string 3900 region: 3901 minLength: 1 3902 type: string 3903 required: 3904 - bucket 3905 - region 3906 type: object 3907 volume: 3908 x-kubernetes-preserve-unknown-fields: true 3909 volumeSubPath: 3910 type: string 3911 type: object 3912 type: array 3913 databaseName: 3914 type: string 3915 durabilityPolicy: 3916 type: string 3917 extraVitessFlags: 3918 additionalProperties: 3919 type: string 3920 type: object 3921 globalLockserver: 3922 properties: 3923 address: 3924 type: string 3925 implementation: 3926 type: string 3927 rootPath: 3928 type: string 3929 required: 3930 - address 3931 - implementation 3932 - rootPath 3933 type: object 3934 imagePullPolicies: 3935 properties: 3936 mysqld: 3937 type: string 3938 mysqldExporter: 3939 type: string 3940 vtadmin: 3941 type: string 3942 vtbackup: 3943 type: string 3944 vtctld: 3945 type: string 3946 vtgate: 3947 type: string 3948 vtorc: 3949 type: string 3950 vttablet: 3951 type: string 3952 type: object 3953 imagePullSecrets: 3954 items: 3955 properties: 3956 name: 3957 type: string 3958 type: object 3959 x-kubernetes-map-type: atomic 3960 type: array 3961 images: 3962 properties: 3963 mysqld: 3964 properties: 3965 mariadb103Compatible: 3966 type: string 3967 mariadbCompatible: 3968 type: string 3969 mysql56Compatible: 3970 type: string 3971 mysql80Compatible: 3972 type: string 3973 type: object 3974 mysqldExporter: 3975 type: string 3976 vtbackup: 3977 type: string 3978 vtorc: 3979 type: string 3980 vttablet: 3981 type: string 3982 type: object 3983 name: 3984 maxLength: 63 3985 minLength: 1 3986 pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]*[A-Za-z0-9])?$ 3987 type: string 3988 partitionings: 3989 items: 3990 properties: 3991 custom: 3992 properties: 3993 shards: 3994 items: 3995 properties: 3996 annotations: 3997 additionalProperties: 3998 type: string 3999 type: object 4000 databaseInitScriptSecret: 4001 properties: 4002 key: 4003 type: string 4004 name: 4005 type: string 4006 volumeName: 4007 type: string 4008 required: 4009 - key 4010 type: object 4011 keyRange: 4012 properties: 4013 end: 4014 pattern: ^([0-9a-f][0-9a-f])*$ 4015 type: string 4016 start: 4017 pattern: ^([0-9a-f][0-9a-f])*$ 4018 type: string 4019 type: object 4020 replication: 4021 properties: 4022 initializeBackup: 4023 type: boolean 4024 initializeMaster: 4025 type: boolean 4026 recoverRestartedMaster: 4027 type: boolean 4028 type: object 4029 tabletPools: 4030 items: 4031 properties: 4032 affinity: 4033 x-kubernetes-preserve-unknown-fields: true 4034 annotations: 4035 additionalProperties: 4036 type: string 4037 type: object 4038 backupLocationName: 4039 type: string 4040 cell: 4041 maxLength: 63 4042 minLength: 1 4043 pattern: ^[A-Za-z0-9]([_.A-Za-z0-9]*[A-Za-z0-9])?$ 4044 type: string 4045 dataVolumeClaimTemplate: 4046 properties: 4047 accessModes: 4048 items: 4049 type: string 4050 type: array 4051 dataSource: 4052 properties: 4053 apiGroup: 4054 type: string 4055 kind: 4056 type: string 4057 name: 4058 type: string 4059 required: 4060 - kind 4061 - name 4062 type: object 4063 x-kubernetes-map-type: atomic 4064 dataSourceRef: 4065 properties: 4066 apiGroup: 4067 type: string 4068 kind: 4069 type: string 4070 name: 4071 type: string 4072 namespace: 4073 type: string 4074 required: 4075 - kind 4076 - name 4077 type: object 4078 resources: 4079 properties: 4080 claims: 4081 items: 4082 properties: 4083 name: 4084 type: string 4085 required: 4086 - name 4087 type: object 4088 type: array 4089 x-kubernetes-list-map-keys: 4090 - name 4091 x-kubernetes-list-type: map 4092 limits: 4093 additionalProperties: 4094 anyOf: 4095 - type: integer 4096 - type: string 4097 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4098 x-kubernetes-int-or-string: true 4099 type: object 4100 requests: 4101 additionalProperties: 4102 anyOf: 4103 - type: integer 4104 - type: string 4105 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4106 x-kubernetes-int-or-string: true 4107 type: object 4108 type: object 4109 selector: 4110 properties: 4111 matchExpressions: 4112 items: 4113 properties: 4114 key: 4115 type: string 4116 operator: 4117 type: string 4118 values: 4119 items: 4120 type: string 4121 type: array 4122 required: 4123 - key 4124 - operator 4125 type: object 4126 type: array 4127 matchLabels: 4128 additionalProperties: 4129 type: string 4130 type: object 4131 type: object 4132 x-kubernetes-map-type: atomic 4133 storageClassName: 4134 type: string 4135 volumeMode: 4136 type: string 4137 volumeName: 4138 type: string 4139 type: object 4140 externalDatastore: 4141 properties: 4142 credentialsSecret: 4143 properties: 4144 key: 4145 type: string 4146 name: 4147 type: string 4148 volumeName: 4149 type: string 4150 required: 4151 - key 4152 type: object 4153 database: 4154 type: string 4155 host: 4156 type: string 4157 port: 4158 format: int32 4159 maximum: 65535 4160 minimum: 1 4161 type: integer 4162 serverCACertSecret: 4163 properties: 4164 key: 4165 type: string 4166 name: 4167 type: string 4168 volumeName: 4169 type: string 4170 required: 4171 - key 4172 type: object 4173 user: 4174 type: string 4175 required: 4176 - credentialsSecret 4177 - database 4178 - host 4179 - port 4180 - user 4181 type: object 4182 extraEnv: 4183 items: 4184 properties: 4185 name: 4186 type: string 4187 value: 4188 type: string 4189 valueFrom: 4190 properties: 4191 configMapKeyRef: 4192 properties: 4193 key: 4194 type: string 4195 name: 4196 type: string 4197 optional: 4198 type: boolean 4199 required: 4200 - key 4201 type: object 4202 x-kubernetes-map-type: atomic 4203 fieldRef: 4204 properties: 4205 apiVersion: 4206 type: string 4207 fieldPath: 4208 type: string 4209 required: 4210 - fieldPath 4211 type: object 4212 x-kubernetes-map-type: atomic 4213 resourceFieldRef: 4214 properties: 4215 containerName: 4216 type: string 4217 divisor: 4218 anyOf: 4219 - type: integer 4220 - type: string 4221 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4222 x-kubernetes-int-or-string: true 4223 resource: 4224 type: string 4225 required: 4226 - resource 4227 type: object 4228 x-kubernetes-map-type: atomic 4229 secretKeyRef: 4230 properties: 4231 key: 4232 type: string 4233 name: 4234 type: string 4235 optional: 4236 type: boolean 4237 required: 4238 - key 4239 type: object 4240 x-kubernetes-map-type: atomic 4241 type: object 4242 required: 4243 - name 4244 type: object 4245 type: array 4246 extraLabels: 4247 additionalProperties: 4248 type: string 4249 type: object 4250 extraVolumeMounts: 4251 items: 4252 properties: 4253 mountPath: 4254 type: string 4255 mountPropagation: 4256 type: string 4257 name: 4258 type: string 4259 readOnly: 4260 type: boolean 4261 subPath: 4262 type: string 4263 subPathExpr: 4264 type: string 4265 required: 4266 - mountPath 4267 - name 4268 type: object 4269 type: array 4270 extraVolumes: 4271 x-kubernetes-preserve-unknown-fields: true 4272 initContainers: 4273 x-kubernetes-preserve-unknown-fields: true 4274 mysqld: 4275 properties: 4276 configOverrides: 4277 type: string 4278 resources: 4279 properties: 4280 claims: 4281 items: 4282 properties: 4283 name: 4284 type: string 4285 required: 4286 - name 4287 type: object 4288 type: array 4289 x-kubernetes-list-map-keys: 4290 - name 4291 x-kubernetes-list-type: map 4292 limits: 4293 additionalProperties: 4294 anyOf: 4295 - type: integer 4296 - type: string 4297 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4298 x-kubernetes-int-or-string: true 4299 type: object 4300 requests: 4301 additionalProperties: 4302 anyOf: 4303 - type: integer 4304 - type: string 4305 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4306 x-kubernetes-int-or-string: true 4307 type: object 4308 type: object 4309 required: 4310 - resources 4311 type: object 4312 replicas: 4313 format: int32 4314 minimum: 0 4315 type: integer 4316 sidecarContainers: 4317 x-kubernetes-preserve-unknown-fields: true 4318 tolerations: 4319 x-kubernetes-preserve-unknown-fields: true 4320 topologySpreadConstraints: 4321 x-kubernetes-preserve-unknown-fields: true 4322 type: 4323 enum: 4324 - replica 4325 - rdonly 4326 - externalmaster 4327 - externalreplica 4328 - externalrdonly 4329 type: string 4330 vttablet: 4331 properties: 4332 extraFlags: 4333 additionalProperties: 4334 type: string 4335 type: object 4336 lifecycle: 4337 x-kubernetes-preserve-unknown-fields: true 4338 resources: 4339 properties: 4340 claims: 4341 items: 4342 properties: 4343 name: 4344 type: string 4345 required: 4346 - name 4347 type: object 4348 type: array 4349 x-kubernetes-list-map-keys: 4350 - name 4351 x-kubernetes-list-type: map 4352 limits: 4353 additionalProperties: 4354 anyOf: 4355 - type: integer 4356 - type: string 4357 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4358 x-kubernetes-int-or-string: true 4359 type: object 4360 requests: 4361 additionalProperties: 4362 anyOf: 4363 - type: integer 4364 - type: string 4365 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4366 x-kubernetes-int-or-string: true 4367 type: object 4368 type: object 4369 required: 4370 - resources 4371 type: object 4372 required: 4373 - cell 4374 - replicas 4375 - type 4376 - vttablet 4377 type: object 4378 type: array 4379 x-kubernetes-list-map-keys: 4380 - type 4381 - cell 4382 x-kubernetes-list-type: map 4383 required: 4384 - databaseInitScriptSecret 4385 - keyRange 4386 type: object 4387 type: array 4388 required: 4389 - shards 4390 type: object 4391 equal: 4392 properties: 4393 parts: 4394 format: int32 4395 maximum: 65536 4396 minimum: 1 4397 type: integer 4398 shardTemplate: 4399 properties: 4400 annotations: 4401 additionalProperties: 4402 type: string 4403 type: object 4404 databaseInitScriptSecret: 4405 properties: 4406 key: 4407 type: string 4408 name: 4409 type: string 4410 volumeName: 4411 type: string 4412 required: 4413 - key 4414 type: object 4415 replication: 4416 properties: 4417 initializeBackup: 4418 type: boolean 4419 initializeMaster: 4420 type: boolean 4421 recoverRestartedMaster: 4422 type: boolean 4423 type: object 4424 tabletPools: 4425 items: 4426 properties: 4427 affinity: 4428 x-kubernetes-preserve-unknown-fields: true 4429 annotations: 4430 additionalProperties: 4431 type: string 4432 type: object 4433 backupLocationName: 4434 type: string 4435 cell: 4436 maxLength: 63 4437 minLength: 1 4438 pattern: ^[A-Za-z0-9]([_.A-Za-z0-9]*[A-Za-z0-9])?$ 4439 type: string 4440 dataVolumeClaimTemplate: 4441 properties: 4442 accessModes: 4443 items: 4444 type: string 4445 type: array 4446 dataSource: 4447 properties: 4448 apiGroup: 4449 type: string 4450 kind: 4451 type: string 4452 name: 4453 type: string 4454 required: 4455 - kind 4456 - name 4457 type: object 4458 x-kubernetes-map-type: atomic 4459 dataSourceRef: 4460 properties: 4461 apiGroup: 4462 type: string 4463 kind: 4464 type: string 4465 name: 4466 type: string 4467 namespace: 4468 type: string 4469 required: 4470 - kind 4471 - name 4472 type: object 4473 resources: 4474 properties: 4475 claims: 4476 items: 4477 properties: 4478 name: 4479 type: string 4480 required: 4481 - name 4482 type: object 4483 type: array 4484 x-kubernetes-list-map-keys: 4485 - name 4486 x-kubernetes-list-type: map 4487 limits: 4488 additionalProperties: 4489 anyOf: 4490 - type: integer 4491 - type: string 4492 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4493 x-kubernetes-int-or-string: true 4494 type: object 4495 requests: 4496 additionalProperties: 4497 anyOf: 4498 - type: integer 4499 - type: string 4500 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4501 x-kubernetes-int-or-string: true 4502 type: object 4503 type: object 4504 selector: 4505 properties: 4506 matchExpressions: 4507 items: 4508 properties: 4509 key: 4510 type: string 4511 operator: 4512 type: string 4513 values: 4514 items: 4515 type: string 4516 type: array 4517 required: 4518 - key 4519 - operator 4520 type: object 4521 type: array 4522 matchLabels: 4523 additionalProperties: 4524 type: string 4525 type: object 4526 type: object 4527 x-kubernetes-map-type: atomic 4528 storageClassName: 4529 type: string 4530 volumeMode: 4531 type: string 4532 volumeName: 4533 type: string 4534 type: object 4535 externalDatastore: 4536 properties: 4537 credentialsSecret: 4538 properties: 4539 key: 4540 type: string 4541 name: 4542 type: string 4543 volumeName: 4544 type: string 4545 required: 4546 - key 4547 type: object 4548 database: 4549 type: string 4550 host: 4551 type: string 4552 port: 4553 format: int32 4554 maximum: 65535 4555 minimum: 1 4556 type: integer 4557 serverCACertSecret: 4558 properties: 4559 key: 4560 type: string 4561 name: 4562 type: string 4563 volumeName: 4564 type: string 4565 required: 4566 - key 4567 type: object 4568 user: 4569 type: string 4570 required: 4571 - credentialsSecret 4572 - database 4573 - host 4574 - port 4575 - user 4576 type: object 4577 extraEnv: 4578 items: 4579 properties: 4580 name: 4581 type: string 4582 value: 4583 type: string 4584 valueFrom: 4585 properties: 4586 configMapKeyRef: 4587 properties: 4588 key: 4589 type: string 4590 name: 4591 type: string 4592 optional: 4593 type: boolean 4594 required: 4595 - key 4596 type: object 4597 x-kubernetes-map-type: atomic 4598 fieldRef: 4599 properties: 4600 apiVersion: 4601 type: string 4602 fieldPath: 4603 type: string 4604 required: 4605 - fieldPath 4606 type: object 4607 x-kubernetes-map-type: atomic 4608 resourceFieldRef: 4609 properties: 4610 containerName: 4611 type: string 4612 divisor: 4613 anyOf: 4614 - type: integer 4615 - type: string 4616 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4617 x-kubernetes-int-or-string: true 4618 resource: 4619 type: string 4620 required: 4621 - resource 4622 type: object 4623 x-kubernetes-map-type: atomic 4624 secretKeyRef: 4625 properties: 4626 key: 4627 type: string 4628 name: 4629 type: string 4630 optional: 4631 type: boolean 4632 required: 4633 - key 4634 type: object 4635 x-kubernetes-map-type: atomic 4636 type: object 4637 required: 4638 - name 4639 type: object 4640 type: array 4641 extraLabels: 4642 additionalProperties: 4643 type: string 4644 type: object 4645 extraVolumeMounts: 4646 items: 4647 properties: 4648 mountPath: 4649 type: string 4650 mountPropagation: 4651 type: string 4652 name: 4653 type: string 4654 readOnly: 4655 type: boolean 4656 subPath: 4657 type: string 4658 subPathExpr: 4659 type: string 4660 required: 4661 - mountPath 4662 - name 4663 type: object 4664 type: array 4665 extraVolumes: 4666 x-kubernetes-preserve-unknown-fields: true 4667 initContainers: 4668 x-kubernetes-preserve-unknown-fields: true 4669 mysqld: 4670 properties: 4671 configOverrides: 4672 type: string 4673 resources: 4674 properties: 4675 claims: 4676 items: 4677 properties: 4678 name: 4679 type: string 4680 required: 4681 - name 4682 type: object 4683 type: array 4684 x-kubernetes-list-map-keys: 4685 - name 4686 x-kubernetes-list-type: map 4687 limits: 4688 additionalProperties: 4689 anyOf: 4690 - type: integer 4691 - type: string 4692 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4693 x-kubernetes-int-or-string: true 4694 type: object 4695 requests: 4696 additionalProperties: 4697 anyOf: 4698 - type: integer 4699 - type: string 4700 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4701 x-kubernetes-int-or-string: true 4702 type: object 4703 type: object 4704 required: 4705 - resources 4706 type: object 4707 replicas: 4708 format: int32 4709 minimum: 0 4710 type: integer 4711 sidecarContainers: 4712 x-kubernetes-preserve-unknown-fields: true 4713 tolerations: 4714 x-kubernetes-preserve-unknown-fields: true 4715 topologySpreadConstraints: 4716 x-kubernetes-preserve-unknown-fields: true 4717 type: 4718 enum: 4719 - replica 4720 - rdonly 4721 - externalmaster 4722 - externalreplica 4723 - externalrdonly 4724 type: string 4725 vttablet: 4726 properties: 4727 extraFlags: 4728 additionalProperties: 4729 type: string 4730 type: object 4731 lifecycle: 4732 x-kubernetes-preserve-unknown-fields: true 4733 resources: 4734 properties: 4735 claims: 4736 items: 4737 properties: 4738 name: 4739 type: string 4740 required: 4741 - name 4742 type: object 4743 type: array 4744 x-kubernetes-list-map-keys: 4745 - name 4746 x-kubernetes-list-type: map 4747 limits: 4748 additionalProperties: 4749 anyOf: 4750 - type: integer 4751 - type: string 4752 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4753 x-kubernetes-int-or-string: true 4754 type: object 4755 requests: 4756 additionalProperties: 4757 anyOf: 4758 - type: integer 4759 - type: string 4760 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4761 x-kubernetes-int-or-string: true 4762 type: object 4763 type: object 4764 required: 4765 - resources 4766 type: object 4767 required: 4768 - cell 4769 - replicas 4770 - type 4771 - vttablet 4772 type: object 4773 type: array 4774 x-kubernetes-list-map-keys: 4775 - type 4776 - cell 4777 x-kubernetes-list-type: map 4778 required: 4779 - databaseInitScriptSecret 4780 type: object 4781 required: 4782 - parts 4783 type: object 4784 type: object 4785 maxItems: 2 4786 minItems: 1 4787 type: array 4788 topologyReconciliation: 4789 properties: 4790 pruneCells: 4791 type: boolean 4792 pruneKeyspaces: 4793 type: boolean 4794 pruneShardCells: 4795 type: boolean 4796 pruneShards: 4797 type: boolean 4798 pruneSrvKeyspaces: 4799 type: boolean 4800 pruneTablets: 4801 type: boolean 4802 registerCells: 4803 type: boolean 4804 registerCellsAliases: 4805 type: boolean 4806 type: object 4807 turndownPolicy: 4808 enum: 4809 - RequireIdle 4810 - Immediate 4811 type: string 4812 updateStrategy: 4813 properties: 4814 external: 4815 properties: 4816 allowResourceChanges: 4817 items: 4818 type: string 4819 type: array 4820 type: object 4821 type: 4822 enum: 4823 - External 4824 - Immediate 4825 type: string 4826 type: object 4827 vitessOrchestrator: 4828 properties: 4829 affinity: 4830 x-kubernetes-preserve-unknown-fields: true 4831 annotations: 4832 additionalProperties: 4833 type: string 4834 type: object 4835 extraEnv: 4836 items: 4837 properties: 4838 name: 4839 type: string 4840 value: 4841 type: string 4842 valueFrom: 4843 properties: 4844 configMapKeyRef: 4845 properties: 4846 key: 4847 type: string 4848 name: 4849 type: string 4850 optional: 4851 type: boolean 4852 required: 4853 - key 4854 type: object 4855 x-kubernetes-map-type: atomic 4856 fieldRef: 4857 properties: 4858 apiVersion: 4859 type: string 4860 fieldPath: 4861 type: string 4862 required: 4863 - fieldPath 4864 type: object 4865 x-kubernetes-map-type: atomic 4866 resourceFieldRef: 4867 properties: 4868 containerName: 4869 type: string 4870 divisor: 4871 anyOf: 4872 - type: integer 4873 - type: string 4874 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4875 x-kubernetes-int-or-string: true 4876 resource: 4877 type: string 4878 required: 4879 - resource 4880 type: object 4881 x-kubernetes-map-type: atomic 4882 secretKeyRef: 4883 properties: 4884 key: 4885 type: string 4886 name: 4887 type: string 4888 optional: 4889 type: boolean 4890 required: 4891 - key 4892 type: object 4893 x-kubernetes-map-type: atomic 4894 type: object 4895 required: 4896 - name 4897 type: object 4898 type: array 4899 extraFlags: 4900 additionalProperties: 4901 type: string 4902 type: object 4903 extraLabels: 4904 additionalProperties: 4905 type: string 4906 type: object 4907 extraVolumeMounts: 4908 items: 4909 properties: 4910 mountPath: 4911 type: string 4912 mountPropagation: 4913 type: string 4914 name: 4915 type: string 4916 readOnly: 4917 type: boolean 4918 subPath: 4919 type: string 4920 subPathExpr: 4921 type: string 4922 required: 4923 - mountPath 4924 - name 4925 type: object 4926 type: array 4927 extraVolumes: 4928 x-kubernetes-preserve-unknown-fields: true 4929 initContainers: 4930 x-kubernetes-preserve-unknown-fields: true 4931 resources: 4932 properties: 4933 claims: 4934 items: 4935 properties: 4936 name: 4937 type: string 4938 required: 4939 - name 4940 type: object 4941 type: array 4942 x-kubernetes-list-map-keys: 4943 - name 4944 x-kubernetes-list-type: map 4945 limits: 4946 additionalProperties: 4947 anyOf: 4948 - type: integer 4949 - type: string 4950 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4951 x-kubernetes-int-or-string: true 4952 type: object 4953 requests: 4954 additionalProperties: 4955 anyOf: 4956 - type: integer 4957 - type: string 4958 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 4959 x-kubernetes-int-or-string: true 4960 type: object 4961 type: object 4962 service: 4963 properties: 4964 annotations: 4965 additionalProperties: 4966 type: string 4967 type: object 4968 clusterIP: 4969 type: string 4970 type: object 4971 sidecarContainers: 4972 x-kubernetes-preserve-unknown-fields: true 4973 tolerations: 4974 x-kubernetes-preserve-unknown-fields: true 4975 type: object 4976 zoneMap: 4977 additionalProperties: 4978 type: string 4979 type: object 4980 required: 4981 - globalLockserver 4982 - name 4983 - partitionings 4984 - zoneMap 4985 type: object 4986 status: 4987 properties: 4988 conditions: 4989 items: 4990 properties: 4991 lastTransitionTime: 4992 format: date-time 4993 type: string 4994 message: 4995 type: string 4996 reason: 4997 type: string 4998 status: 4999 enum: 5000 - "True" 5001 - "False" 5002 - Unknown 5003 type: string 5004 type: 5005 type: string 5006 required: 5007 - status 5008 - type 5009 type: object 5010 type: array 5011 idle: 5012 type: string 5013 observedGeneration: 5014 format: int64 5015 type: integer 5016 orphanedShards: 5017 additionalProperties: 5018 properties: 5019 message: 5020 type: string 5021 reason: 5022 type: string 5023 required: 5024 - message 5025 - reason 5026 type: object 5027 type: object 5028 partitionings: 5029 items: 5030 properties: 5031 desiredShards: 5032 format: int32 5033 type: integer 5034 desiredTablets: 5035 format: int32 5036 type: integer 5037 readyShards: 5038 format: int32 5039 type: integer 5040 readyTablets: 5041 format: int32 5042 type: integer 5043 servingWrites: 5044 type: string 5045 shardNames: 5046 items: 5047 type: string 5048 type: array 5049 tablets: 5050 format: int32 5051 type: integer 5052 updatedTablets: 5053 format: int32 5054 type: integer 5055 type: object 5056 type: array 5057 resharding: 5058 properties: 5059 copyProgress: 5060 type: integer 5061 sourceShards: 5062 items: 5063 type: string 5064 type: array 5065 state: 5066 type: string 5067 targetShards: 5068 items: 5069 type: string 5070 type: array 5071 workflow: 5072 type: string 5073 required: 5074 - state 5075 - workflow 5076 type: object 5077 shards: 5078 additionalProperties: 5079 properties: 5080 cells: 5081 items: 5082 type: string 5083 type: array 5084 desiredTablets: 5085 format: int32 5086 type: integer 5087 hasMaster: 5088 type: string 5089 pendingChanges: 5090 type: string 5091 readyTablets: 5092 format: int32 5093 type: integer 5094 servingWrites: 5095 type: string 5096 tablets: 5097 format: int32 5098 type: integer 5099 updatedTablets: 5100 format: int32 5101 type: integer 5102 type: object 5103 type: object 5104 type: object 5105 type: object 5106 served: true 5107 storage: true 5108 subresources: 5109 status: {} 5110 --- 5111 apiVersion: apiextensions.k8s.io/v1 5112 kind: CustomResourceDefinition 5113 metadata: 5114 annotations: 5115 controller-gen.kubebuilder.io/version: v0.11.3 5116 creationTimestamp: null 5117 name: vitessshards.planetscale.com 5118 spec: 5119 group: planetscale.com 5120 names: 5121 kind: VitessShard 5122 listKind: VitessShardList 5123 plural: vitessshards 5124 shortNames: 5125 - vts 5126 singular: vitessshard 5127 scope: Namespaced 5128 versions: 5129 - name: v2 5130 schema: 5131 openAPIV3Schema: 5132 properties: 5133 apiVersion: 5134 type: string 5135 kind: 5136 type: string 5137 metadata: 5138 type: object 5139 spec: 5140 properties: 5141 annotations: 5142 additionalProperties: 5143 type: string 5144 type: object 5145 backupEngine: 5146 type: string 5147 backupLocations: 5148 items: 5149 properties: 5150 annotations: 5151 additionalProperties: 5152 type: string 5153 type: object 5154 azblob: 5155 properties: 5156 account: 5157 minLength: 1 5158 type: string 5159 authSecret: 5160 properties: 5161 key: 5162 type: string 5163 name: 5164 type: string 5165 volumeName: 5166 type: string 5167 required: 5168 - key 5169 type: object 5170 container: 5171 minLength: 1 5172 type: string 5173 keyPrefix: 5174 maxLength: 256 5175 pattern: ^[^\r\n]*$ 5176 type: string 5177 required: 5178 - account 5179 - authSecret 5180 - container 5181 type: object 5182 ceph: 5183 properties: 5184 authSecret: 5185 properties: 5186 key: 5187 type: string 5188 name: 5189 type: string 5190 volumeName: 5191 type: string 5192 required: 5193 - key 5194 type: object 5195 required: 5196 - authSecret 5197 type: object 5198 gcs: 5199 properties: 5200 authSecret: 5201 properties: 5202 key: 5203 type: string 5204 name: 5205 type: string 5206 volumeName: 5207 type: string 5208 required: 5209 - key 5210 type: object 5211 bucket: 5212 minLength: 1 5213 type: string 5214 keyPrefix: 5215 maxLength: 256 5216 pattern: ^[^\r\n]*$ 5217 type: string 5218 required: 5219 - bucket 5220 type: object 5221 name: 5222 maxLength: 63 5223 pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]*[A-Za-z0-9])?$ 5224 type: string 5225 s3: 5226 properties: 5227 authSecret: 5228 properties: 5229 key: 5230 type: string 5231 name: 5232 type: string 5233 volumeName: 5234 type: string 5235 required: 5236 - key 5237 type: object 5238 bucket: 5239 minLength: 1 5240 type: string 5241 endpoint: 5242 type: string 5243 forcePathStyle: 5244 type: boolean 5245 keyPrefix: 5246 maxLength: 256 5247 pattern: ^[^\r\n]*$ 5248 type: string 5249 region: 5250 minLength: 1 5251 type: string 5252 required: 5253 - bucket 5254 - region 5255 type: object 5256 volume: 5257 x-kubernetes-preserve-unknown-fields: true 5258 volumeSubPath: 5259 type: string 5260 type: object 5261 type: array 5262 databaseInitScriptSecret: 5263 properties: 5264 key: 5265 type: string 5266 name: 5267 type: string 5268 volumeName: 5269 type: string 5270 required: 5271 - key 5272 type: object 5273 databaseName: 5274 type: string 5275 extraVitessFlags: 5276 additionalProperties: 5277 type: string 5278 type: object 5279 globalLockserver: 5280 properties: 5281 address: 5282 type: string 5283 implementation: 5284 type: string 5285 rootPath: 5286 type: string 5287 required: 5288 - address 5289 - implementation 5290 - rootPath 5291 type: object 5292 imagePullPolicies: 5293 properties: 5294 mysqld: 5295 type: string 5296 mysqldExporter: 5297 type: string 5298 vtadmin: 5299 type: string 5300 vtbackup: 5301 type: string 5302 vtctld: 5303 type: string 5304 vtgate: 5305 type: string 5306 vtorc: 5307 type: string 5308 vttablet: 5309 type: string 5310 type: object 5311 imagePullSecrets: 5312 items: 5313 properties: 5314 name: 5315 type: string 5316 type: object 5317 x-kubernetes-map-type: atomic 5318 type: array 5319 images: 5320 properties: 5321 mysqld: 5322 properties: 5323 mariadb103Compatible: 5324 type: string 5325 mariadbCompatible: 5326 type: string 5327 mysql56Compatible: 5328 type: string 5329 mysql80Compatible: 5330 type: string 5331 type: object 5332 mysqldExporter: 5333 type: string 5334 vtbackup: 5335 type: string 5336 vtorc: 5337 type: string 5338 vttablet: 5339 type: string 5340 type: object 5341 keyRange: 5342 properties: 5343 end: 5344 pattern: ^([0-9a-f][0-9a-f])*$ 5345 type: string 5346 start: 5347 pattern: ^([0-9a-f][0-9a-f])*$ 5348 type: string 5349 type: object 5350 name: 5351 type: string 5352 replication: 5353 properties: 5354 initializeBackup: 5355 type: boolean 5356 initializeMaster: 5357 type: boolean 5358 recoverRestartedMaster: 5359 type: boolean 5360 type: object 5361 tabletPools: 5362 items: 5363 properties: 5364 affinity: 5365 x-kubernetes-preserve-unknown-fields: true 5366 annotations: 5367 additionalProperties: 5368 type: string 5369 type: object 5370 backupLocationName: 5371 type: string 5372 cell: 5373 maxLength: 63 5374 minLength: 1 5375 pattern: ^[A-Za-z0-9]([_.A-Za-z0-9]*[A-Za-z0-9])?$ 5376 type: string 5377 dataVolumeClaimTemplate: 5378 properties: 5379 accessModes: 5380 items: 5381 type: string 5382 type: array 5383 dataSource: 5384 properties: 5385 apiGroup: 5386 type: string 5387 kind: 5388 type: string 5389 name: 5390 type: string 5391 required: 5392 - kind 5393 - name 5394 type: object 5395 x-kubernetes-map-type: atomic 5396 dataSourceRef: 5397 properties: 5398 apiGroup: 5399 type: string 5400 kind: 5401 type: string 5402 name: 5403 type: string 5404 namespace: 5405 type: string 5406 required: 5407 - kind 5408 - name 5409 type: object 5410 resources: 5411 properties: 5412 claims: 5413 items: 5414 properties: 5415 name: 5416 type: string 5417 required: 5418 - name 5419 type: object 5420 type: array 5421 x-kubernetes-list-map-keys: 5422 - name 5423 x-kubernetes-list-type: map 5424 limits: 5425 additionalProperties: 5426 anyOf: 5427 - type: integer 5428 - type: string 5429 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5430 x-kubernetes-int-or-string: true 5431 type: object 5432 requests: 5433 additionalProperties: 5434 anyOf: 5435 - type: integer 5436 - type: string 5437 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5438 x-kubernetes-int-or-string: true 5439 type: object 5440 type: object 5441 selector: 5442 properties: 5443 matchExpressions: 5444 items: 5445 properties: 5446 key: 5447 type: string 5448 operator: 5449 type: string 5450 values: 5451 items: 5452 type: string 5453 type: array 5454 required: 5455 - key 5456 - operator 5457 type: object 5458 type: array 5459 matchLabels: 5460 additionalProperties: 5461 type: string 5462 type: object 5463 type: object 5464 x-kubernetes-map-type: atomic 5465 storageClassName: 5466 type: string 5467 volumeMode: 5468 type: string 5469 volumeName: 5470 type: string 5471 type: object 5472 externalDatastore: 5473 properties: 5474 credentialsSecret: 5475 properties: 5476 key: 5477 type: string 5478 name: 5479 type: string 5480 volumeName: 5481 type: string 5482 required: 5483 - key 5484 type: object 5485 database: 5486 type: string 5487 host: 5488 type: string 5489 port: 5490 format: int32 5491 maximum: 65535 5492 minimum: 1 5493 type: integer 5494 serverCACertSecret: 5495 properties: 5496 key: 5497 type: string 5498 name: 5499 type: string 5500 volumeName: 5501 type: string 5502 required: 5503 - key 5504 type: object 5505 user: 5506 type: string 5507 required: 5508 - credentialsSecret 5509 - database 5510 - host 5511 - port 5512 - user 5513 type: object 5514 extraEnv: 5515 items: 5516 properties: 5517 name: 5518 type: string 5519 value: 5520 type: string 5521 valueFrom: 5522 properties: 5523 configMapKeyRef: 5524 properties: 5525 key: 5526 type: string 5527 name: 5528 type: string 5529 optional: 5530 type: boolean 5531 required: 5532 - key 5533 type: object 5534 x-kubernetes-map-type: atomic 5535 fieldRef: 5536 properties: 5537 apiVersion: 5538 type: string 5539 fieldPath: 5540 type: string 5541 required: 5542 - fieldPath 5543 type: object 5544 x-kubernetes-map-type: atomic 5545 resourceFieldRef: 5546 properties: 5547 containerName: 5548 type: string 5549 divisor: 5550 anyOf: 5551 - type: integer 5552 - type: string 5553 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5554 x-kubernetes-int-or-string: true 5555 resource: 5556 type: string 5557 required: 5558 - resource 5559 type: object 5560 x-kubernetes-map-type: atomic 5561 secretKeyRef: 5562 properties: 5563 key: 5564 type: string 5565 name: 5566 type: string 5567 optional: 5568 type: boolean 5569 required: 5570 - key 5571 type: object 5572 x-kubernetes-map-type: atomic 5573 type: object 5574 required: 5575 - name 5576 type: object 5577 type: array 5578 extraLabels: 5579 additionalProperties: 5580 type: string 5581 type: object 5582 extraVolumeMounts: 5583 items: 5584 properties: 5585 mountPath: 5586 type: string 5587 mountPropagation: 5588 type: string 5589 name: 5590 type: string 5591 readOnly: 5592 type: boolean 5593 subPath: 5594 type: string 5595 subPathExpr: 5596 type: string 5597 required: 5598 - mountPath 5599 - name 5600 type: object 5601 type: array 5602 extraVolumes: 5603 x-kubernetes-preserve-unknown-fields: true 5604 initContainers: 5605 x-kubernetes-preserve-unknown-fields: true 5606 mysqld: 5607 properties: 5608 configOverrides: 5609 type: string 5610 resources: 5611 properties: 5612 claims: 5613 items: 5614 properties: 5615 name: 5616 type: string 5617 required: 5618 - name 5619 type: object 5620 type: array 5621 x-kubernetes-list-map-keys: 5622 - name 5623 x-kubernetes-list-type: map 5624 limits: 5625 additionalProperties: 5626 anyOf: 5627 - type: integer 5628 - type: string 5629 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5630 x-kubernetes-int-or-string: true 5631 type: object 5632 requests: 5633 additionalProperties: 5634 anyOf: 5635 - type: integer 5636 - type: string 5637 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5638 x-kubernetes-int-or-string: true 5639 type: object 5640 type: object 5641 required: 5642 - resources 5643 type: object 5644 replicas: 5645 format: int32 5646 minimum: 0 5647 type: integer 5648 sidecarContainers: 5649 x-kubernetes-preserve-unknown-fields: true 5650 tolerations: 5651 x-kubernetes-preserve-unknown-fields: true 5652 topologySpreadConstraints: 5653 x-kubernetes-preserve-unknown-fields: true 5654 type: 5655 enum: 5656 - replica 5657 - rdonly 5658 - externalmaster 5659 - externalreplica 5660 - externalrdonly 5661 type: string 5662 vttablet: 5663 properties: 5664 extraFlags: 5665 additionalProperties: 5666 type: string 5667 type: object 5668 lifecycle: 5669 x-kubernetes-preserve-unknown-fields: true 5670 resources: 5671 properties: 5672 claims: 5673 items: 5674 properties: 5675 name: 5676 type: string 5677 required: 5678 - name 5679 type: object 5680 type: array 5681 x-kubernetes-list-map-keys: 5682 - name 5683 x-kubernetes-list-type: map 5684 limits: 5685 additionalProperties: 5686 anyOf: 5687 - type: integer 5688 - type: string 5689 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5690 x-kubernetes-int-or-string: true 5691 type: object 5692 requests: 5693 additionalProperties: 5694 anyOf: 5695 - type: integer 5696 - type: string 5697 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5698 x-kubernetes-int-or-string: true 5699 type: object 5700 type: object 5701 required: 5702 - resources 5703 type: object 5704 required: 5705 - cell 5706 - replicas 5707 - type 5708 - vttablet 5709 type: object 5710 type: array 5711 x-kubernetes-list-map-keys: 5712 - type 5713 - cell 5714 x-kubernetes-list-type: map 5715 topologyReconciliation: 5716 properties: 5717 pruneCells: 5718 type: boolean 5719 pruneKeyspaces: 5720 type: boolean 5721 pruneShardCells: 5722 type: boolean 5723 pruneShards: 5724 type: boolean 5725 pruneSrvKeyspaces: 5726 type: boolean 5727 pruneTablets: 5728 type: boolean 5729 registerCells: 5730 type: boolean 5731 registerCellsAliases: 5732 type: boolean 5733 type: object 5734 updateStrategy: 5735 properties: 5736 external: 5737 properties: 5738 allowResourceChanges: 5739 items: 5740 type: string 5741 type: array 5742 type: object 5743 type: 5744 enum: 5745 - External 5746 - Immediate 5747 type: string 5748 type: object 5749 vitessOrchestrator: 5750 properties: 5751 affinity: 5752 x-kubernetes-preserve-unknown-fields: true 5753 annotations: 5754 additionalProperties: 5755 type: string 5756 type: object 5757 extraEnv: 5758 items: 5759 properties: 5760 name: 5761 type: string 5762 value: 5763 type: string 5764 valueFrom: 5765 properties: 5766 configMapKeyRef: 5767 properties: 5768 key: 5769 type: string 5770 name: 5771 type: string 5772 optional: 5773 type: boolean 5774 required: 5775 - key 5776 type: object 5777 x-kubernetes-map-type: atomic 5778 fieldRef: 5779 properties: 5780 apiVersion: 5781 type: string 5782 fieldPath: 5783 type: string 5784 required: 5785 - fieldPath 5786 type: object 5787 x-kubernetes-map-type: atomic 5788 resourceFieldRef: 5789 properties: 5790 containerName: 5791 type: string 5792 divisor: 5793 anyOf: 5794 - type: integer 5795 - type: string 5796 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5797 x-kubernetes-int-or-string: true 5798 resource: 5799 type: string 5800 required: 5801 - resource 5802 type: object 5803 x-kubernetes-map-type: atomic 5804 secretKeyRef: 5805 properties: 5806 key: 5807 type: string 5808 name: 5809 type: string 5810 optional: 5811 type: boolean 5812 required: 5813 - key 5814 type: object 5815 x-kubernetes-map-type: atomic 5816 type: object 5817 required: 5818 - name 5819 type: object 5820 type: array 5821 extraFlags: 5822 additionalProperties: 5823 type: string 5824 type: object 5825 extraLabels: 5826 additionalProperties: 5827 type: string 5828 type: object 5829 extraVolumeMounts: 5830 items: 5831 properties: 5832 mountPath: 5833 type: string 5834 mountPropagation: 5835 type: string 5836 name: 5837 type: string 5838 readOnly: 5839 type: boolean 5840 subPath: 5841 type: string 5842 subPathExpr: 5843 type: string 5844 required: 5845 - mountPath 5846 - name 5847 type: object 5848 type: array 5849 extraVolumes: 5850 x-kubernetes-preserve-unknown-fields: true 5851 initContainers: 5852 x-kubernetes-preserve-unknown-fields: true 5853 resources: 5854 properties: 5855 claims: 5856 items: 5857 properties: 5858 name: 5859 type: string 5860 required: 5861 - name 5862 type: object 5863 type: array 5864 x-kubernetes-list-map-keys: 5865 - name 5866 x-kubernetes-list-type: map 5867 limits: 5868 additionalProperties: 5869 anyOf: 5870 - type: integer 5871 - type: string 5872 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5873 x-kubernetes-int-or-string: true 5874 type: object 5875 requests: 5876 additionalProperties: 5877 anyOf: 5878 - type: integer 5879 - type: string 5880 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 5881 x-kubernetes-int-or-string: true 5882 type: object 5883 type: object 5884 service: 5885 properties: 5886 annotations: 5887 additionalProperties: 5888 type: string 5889 type: object 5890 clusterIP: 5891 type: string 5892 type: object 5893 sidecarContainers: 5894 x-kubernetes-preserve-unknown-fields: true 5895 tolerations: 5896 x-kubernetes-preserve-unknown-fields: true 5897 type: object 5898 zoneMap: 5899 additionalProperties: 5900 type: string 5901 type: object 5902 required: 5903 - databaseInitScriptSecret 5904 - globalLockserver 5905 - images 5906 - keyRange 5907 - name 5908 - zoneMap 5909 type: object 5910 status: 5911 properties: 5912 backupLocations: 5913 items: 5914 properties: 5915 completeBackups: 5916 format: int32 5917 type: integer 5918 incompleteBackups: 5919 format: int32 5920 type: integer 5921 latestCompleteBackupTime: 5922 format: date-time 5923 type: string 5924 name: 5925 type: string 5926 required: 5927 - completeBackups 5928 - incompleteBackups 5929 type: object 5930 type: array 5931 cells: 5932 items: 5933 type: string 5934 type: array 5935 conditions: 5936 additionalProperties: 5937 properties: 5938 lastTransitionTime: 5939 format: date-time 5940 type: string 5941 message: 5942 type: string 5943 reason: 5944 type: string 5945 status: 5946 enum: 5947 - "True" 5948 - "False" 5949 - Unknown 5950 type: string 5951 required: 5952 - status 5953 type: object 5954 type: object 5955 hasInitialBackup: 5956 type: string 5957 hasMaster: 5958 type: string 5959 idle: 5960 type: string 5961 lowestPodGeneration: 5962 format: int64 5963 type: integer 5964 masterAlias: 5965 type: string 5966 observedGeneration: 5967 format: int64 5968 type: integer 5969 orphanedTablets: 5970 additionalProperties: 5971 properties: 5972 message: 5973 type: string 5974 reason: 5975 type: string 5976 required: 5977 - message 5978 - reason 5979 type: object 5980 type: object 5981 servingWrites: 5982 type: string 5983 tablets: 5984 additionalProperties: 5985 properties: 5986 available: 5987 type: string 5988 dataVolumeBound: 5989 type: string 5990 index: 5991 format: int32 5992 type: integer 5993 pendingChanges: 5994 type: string 5995 poolType: 5996 type: string 5997 ready: 5998 type: string 5999 running: 6000 type: string 6001 type: 6002 type: string 6003 type: object 6004 type: object 6005 vitessOrchestrator: 6006 properties: 6007 available: 6008 type: string 6009 serviceName: 6010 type: string 6011 type: object 6012 type: object 6013 type: object 6014 served: true 6015 storage: true 6016 subresources: 6017 status: {} 6018 --- 6019 apiVersion: v1 6020 kind: ServiceAccount 6021 metadata: 6022 name: vitess-operator 6023 --- 6024 apiVersion: rbac.authorization.k8s.io/v1 6025 kind: Role 6026 metadata: 6027 name: vitess-operator 6028 rules: 6029 - apiGroups: 6030 - "" 6031 resources: 6032 - pods 6033 - services 6034 - endpoints 6035 - persistentvolumeclaims 6036 - events 6037 - configmaps 6038 - secrets 6039 verbs: 6040 - '*' 6041 - apiGroups: 6042 - "" 6043 resources: 6044 - namespaces 6045 verbs: 6046 - get 6047 - apiGroups: 6048 - apps 6049 resources: 6050 - deployments 6051 - daemonsets 6052 - replicasets 6053 - statefulsets 6054 verbs: 6055 - '*' 6056 - apiGroups: 6057 - policy 6058 resources: 6059 - poddisruptionbudgets 6060 verbs: 6061 - '*' 6062 - apiGroups: 6063 - apps 6064 resourceNames: 6065 - vitess-operator 6066 resources: 6067 - deployments/finalizers 6068 verbs: 6069 - update 6070 - apiGroups: 6071 - planetscale.com 6072 resources: 6073 - vitessclusters 6074 - vitessclusters/status 6075 - vitessclusters/finalizers 6076 - vitesscells 6077 - vitesscells/status 6078 - vitesscells/finalizers 6079 - vitesskeyspaces 6080 - vitesskeyspaces/status 6081 - vitesskeyspaces/finalizers 6082 - vitessshards 6083 - vitessshards/status 6084 - vitessshards/finalizers 6085 - etcdlockservers 6086 - etcdlockservers/status 6087 - etcdlockservers/finalizers 6088 - vitessbackups 6089 - vitessbackups/status 6090 - vitessbackups/finalizers 6091 - vitessbackupstorages 6092 - vitessbackupstorages/status 6093 - vitessbackupstorages/finalizers 6094 verbs: 6095 - '*' 6096 --- 6097 apiVersion: rbac.authorization.k8s.io/v1 6098 kind: RoleBinding 6099 metadata: 6100 name: vitess-operator 6101 roleRef: 6102 apiGroup: rbac.authorization.k8s.io 6103 kind: Role 6104 name: vitess-operator 6105 subjects: 6106 - kind: ServiceAccount 6107 name: vitess-operator 6108 --- 6109 apiVersion: apps/v1 6110 kind: Deployment 6111 metadata: 6112 name: vitess-operator 6113 spec: 6114 replicas: 1 6115 selector: 6116 matchLabels: 6117 app: vitess-operator 6118 template: 6119 metadata: 6120 labels: 6121 app: vitess-operator 6122 spec: 6123 containers: 6124 - args: 6125 - --logtostderr 6126 - -v=4 6127 command: 6128 - vitess-operator 6129 env: 6130 - name: WATCH_NAMESPACE 6131 valueFrom: 6132 fieldRef: 6133 fieldPath: metadata.namespace 6134 - name: POD_NAME 6135 valueFrom: 6136 fieldRef: 6137 fieldPath: metadata.name 6138 - name: PS_OPERATOR_POD_NAMESPACE 6139 valueFrom: 6140 fieldRef: 6141 fieldPath: metadata.namespace 6142 - name: PS_OPERATOR_POD_NAME 6143 valueFrom: 6144 fieldRef: 6145 fieldPath: metadata.name 6146 - name: OPERATOR_NAME 6147 value: vitess-operator 6148 image: planetscale/vitess-operator:v2.9.2 6149 name: vitess-operator 6150 resources: 6151 limits: 6152 memory: 512Mi 6153 requests: 6154 cpu: 100m 6155 memory: 128Mi 6156 priorityClassName: vitess-operator-control-plane 6157 serviceAccountName: vitess-operator 6158 --- 6159 apiVersion: scheduling.k8s.io/v1 6160 description: The vitess-operator control plane. 6161 globalDefault: false 6162 kind: PriorityClass 6163 metadata: 6164 name: vitess-operator-control-plane 6165 value: 5000 6166 --- 6167 apiVersion: scheduling.k8s.io/v1 6168 description: Vitess components (vttablet, vtgate, vtctld, etcd) 6169 globalDefault: false 6170 kind: PriorityClass 6171 metadata: 6172 name: vitess 6173 value: 1000