@cloudfleet/sdk 0.0.1-be6a4aa → 0.0.1-c034297
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas.gen.d.ts +207 -41
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +932 -55
- package/dist/schemas.gen.js.map +1 -1
- package/dist/types.gen.d.ts +109 -33
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1741 -49
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +719 -22
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.gen.js
CHANGED
|
@@ -642,7 +642,7 @@ export const ClusterSchema = {
|
|
|
642
642
|
{
|
|
643
643
|
type: 'string',
|
|
644
644
|
format: 'uri',
|
|
645
|
-
description: 'URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.',
|
|
645
|
+
description: 'URL signed by the private CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster. (Deprecated, use endpoint_public instead)',
|
|
646
646
|
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443'
|
|
647
647
|
},
|
|
648
648
|
{
|
|
@@ -653,6 +653,22 @@ export const ClusterSchema = {
|
|
|
653
653
|
}
|
|
654
654
|
]
|
|
655
655
|
},
|
|
656
|
+
endpoint_public: {
|
|
657
|
+
anyOf: [
|
|
658
|
+
{
|
|
659
|
+
type: 'string',
|
|
660
|
+
format: 'uri',
|
|
661
|
+
description: 'URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.',
|
|
662
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
type: 'string',
|
|
666
|
+
enum: [
|
|
667
|
+
''
|
|
668
|
+
]
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
},
|
|
656
672
|
certificate_ca: {
|
|
657
673
|
type: 'string',
|
|
658
674
|
description: 'Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.',
|
|
@@ -732,15 +748,12 @@ export const FleetCreateInputSchema = {
|
|
|
732
748
|
type: 'object',
|
|
733
749
|
properties: {
|
|
734
750
|
cpu: {
|
|
735
|
-
type: '
|
|
736
|
-
format: 'float',
|
|
751
|
+
type: 'integer',
|
|
737
752
|
minimum: 0,
|
|
738
|
-
|
|
753
|
+
maximum: 100000,
|
|
754
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
739
755
|
}
|
|
740
756
|
},
|
|
741
|
-
required: [
|
|
742
|
-
'cpu'
|
|
743
|
-
],
|
|
744
757
|
additionalProperties: false,
|
|
745
758
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
746
759
|
},
|
|
@@ -748,16 +761,17 @@ export const FleetCreateInputSchema = {
|
|
|
748
761
|
type: 'object',
|
|
749
762
|
properties: {
|
|
750
763
|
enabled: {
|
|
751
|
-
type: 'boolean'
|
|
752
|
-
default: true
|
|
764
|
+
type: 'boolean'
|
|
753
765
|
},
|
|
754
766
|
project: {
|
|
755
767
|
type: 'string',
|
|
756
|
-
|
|
768
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
769
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
770
|
+
example: 'my-cloudfleet-project'
|
|
757
771
|
}
|
|
758
772
|
},
|
|
759
773
|
required: [
|
|
760
|
-
'
|
|
774
|
+
'enabled'
|
|
761
775
|
],
|
|
762
776
|
additionalProperties: false
|
|
763
777
|
},
|
|
@@ -765,16 +779,18 @@ export const FleetCreateInputSchema = {
|
|
|
765
779
|
type: 'object',
|
|
766
780
|
properties: {
|
|
767
781
|
enabled: {
|
|
768
|
-
type: 'boolean'
|
|
769
|
-
default: true
|
|
782
|
+
type: 'boolean'
|
|
770
783
|
},
|
|
771
784
|
apiKey: {
|
|
772
785
|
type: 'string',
|
|
773
|
-
|
|
786
|
+
maxLength: 64,
|
|
787
|
+
minLength: 64,
|
|
788
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
789
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
774
790
|
}
|
|
775
791
|
},
|
|
776
792
|
required: [
|
|
777
|
-
'
|
|
793
|
+
'enabled'
|
|
778
794
|
],
|
|
779
795
|
additionalProperties: false
|
|
780
796
|
},
|
|
@@ -782,19 +798,308 @@ export const FleetCreateInputSchema = {
|
|
|
782
798
|
type: 'object',
|
|
783
799
|
properties: {
|
|
784
800
|
enabled: {
|
|
785
|
-
type: 'boolean'
|
|
786
|
-
default: true
|
|
801
|
+
type: 'boolean'
|
|
787
802
|
},
|
|
788
803
|
controllerRoleArn: {
|
|
789
804
|
type: 'string',
|
|
790
|
-
|
|
805
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
806
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
807
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
791
808
|
}
|
|
792
809
|
},
|
|
793
810
|
required: [
|
|
794
|
-
'
|
|
811
|
+
'enabled'
|
|
795
812
|
],
|
|
796
813
|
additionalProperties: false
|
|
797
814
|
},
|
|
815
|
+
constraints: {
|
|
816
|
+
type: 'object',
|
|
817
|
+
properties: {
|
|
818
|
+
'karpenter.sh/capacity-type': {
|
|
819
|
+
type: 'array',
|
|
820
|
+
items: {
|
|
821
|
+
type: 'string',
|
|
822
|
+
enum: [
|
|
823
|
+
'on-demand',
|
|
824
|
+
'spot'
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
minItems: 1,
|
|
828
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
829
|
+
default: [
|
|
830
|
+
'on-demand',
|
|
831
|
+
'spot'
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
'kubernetes.io/arch': {
|
|
835
|
+
type: 'array',
|
|
836
|
+
items: {
|
|
837
|
+
type: 'string',
|
|
838
|
+
enum: [
|
|
839
|
+
'amd64',
|
|
840
|
+
'arm64'
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
minItems: 1,
|
|
844
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
845
|
+
default: [
|
|
846
|
+
'amd64'
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
'cfke.io/instance-family': {
|
|
850
|
+
type: 'array',
|
|
851
|
+
items: {
|
|
852
|
+
type: 'string',
|
|
853
|
+
enum: [
|
|
854
|
+
'a1',
|
|
855
|
+
'a2',
|
|
856
|
+
'a3',
|
|
857
|
+
'a4',
|
|
858
|
+
'c1',
|
|
859
|
+
'c2',
|
|
860
|
+
'c2d',
|
|
861
|
+
'c3',
|
|
862
|
+
'c3d',
|
|
863
|
+
'c4',
|
|
864
|
+
'c4a',
|
|
865
|
+
'c4d',
|
|
866
|
+
'c5',
|
|
867
|
+
'c5a',
|
|
868
|
+
'c5ad',
|
|
869
|
+
'c5d',
|
|
870
|
+
'c5n',
|
|
871
|
+
'c6a',
|
|
872
|
+
'c6g',
|
|
873
|
+
'c6gd',
|
|
874
|
+
'c6gn',
|
|
875
|
+
'c6i',
|
|
876
|
+
'c6id',
|
|
877
|
+
'c6in',
|
|
878
|
+
'c7a',
|
|
879
|
+
'c7g',
|
|
880
|
+
'c7gd',
|
|
881
|
+
'c7gn',
|
|
882
|
+
'c7i',
|
|
883
|
+
'c7i-flex',
|
|
884
|
+
'c8g',
|
|
885
|
+
'c8gd',
|
|
886
|
+
'cax',
|
|
887
|
+
'ccx',
|
|
888
|
+
'cpx',
|
|
889
|
+
'cx',
|
|
890
|
+
'd2',
|
|
891
|
+
'd3',
|
|
892
|
+
'd3en',
|
|
893
|
+
'dl1',
|
|
894
|
+
'dl2q',
|
|
895
|
+
'e2',
|
|
896
|
+
'f1',
|
|
897
|
+
'f2',
|
|
898
|
+
'g1',
|
|
899
|
+
'g2',
|
|
900
|
+
'g4ad',
|
|
901
|
+
'g4dn',
|
|
902
|
+
'g5',
|
|
903
|
+
'g5g',
|
|
904
|
+
'g6',
|
|
905
|
+
'g6e',
|
|
906
|
+
'gr6',
|
|
907
|
+
'h1',
|
|
908
|
+
'h3',
|
|
909
|
+
'hpc6a',
|
|
910
|
+
'hpc6id',
|
|
911
|
+
'hpc7a',
|
|
912
|
+
'hpc7g',
|
|
913
|
+
'i2',
|
|
914
|
+
'i3',
|
|
915
|
+
'i3en',
|
|
916
|
+
'i4g',
|
|
917
|
+
'i4i',
|
|
918
|
+
'i7i',
|
|
919
|
+
'i7ie',
|
|
920
|
+
'i8g',
|
|
921
|
+
'im4gn',
|
|
922
|
+
'inf1',
|
|
923
|
+
'inf2',
|
|
924
|
+
'is4gen',
|
|
925
|
+
'm1',
|
|
926
|
+
'm2',
|
|
927
|
+
'm3',
|
|
928
|
+
'm4',
|
|
929
|
+
'm5',
|
|
930
|
+
'm5a',
|
|
931
|
+
'm5ad',
|
|
932
|
+
'm5d',
|
|
933
|
+
'm5dn',
|
|
934
|
+
'm5n',
|
|
935
|
+
'm5zn',
|
|
936
|
+
'm6a',
|
|
937
|
+
'm6g',
|
|
938
|
+
'm6gd',
|
|
939
|
+
'm6i',
|
|
940
|
+
'm6id',
|
|
941
|
+
'm6idn',
|
|
942
|
+
'm6in',
|
|
943
|
+
'm7a',
|
|
944
|
+
'm7g',
|
|
945
|
+
'm7gd',
|
|
946
|
+
'm7i',
|
|
947
|
+
'm7i-flex',
|
|
948
|
+
'm8g',
|
|
949
|
+
'm8gd',
|
|
950
|
+
'n1',
|
|
951
|
+
'n2',
|
|
952
|
+
'n2d',
|
|
953
|
+
'n4',
|
|
954
|
+
'p3',
|
|
955
|
+
'p3dn',
|
|
956
|
+
'p4d',
|
|
957
|
+
'p4de',
|
|
958
|
+
'p5',
|
|
959
|
+
'p5e',
|
|
960
|
+
'p5en',
|
|
961
|
+
'p6-b200',
|
|
962
|
+
'r3',
|
|
963
|
+
'r4',
|
|
964
|
+
'r5',
|
|
965
|
+
'r5a',
|
|
966
|
+
'r5ad',
|
|
967
|
+
'r5b',
|
|
968
|
+
'r5d',
|
|
969
|
+
'r5dn',
|
|
970
|
+
'r5n',
|
|
971
|
+
'r6a',
|
|
972
|
+
'r6g',
|
|
973
|
+
'r6gd',
|
|
974
|
+
'r6i',
|
|
975
|
+
'r6id',
|
|
976
|
+
'r6idn',
|
|
977
|
+
'r6in',
|
|
978
|
+
'r7a',
|
|
979
|
+
'r7g',
|
|
980
|
+
'r7gd',
|
|
981
|
+
'r7i',
|
|
982
|
+
'r7iz',
|
|
983
|
+
'r8g',
|
|
984
|
+
'r8gd',
|
|
985
|
+
't2',
|
|
986
|
+
't2a',
|
|
987
|
+
't2d',
|
|
988
|
+
't3',
|
|
989
|
+
't3a',
|
|
990
|
+
't4g',
|
|
991
|
+
'trn1',
|
|
992
|
+
'trn1n',
|
|
993
|
+
'u-3tb1',
|
|
994
|
+
'u-6tb1',
|
|
995
|
+
'u7i-12tb',
|
|
996
|
+
'u7i-6tb',
|
|
997
|
+
'u7i-8tb',
|
|
998
|
+
'u7in-16tb',
|
|
999
|
+
'u7in-24tb',
|
|
1000
|
+
'u7in-32tb',
|
|
1001
|
+
'vt1',
|
|
1002
|
+
'x1',
|
|
1003
|
+
'x1e',
|
|
1004
|
+
'x2gd',
|
|
1005
|
+
'x2idn',
|
|
1006
|
+
'x2iedn',
|
|
1007
|
+
'x2iezn',
|
|
1008
|
+
'x4',
|
|
1009
|
+
'x8g',
|
|
1010
|
+
'z1d',
|
|
1011
|
+
'z3'
|
|
1012
|
+
]
|
|
1013
|
+
},
|
|
1014
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1015
|
+
},
|
|
1016
|
+
'topology.kubernetes.io/region': {
|
|
1017
|
+
type: 'array',
|
|
1018
|
+
items: {
|
|
1019
|
+
type: 'string',
|
|
1020
|
+
enum: [
|
|
1021
|
+
'africa-south1',
|
|
1022
|
+
'ap-northeast-1',
|
|
1023
|
+
'ap-northeast-2',
|
|
1024
|
+
'ap-northeast-3',
|
|
1025
|
+
'ap-south-1',
|
|
1026
|
+
'ap-southeast-1',
|
|
1027
|
+
'ap-southeast-2',
|
|
1028
|
+
'ash',
|
|
1029
|
+
'asia-east1',
|
|
1030
|
+
'asia-east2',
|
|
1031
|
+
'asia-northeast1',
|
|
1032
|
+
'asia-northeast2',
|
|
1033
|
+
'asia-northeast3',
|
|
1034
|
+
'asia-south1',
|
|
1035
|
+
'asia-south2',
|
|
1036
|
+
'asia-southeast1',
|
|
1037
|
+
'asia-southeast2',
|
|
1038
|
+
'australia-southeast1',
|
|
1039
|
+
'australia-southeast2',
|
|
1040
|
+
'ca-central-1',
|
|
1041
|
+
'eu-central-1',
|
|
1042
|
+
'eu-central-2',
|
|
1043
|
+
'eu-north-1',
|
|
1044
|
+
'eu-west-1',
|
|
1045
|
+
'eu-west-2',
|
|
1046
|
+
'eu-west-3',
|
|
1047
|
+
'europe-central2',
|
|
1048
|
+
'europe-north1',
|
|
1049
|
+
'europe-southwest1',
|
|
1050
|
+
'europe-west1',
|
|
1051
|
+
'europe-west10',
|
|
1052
|
+
'europe-west12',
|
|
1053
|
+
'europe-west2',
|
|
1054
|
+
'europe-west3',
|
|
1055
|
+
'europe-west4',
|
|
1056
|
+
'europe-west6',
|
|
1057
|
+
'europe-west8',
|
|
1058
|
+
'europe-west9',
|
|
1059
|
+
'fsn1',
|
|
1060
|
+
'hel1',
|
|
1061
|
+
'hil',
|
|
1062
|
+
'me-central1',
|
|
1063
|
+
'me-central2',
|
|
1064
|
+
'me-west1',
|
|
1065
|
+
'nbg1',
|
|
1066
|
+
'northamerica-northeast1',
|
|
1067
|
+
'northamerica-northeast2',
|
|
1068
|
+
'sa-east-1',
|
|
1069
|
+
'sin',
|
|
1070
|
+
'southamerica-east1',
|
|
1071
|
+
'southamerica-west1',
|
|
1072
|
+
'us-central1',
|
|
1073
|
+
'us-east-1',
|
|
1074
|
+
'us-east-2',
|
|
1075
|
+
'us-east1',
|
|
1076
|
+
'us-east4',
|
|
1077
|
+
'us-east5',
|
|
1078
|
+
'us-south1',
|
|
1079
|
+
'us-west-1',
|
|
1080
|
+
'us-west-2',
|
|
1081
|
+
'us-west1',
|
|
1082
|
+
'us-west2',
|
|
1083
|
+
'us-west3',
|
|
1084
|
+
'us-west4'
|
|
1085
|
+
]
|
|
1086
|
+
},
|
|
1087
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
additionalProperties: false,
|
|
1091
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.'
|
|
1092
|
+
},
|
|
1093
|
+
scalingProfile: {
|
|
1094
|
+
type: 'string',
|
|
1095
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1096
|
+
default: 'conservative',
|
|
1097
|
+
example: 'conservative',
|
|
1098
|
+
enum: [
|
|
1099
|
+
'aggressive',
|
|
1100
|
+
'conservative'
|
|
1101
|
+
]
|
|
1102
|
+
},
|
|
798
1103
|
id: {
|
|
799
1104
|
type: 'string',
|
|
800
1105
|
maxLength: 63,
|
|
@@ -816,15 +1121,12 @@ export const FleetSchema = {
|
|
|
816
1121
|
type: 'object',
|
|
817
1122
|
properties: {
|
|
818
1123
|
cpu: {
|
|
819
|
-
type: '
|
|
820
|
-
format: 'float',
|
|
1124
|
+
type: 'integer',
|
|
821
1125
|
minimum: 0,
|
|
822
|
-
|
|
1126
|
+
maximum: 100000,
|
|
1127
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
823
1128
|
}
|
|
824
1129
|
},
|
|
825
|
-
required: [
|
|
826
|
-
'cpu'
|
|
827
|
-
],
|
|
828
1130
|
additionalProperties: false,
|
|
829
1131
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
830
1132
|
},
|
|
@@ -832,16 +1134,17 @@ export const FleetSchema = {
|
|
|
832
1134
|
type: 'object',
|
|
833
1135
|
properties: {
|
|
834
1136
|
enabled: {
|
|
835
|
-
type: 'boolean'
|
|
836
|
-
default: true
|
|
1137
|
+
type: 'boolean'
|
|
837
1138
|
},
|
|
838
1139
|
project: {
|
|
839
1140
|
type: 'string',
|
|
840
|
-
|
|
1141
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1142
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
1143
|
+
example: 'my-cloudfleet-project'
|
|
841
1144
|
}
|
|
842
1145
|
},
|
|
843
1146
|
required: [
|
|
844
|
-
'
|
|
1147
|
+
'enabled'
|
|
845
1148
|
],
|
|
846
1149
|
additionalProperties: false
|
|
847
1150
|
},
|
|
@@ -849,16 +1152,16 @@ export const FleetSchema = {
|
|
|
849
1152
|
type: 'object',
|
|
850
1153
|
properties: {
|
|
851
1154
|
enabled: {
|
|
852
|
-
type: 'boolean'
|
|
853
|
-
default: true
|
|
1155
|
+
type: 'boolean'
|
|
854
1156
|
},
|
|
855
1157
|
apiKey: {
|
|
856
1158
|
type: 'string',
|
|
857
|
-
|
|
1159
|
+
pattern: '^\\*{64}$',
|
|
1160
|
+
description: 'Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.'
|
|
858
1161
|
}
|
|
859
1162
|
},
|
|
860
1163
|
required: [
|
|
861
|
-
'
|
|
1164
|
+
'enabled'
|
|
862
1165
|
],
|
|
863
1166
|
additionalProperties: false
|
|
864
1167
|
},
|
|
@@ -866,19 +1169,308 @@ export const FleetSchema = {
|
|
|
866
1169
|
type: 'object',
|
|
867
1170
|
properties: {
|
|
868
1171
|
enabled: {
|
|
869
|
-
type: 'boolean'
|
|
870
|
-
default: true
|
|
1172
|
+
type: 'boolean'
|
|
871
1173
|
},
|
|
872
1174
|
controllerRoleArn: {
|
|
873
1175
|
type: 'string',
|
|
874
|
-
|
|
1176
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1177
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1178
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
875
1179
|
}
|
|
876
1180
|
},
|
|
877
1181
|
required: [
|
|
878
|
-
'
|
|
1182
|
+
'enabled'
|
|
879
1183
|
],
|
|
880
1184
|
additionalProperties: false
|
|
881
1185
|
},
|
|
1186
|
+
constraints: {
|
|
1187
|
+
type: 'object',
|
|
1188
|
+
properties: {
|
|
1189
|
+
'karpenter.sh/capacity-type': {
|
|
1190
|
+
type: 'array',
|
|
1191
|
+
items: {
|
|
1192
|
+
type: 'string',
|
|
1193
|
+
enum: [
|
|
1194
|
+
'on-demand',
|
|
1195
|
+
'spot'
|
|
1196
|
+
]
|
|
1197
|
+
},
|
|
1198
|
+
minItems: 1,
|
|
1199
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1200
|
+
default: [
|
|
1201
|
+
'on-demand',
|
|
1202
|
+
'spot'
|
|
1203
|
+
]
|
|
1204
|
+
},
|
|
1205
|
+
'kubernetes.io/arch': {
|
|
1206
|
+
type: 'array',
|
|
1207
|
+
items: {
|
|
1208
|
+
type: 'string',
|
|
1209
|
+
enum: [
|
|
1210
|
+
'amd64',
|
|
1211
|
+
'arm64'
|
|
1212
|
+
]
|
|
1213
|
+
},
|
|
1214
|
+
minItems: 1,
|
|
1215
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1216
|
+
default: [
|
|
1217
|
+
'amd64'
|
|
1218
|
+
]
|
|
1219
|
+
},
|
|
1220
|
+
'cfke.io/instance-family': {
|
|
1221
|
+
type: 'array',
|
|
1222
|
+
items: {
|
|
1223
|
+
type: 'string',
|
|
1224
|
+
enum: [
|
|
1225
|
+
'a1',
|
|
1226
|
+
'a2',
|
|
1227
|
+
'a3',
|
|
1228
|
+
'a4',
|
|
1229
|
+
'c1',
|
|
1230
|
+
'c2',
|
|
1231
|
+
'c2d',
|
|
1232
|
+
'c3',
|
|
1233
|
+
'c3d',
|
|
1234
|
+
'c4',
|
|
1235
|
+
'c4a',
|
|
1236
|
+
'c4d',
|
|
1237
|
+
'c5',
|
|
1238
|
+
'c5a',
|
|
1239
|
+
'c5ad',
|
|
1240
|
+
'c5d',
|
|
1241
|
+
'c5n',
|
|
1242
|
+
'c6a',
|
|
1243
|
+
'c6g',
|
|
1244
|
+
'c6gd',
|
|
1245
|
+
'c6gn',
|
|
1246
|
+
'c6i',
|
|
1247
|
+
'c6id',
|
|
1248
|
+
'c6in',
|
|
1249
|
+
'c7a',
|
|
1250
|
+
'c7g',
|
|
1251
|
+
'c7gd',
|
|
1252
|
+
'c7gn',
|
|
1253
|
+
'c7i',
|
|
1254
|
+
'c7i-flex',
|
|
1255
|
+
'c8g',
|
|
1256
|
+
'c8gd',
|
|
1257
|
+
'cax',
|
|
1258
|
+
'ccx',
|
|
1259
|
+
'cpx',
|
|
1260
|
+
'cx',
|
|
1261
|
+
'd2',
|
|
1262
|
+
'd3',
|
|
1263
|
+
'd3en',
|
|
1264
|
+
'dl1',
|
|
1265
|
+
'dl2q',
|
|
1266
|
+
'e2',
|
|
1267
|
+
'f1',
|
|
1268
|
+
'f2',
|
|
1269
|
+
'g1',
|
|
1270
|
+
'g2',
|
|
1271
|
+
'g4ad',
|
|
1272
|
+
'g4dn',
|
|
1273
|
+
'g5',
|
|
1274
|
+
'g5g',
|
|
1275
|
+
'g6',
|
|
1276
|
+
'g6e',
|
|
1277
|
+
'gr6',
|
|
1278
|
+
'h1',
|
|
1279
|
+
'h3',
|
|
1280
|
+
'hpc6a',
|
|
1281
|
+
'hpc6id',
|
|
1282
|
+
'hpc7a',
|
|
1283
|
+
'hpc7g',
|
|
1284
|
+
'i2',
|
|
1285
|
+
'i3',
|
|
1286
|
+
'i3en',
|
|
1287
|
+
'i4g',
|
|
1288
|
+
'i4i',
|
|
1289
|
+
'i7i',
|
|
1290
|
+
'i7ie',
|
|
1291
|
+
'i8g',
|
|
1292
|
+
'im4gn',
|
|
1293
|
+
'inf1',
|
|
1294
|
+
'inf2',
|
|
1295
|
+
'is4gen',
|
|
1296
|
+
'm1',
|
|
1297
|
+
'm2',
|
|
1298
|
+
'm3',
|
|
1299
|
+
'm4',
|
|
1300
|
+
'm5',
|
|
1301
|
+
'm5a',
|
|
1302
|
+
'm5ad',
|
|
1303
|
+
'm5d',
|
|
1304
|
+
'm5dn',
|
|
1305
|
+
'm5n',
|
|
1306
|
+
'm5zn',
|
|
1307
|
+
'm6a',
|
|
1308
|
+
'm6g',
|
|
1309
|
+
'm6gd',
|
|
1310
|
+
'm6i',
|
|
1311
|
+
'm6id',
|
|
1312
|
+
'm6idn',
|
|
1313
|
+
'm6in',
|
|
1314
|
+
'm7a',
|
|
1315
|
+
'm7g',
|
|
1316
|
+
'm7gd',
|
|
1317
|
+
'm7i',
|
|
1318
|
+
'm7i-flex',
|
|
1319
|
+
'm8g',
|
|
1320
|
+
'm8gd',
|
|
1321
|
+
'n1',
|
|
1322
|
+
'n2',
|
|
1323
|
+
'n2d',
|
|
1324
|
+
'n4',
|
|
1325
|
+
'p3',
|
|
1326
|
+
'p3dn',
|
|
1327
|
+
'p4d',
|
|
1328
|
+
'p4de',
|
|
1329
|
+
'p5',
|
|
1330
|
+
'p5e',
|
|
1331
|
+
'p5en',
|
|
1332
|
+
'p6-b200',
|
|
1333
|
+
'r3',
|
|
1334
|
+
'r4',
|
|
1335
|
+
'r5',
|
|
1336
|
+
'r5a',
|
|
1337
|
+
'r5ad',
|
|
1338
|
+
'r5b',
|
|
1339
|
+
'r5d',
|
|
1340
|
+
'r5dn',
|
|
1341
|
+
'r5n',
|
|
1342
|
+
'r6a',
|
|
1343
|
+
'r6g',
|
|
1344
|
+
'r6gd',
|
|
1345
|
+
'r6i',
|
|
1346
|
+
'r6id',
|
|
1347
|
+
'r6idn',
|
|
1348
|
+
'r6in',
|
|
1349
|
+
'r7a',
|
|
1350
|
+
'r7g',
|
|
1351
|
+
'r7gd',
|
|
1352
|
+
'r7i',
|
|
1353
|
+
'r7iz',
|
|
1354
|
+
'r8g',
|
|
1355
|
+
'r8gd',
|
|
1356
|
+
't2',
|
|
1357
|
+
't2a',
|
|
1358
|
+
't2d',
|
|
1359
|
+
't3',
|
|
1360
|
+
't3a',
|
|
1361
|
+
't4g',
|
|
1362
|
+
'trn1',
|
|
1363
|
+
'trn1n',
|
|
1364
|
+
'u-3tb1',
|
|
1365
|
+
'u-6tb1',
|
|
1366
|
+
'u7i-12tb',
|
|
1367
|
+
'u7i-6tb',
|
|
1368
|
+
'u7i-8tb',
|
|
1369
|
+
'u7in-16tb',
|
|
1370
|
+
'u7in-24tb',
|
|
1371
|
+
'u7in-32tb',
|
|
1372
|
+
'vt1',
|
|
1373
|
+
'x1',
|
|
1374
|
+
'x1e',
|
|
1375
|
+
'x2gd',
|
|
1376
|
+
'x2idn',
|
|
1377
|
+
'x2iedn',
|
|
1378
|
+
'x2iezn',
|
|
1379
|
+
'x4',
|
|
1380
|
+
'x8g',
|
|
1381
|
+
'z1d',
|
|
1382
|
+
'z3'
|
|
1383
|
+
]
|
|
1384
|
+
},
|
|
1385
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1386
|
+
},
|
|
1387
|
+
'topology.kubernetes.io/region': {
|
|
1388
|
+
type: 'array',
|
|
1389
|
+
items: {
|
|
1390
|
+
type: 'string',
|
|
1391
|
+
enum: [
|
|
1392
|
+
'africa-south1',
|
|
1393
|
+
'ap-northeast-1',
|
|
1394
|
+
'ap-northeast-2',
|
|
1395
|
+
'ap-northeast-3',
|
|
1396
|
+
'ap-south-1',
|
|
1397
|
+
'ap-southeast-1',
|
|
1398
|
+
'ap-southeast-2',
|
|
1399
|
+
'ash',
|
|
1400
|
+
'asia-east1',
|
|
1401
|
+
'asia-east2',
|
|
1402
|
+
'asia-northeast1',
|
|
1403
|
+
'asia-northeast2',
|
|
1404
|
+
'asia-northeast3',
|
|
1405
|
+
'asia-south1',
|
|
1406
|
+
'asia-south2',
|
|
1407
|
+
'asia-southeast1',
|
|
1408
|
+
'asia-southeast2',
|
|
1409
|
+
'australia-southeast1',
|
|
1410
|
+
'australia-southeast2',
|
|
1411
|
+
'ca-central-1',
|
|
1412
|
+
'eu-central-1',
|
|
1413
|
+
'eu-central-2',
|
|
1414
|
+
'eu-north-1',
|
|
1415
|
+
'eu-west-1',
|
|
1416
|
+
'eu-west-2',
|
|
1417
|
+
'eu-west-3',
|
|
1418
|
+
'europe-central2',
|
|
1419
|
+
'europe-north1',
|
|
1420
|
+
'europe-southwest1',
|
|
1421
|
+
'europe-west1',
|
|
1422
|
+
'europe-west10',
|
|
1423
|
+
'europe-west12',
|
|
1424
|
+
'europe-west2',
|
|
1425
|
+
'europe-west3',
|
|
1426
|
+
'europe-west4',
|
|
1427
|
+
'europe-west6',
|
|
1428
|
+
'europe-west8',
|
|
1429
|
+
'europe-west9',
|
|
1430
|
+
'fsn1',
|
|
1431
|
+
'hel1',
|
|
1432
|
+
'hil',
|
|
1433
|
+
'me-central1',
|
|
1434
|
+
'me-central2',
|
|
1435
|
+
'me-west1',
|
|
1436
|
+
'nbg1',
|
|
1437
|
+
'northamerica-northeast1',
|
|
1438
|
+
'northamerica-northeast2',
|
|
1439
|
+
'sa-east-1',
|
|
1440
|
+
'sin',
|
|
1441
|
+
'southamerica-east1',
|
|
1442
|
+
'southamerica-west1',
|
|
1443
|
+
'us-central1',
|
|
1444
|
+
'us-east-1',
|
|
1445
|
+
'us-east-2',
|
|
1446
|
+
'us-east1',
|
|
1447
|
+
'us-east4',
|
|
1448
|
+
'us-east5',
|
|
1449
|
+
'us-south1',
|
|
1450
|
+
'us-west-1',
|
|
1451
|
+
'us-west-2',
|
|
1452
|
+
'us-west1',
|
|
1453
|
+
'us-west2',
|
|
1454
|
+
'us-west3',
|
|
1455
|
+
'us-west4'
|
|
1456
|
+
]
|
|
1457
|
+
},
|
|
1458
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
additionalProperties: false,
|
|
1462
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.'
|
|
1463
|
+
},
|
|
1464
|
+
scalingProfile: {
|
|
1465
|
+
type: 'string',
|
|
1466
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1467
|
+
default: 'conservative',
|
|
1468
|
+
example: 'conservative',
|
|
1469
|
+
enum: [
|
|
1470
|
+
'aggressive',
|
|
1471
|
+
'conservative'
|
|
1472
|
+
]
|
|
1473
|
+
},
|
|
882
1474
|
id: {
|
|
883
1475
|
type: 'string',
|
|
884
1476
|
maxLength: 63,
|
|
@@ -889,6 +1481,7 @@ export const FleetSchema = {
|
|
|
889
1481
|
}
|
|
890
1482
|
},
|
|
891
1483
|
required: [
|
|
1484
|
+
'scalingProfile',
|
|
892
1485
|
'id'
|
|
893
1486
|
],
|
|
894
1487
|
additionalProperties: false
|
|
@@ -900,15 +1493,12 @@ export const FleetUpdateInputSchema = {
|
|
|
900
1493
|
type: 'object',
|
|
901
1494
|
properties: {
|
|
902
1495
|
cpu: {
|
|
903
|
-
type: '
|
|
904
|
-
format: 'float',
|
|
1496
|
+
type: 'integer',
|
|
905
1497
|
minimum: 0,
|
|
906
|
-
|
|
1498
|
+
maximum: 100000,
|
|
1499
|
+
description: 'CPU limit in cores. Maximum 100,000.'
|
|
907
1500
|
}
|
|
908
1501
|
},
|
|
909
|
-
required: [
|
|
910
|
-
'cpu'
|
|
911
|
-
],
|
|
912
1502
|
additionalProperties: false,
|
|
913
1503
|
description: 'Limits define a set of bounds for provisioning capacity.'
|
|
914
1504
|
},
|
|
@@ -916,16 +1506,17 @@ export const FleetUpdateInputSchema = {
|
|
|
916
1506
|
type: 'object',
|
|
917
1507
|
properties: {
|
|
918
1508
|
enabled: {
|
|
919
|
-
type: 'boolean'
|
|
920
|
-
default: true
|
|
1509
|
+
type: 'boolean'
|
|
921
1510
|
},
|
|
922
1511
|
project: {
|
|
923
1512
|
type: 'string',
|
|
924
|
-
|
|
1513
|
+
pattern: '^[a-z][a-z0-9-]{4,28}[a-z0-9]$',
|
|
1514
|
+
description: 'GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.',
|
|
1515
|
+
example: 'my-cloudfleet-project'
|
|
925
1516
|
}
|
|
926
1517
|
},
|
|
927
1518
|
required: [
|
|
928
|
-
'
|
|
1519
|
+
'enabled'
|
|
929
1520
|
],
|
|
930
1521
|
additionalProperties: false
|
|
931
1522
|
},
|
|
@@ -933,16 +1524,18 @@ export const FleetUpdateInputSchema = {
|
|
|
933
1524
|
type: 'object',
|
|
934
1525
|
properties: {
|
|
935
1526
|
enabled: {
|
|
936
|
-
type: 'boolean'
|
|
937
|
-
default: true
|
|
1527
|
+
type: 'boolean'
|
|
938
1528
|
},
|
|
939
1529
|
apiKey: {
|
|
940
1530
|
type: 'string',
|
|
941
|
-
|
|
1531
|
+
maxLength: 64,
|
|
1532
|
+
minLength: 64,
|
|
1533
|
+
pattern: '^[A-Za-z0-9]+$',
|
|
1534
|
+
description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
|
|
942
1535
|
}
|
|
943
1536
|
},
|
|
944
1537
|
required: [
|
|
945
|
-
'
|
|
1538
|
+
'enabled'
|
|
946
1539
|
],
|
|
947
1540
|
additionalProperties: false
|
|
948
1541
|
},
|
|
@@ -950,20 +1543,304 @@ export const FleetUpdateInputSchema = {
|
|
|
950
1543
|
type: 'object',
|
|
951
1544
|
properties: {
|
|
952
1545
|
enabled: {
|
|
953
|
-
type: 'boolean'
|
|
954
|
-
default: true
|
|
1546
|
+
type: 'boolean'
|
|
955
1547
|
},
|
|
956
1548
|
controllerRoleArn: {
|
|
957
1549
|
type: 'string',
|
|
958
|
-
|
|
1550
|
+
pattern: '^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$',
|
|
1551
|
+
description: 'AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.',
|
|
1552
|
+
example: 'arn:aws:iam::123456789012:role/Cloudfleet'
|
|
959
1553
|
}
|
|
960
1554
|
},
|
|
961
1555
|
required: [
|
|
962
|
-
'
|
|
1556
|
+
'enabled'
|
|
963
1557
|
],
|
|
964
1558
|
additionalProperties: false
|
|
1559
|
+
},
|
|
1560
|
+
constraints: {
|
|
1561
|
+
type: 'object',
|
|
1562
|
+
properties: {
|
|
1563
|
+
'karpenter.sh/capacity-type': {
|
|
1564
|
+
type: 'array',
|
|
1565
|
+
items: {
|
|
1566
|
+
type: 'string',
|
|
1567
|
+
enum: [
|
|
1568
|
+
'on-demand',
|
|
1569
|
+
'spot'
|
|
1570
|
+
]
|
|
1571
|
+
},
|
|
1572
|
+
minItems: 1,
|
|
1573
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.'
|
|
1574
|
+
},
|
|
1575
|
+
'kubernetes.io/arch': {
|
|
1576
|
+
type: 'array',
|
|
1577
|
+
items: {
|
|
1578
|
+
type: 'string',
|
|
1579
|
+
enum: [
|
|
1580
|
+
'amd64',
|
|
1581
|
+
'arm64'
|
|
1582
|
+
]
|
|
1583
|
+
},
|
|
1584
|
+
minItems: 1,
|
|
1585
|
+
description: 'Allowed values for `kubernetes.io/arch`.'
|
|
1586
|
+
},
|
|
1587
|
+
'cfke.io/instance-family': {
|
|
1588
|
+
type: 'array',
|
|
1589
|
+
items: {
|
|
1590
|
+
type: 'string',
|
|
1591
|
+
enum: [
|
|
1592
|
+
'a1',
|
|
1593
|
+
'a2',
|
|
1594
|
+
'a3',
|
|
1595
|
+
'a4',
|
|
1596
|
+
'c1',
|
|
1597
|
+
'c2',
|
|
1598
|
+
'c2d',
|
|
1599
|
+
'c3',
|
|
1600
|
+
'c3d',
|
|
1601
|
+
'c4',
|
|
1602
|
+
'c4a',
|
|
1603
|
+
'c4d',
|
|
1604
|
+
'c5',
|
|
1605
|
+
'c5a',
|
|
1606
|
+
'c5ad',
|
|
1607
|
+
'c5d',
|
|
1608
|
+
'c5n',
|
|
1609
|
+
'c6a',
|
|
1610
|
+
'c6g',
|
|
1611
|
+
'c6gd',
|
|
1612
|
+
'c6gn',
|
|
1613
|
+
'c6i',
|
|
1614
|
+
'c6id',
|
|
1615
|
+
'c6in',
|
|
1616
|
+
'c7a',
|
|
1617
|
+
'c7g',
|
|
1618
|
+
'c7gd',
|
|
1619
|
+
'c7gn',
|
|
1620
|
+
'c7i',
|
|
1621
|
+
'c7i-flex',
|
|
1622
|
+
'c8g',
|
|
1623
|
+
'c8gd',
|
|
1624
|
+
'cax',
|
|
1625
|
+
'ccx',
|
|
1626
|
+
'cpx',
|
|
1627
|
+
'cx',
|
|
1628
|
+
'd2',
|
|
1629
|
+
'd3',
|
|
1630
|
+
'd3en',
|
|
1631
|
+
'dl1',
|
|
1632
|
+
'dl2q',
|
|
1633
|
+
'e2',
|
|
1634
|
+
'f1',
|
|
1635
|
+
'f2',
|
|
1636
|
+
'g1',
|
|
1637
|
+
'g2',
|
|
1638
|
+
'g4ad',
|
|
1639
|
+
'g4dn',
|
|
1640
|
+
'g5',
|
|
1641
|
+
'g5g',
|
|
1642
|
+
'g6',
|
|
1643
|
+
'g6e',
|
|
1644
|
+
'gr6',
|
|
1645
|
+
'h1',
|
|
1646
|
+
'h3',
|
|
1647
|
+
'hpc6a',
|
|
1648
|
+
'hpc6id',
|
|
1649
|
+
'hpc7a',
|
|
1650
|
+
'hpc7g',
|
|
1651
|
+
'i2',
|
|
1652
|
+
'i3',
|
|
1653
|
+
'i3en',
|
|
1654
|
+
'i4g',
|
|
1655
|
+
'i4i',
|
|
1656
|
+
'i7i',
|
|
1657
|
+
'i7ie',
|
|
1658
|
+
'i8g',
|
|
1659
|
+
'im4gn',
|
|
1660
|
+
'inf1',
|
|
1661
|
+
'inf2',
|
|
1662
|
+
'is4gen',
|
|
1663
|
+
'm1',
|
|
1664
|
+
'm2',
|
|
1665
|
+
'm3',
|
|
1666
|
+
'm4',
|
|
1667
|
+
'm5',
|
|
1668
|
+
'm5a',
|
|
1669
|
+
'm5ad',
|
|
1670
|
+
'm5d',
|
|
1671
|
+
'm5dn',
|
|
1672
|
+
'm5n',
|
|
1673
|
+
'm5zn',
|
|
1674
|
+
'm6a',
|
|
1675
|
+
'm6g',
|
|
1676
|
+
'm6gd',
|
|
1677
|
+
'm6i',
|
|
1678
|
+
'm6id',
|
|
1679
|
+
'm6idn',
|
|
1680
|
+
'm6in',
|
|
1681
|
+
'm7a',
|
|
1682
|
+
'm7g',
|
|
1683
|
+
'm7gd',
|
|
1684
|
+
'm7i',
|
|
1685
|
+
'm7i-flex',
|
|
1686
|
+
'm8g',
|
|
1687
|
+
'm8gd',
|
|
1688
|
+
'n1',
|
|
1689
|
+
'n2',
|
|
1690
|
+
'n2d',
|
|
1691
|
+
'n4',
|
|
1692
|
+
'p3',
|
|
1693
|
+
'p3dn',
|
|
1694
|
+
'p4d',
|
|
1695
|
+
'p4de',
|
|
1696
|
+
'p5',
|
|
1697
|
+
'p5e',
|
|
1698
|
+
'p5en',
|
|
1699
|
+
'p6-b200',
|
|
1700
|
+
'r3',
|
|
1701
|
+
'r4',
|
|
1702
|
+
'r5',
|
|
1703
|
+
'r5a',
|
|
1704
|
+
'r5ad',
|
|
1705
|
+
'r5b',
|
|
1706
|
+
'r5d',
|
|
1707
|
+
'r5dn',
|
|
1708
|
+
'r5n',
|
|
1709
|
+
'r6a',
|
|
1710
|
+
'r6g',
|
|
1711
|
+
'r6gd',
|
|
1712
|
+
'r6i',
|
|
1713
|
+
'r6id',
|
|
1714
|
+
'r6idn',
|
|
1715
|
+
'r6in',
|
|
1716
|
+
'r7a',
|
|
1717
|
+
'r7g',
|
|
1718
|
+
'r7gd',
|
|
1719
|
+
'r7i',
|
|
1720
|
+
'r7iz',
|
|
1721
|
+
'r8g',
|
|
1722
|
+
'r8gd',
|
|
1723
|
+
't2',
|
|
1724
|
+
't2a',
|
|
1725
|
+
't2d',
|
|
1726
|
+
't3',
|
|
1727
|
+
't3a',
|
|
1728
|
+
't4g',
|
|
1729
|
+
'trn1',
|
|
1730
|
+
'trn1n',
|
|
1731
|
+
'u-3tb1',
|
|
1732
|
+
'u-6tb1',
|
|
1733
|
+
'u7i-12tb',
|
|
1734
|
+
'u7i-6tb',
|
|
1735
|
+
'u7i-8tb',
|
|
1736
|
+
'u7in-16tb',
|
|
1737
|
+
'u7in-24tb',
|
|
1738
|
+
'u7in-32tb',
|
|
1739
|
+
'vt1',
|
|
1740
|
+
'x1',
|
|
1741
|
+
'x1e',
|
|
1742
|
+
'x2gd',
|
|
1743
|
+
'x2idn',
|
|
1744
|
+
'x2iedn',
|
|
1745
|
+
'x2iezn',
|
|
1746
|
+
'x4',
|
|
1747
|
+
'x8g',
|
|
1748
|
+
'z1d',
|
|
1749
|
+
'z3'
|
|
1750
|
+
]
|
|
1751
|
+
},
|
|
1752
|
+
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1753
|
+
},
|
|
1754
|
+
'topology.kubernetes.io/region': {
|
|
1755
|
+
type: 'array',
|
|
1756
|
+
items: {
|
|
1757
|
+
type: 'string',
|
|
1758
|
+
enum: [
|
|
1759
|
+
'africa-south1',
|
|
1760
|
+
'ap-northeast-1',
|
|
1761
|
+
'ap-northeast-2',
|
|
1762
|
+
'ap-northeast-3',
|
|
1763
|
+
'ap-south-1',
|
|
1764
|
+
'ap-southeast-1',
|
|
1765
|
+
'ap-southeast-2',
|
|
1766
|
+
'ash',
|
|
1767
|
+
'asia-east1',
|
|
1768
|
+
'asia-east2',
|
|
1769
|
+
'asia-northeast1',
|
|
1770
|
+
'asia-northeast2',
|
|
1771
|
+
'asia-northeast3',
|
|
1772
|
+
'asia-south1',
|
|
1773
|
+
'asia-south2',
|
|
1774
|
+
'asia-southeast1',
|
|
1775
|
+
'asia-southeast2',
|
|
1776
|
+
'australia-southeast1',
|
|
1777
|
+
'australia-southeast2',
|
|
1778
|
+
'ca-central-1',
|
|
1779
|
+
'eu-central-1',
|
|
1780
|
+
'eu-central-2',
|
|
1781
|
+
'eu-north-1',
|
|
1782
|
+
'eu-west-1',
|
|
1783
|
+
'eu-west-2',
|
|
1784
|
+
'eu-west-3',
|
|
1785
|
+
'europe-central2',
|
|
1786
|
+
'europe-north1',
|
|
1787
|
+
'europe-southwest1',
|
|
1788
|
+
'europe-west1',
|
|
1789
|
+
'europe-west10',
|
|
1790
|
+
'europe-west12',
|
|
1791
|
+
'europe-west2',
|
|
1792
|
+
'europe-west3',
|
|
1793
|
+
'europe-west4',
|
|
1794
|
+
'europe-west6',
|
|
1795
|
+
'europe-west8',
|
|
1796
|
+
'europe-west9',
|
|
1797
|
+
'fsn1',
|
|
1798
|
+
'hel1',
|
|
1799
|
+
'hil',
|
|
1800
|
+
'me-central1',
|
|
1801
|
+
'me-central2',
|
|
1802
|
+
'me-west1',
|
|
1803
|
+
'nbg1',
|
|
1804
|
+
'northamerica-northeast1',
|
|
1805
|
+
'northamerica-northeast2',
|
|
1806
|
+
'sa-east-1',
|
|
1807
|
+
'sin',
|
|
1808
|
+
'southamerica-east1',
|
|
1809
|
+
'southamerica-west1',
|
|
1810
|
+
'us-central1',
|
|
1811
|
+
'us-east-1',
|
|
1812
|
+
'us-east-2',
|
|
1813
|
+
'us-east1',
|
|
1814
|
+
'us-east4',
|
|
1815
|
+
'us-east5',
|
|
1816
|
+
'us-south1',
|
|
1817
|
+
'us-west-1',
|
|
1818
|
+
'us-west-2',
|
|
1819
|
+
'us-west1',
|
|
1820
|
+
'us-west2',
|
|
1821
|
+
'us-west3',
|
|
1822
|
+
'us-west4'
|
|
1823
|
+
]
|
|
1824
|
+
},
|
|
1825
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
additionalProperties: false,
|
|
1829
|
+
description: 'Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.'
|
|
1830
|
+
},
|
|
1831
|
+
scalingProfile: {
|
|
1832
|
+
type: 'string',
|
|
1833
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1834
|
+
example: 'conservative',
|
|
1835
|
+
enum: [
|
|
1836
|
+
'aggressive',
|
|
1837
|
+
'conservative'
|
|
1838
|
+
]
|
|
965
1839
|
}
|
|
966
1840
|
},
|
|
1841
|
+
required: [
|
|
1842
|
+
'scalingProfile'
|
|
1843
|
+
],
|
|
967
1844
|
additionalProperties: false
|
|
968
1845
|
};
|
|
969
1846
|
export const InviteSchema = {
|