@cloudfleet/sdk 0.0.1-ea442a2 → 0.0.1-ea4847c
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/@tanstack/react-query.gen.d.ts +1 -1
- package/dist/@tanstack/react-query.gen.js +1 -1
- package/dist/schemas.gen.d.ts +135 -68
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +188 -94
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +1 -1
- package/dist/sdk.gen.js +1 -1
- package/dist/types.gen.d.ts +71 -53
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +199 -181
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +100 -47
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.gen.js
CHANGED
|
@@ -440,17 +440,13 @@ export const ClusterCreateInputSchema = {
|
|
|
440
440
|
tier: {
|
|
441
441
|
type: 'string',
|
|
442
442
|
description: 'Tier of the cluster.',
|
|
443
|
+
default: 'basic',
|
|
443
444
|
example: 'pro',
|
|
444
445
|
enum: [
|
|
445
446
|
'basic',
|
|
446
447
|
'pro'
|
|
447
448
|
]
|
|
448
449
|
},
|
|
449
|
-
region: {
|
|
450
|
-
type: 'string',
|
|
451
|
-
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
452
|
-
example: 'europe-central-1a'
|
|
453
|
-
},
|
|
454
450
|
version_channel: {
|
|
455
451
|
type: 'string',
|
|
456
452
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
@@ -475,6 +471,7 @@ export const ClusterCreateInputSchema = {
|
|
|
475
471
|
gpu_sharing_strategy: {
|
|
476
472
|
type: 'string',
|
|
477
473
|
description: 'GPU sharing strategy.',
|
|
474
|
+
default: 'none',
|
|
478
475
|
example: 'none',
|
|
479
476
|
enum: [
|
|
480
477
|
'none',
|
|
@@ -484,9 +481,10 @@ export const ClusterCreateInputSchema = {
|
|
|
484
481
|
},
|
|
485
482
|
gpu_max_shared_clients_per_gpu: {
|
|
486
483
|
type: 'integer',
|
|
487
|
-
minimum:
|
|
484
|
+
minimum: 2,
|
|
488
485
|
maximum: 48,
|
|
489
486
|
description: 'Maximum number of pods that may share a single GPU.',
|
|
487
|
+
default: 4,
|
|
490
488
|
example: 10
|
|
491
489
|
},
|
|
492
490
|
cilium_socket_lb_host_namespace_only: {
|
|
@@ -495,57 +493,64 @@ export const ClusterCreateInputSchema = {
|
|
|
495
493
|
example: false
|
|
496
494
|
}
|
|
497
495
|
},
|
|
498
|
-
required: [
|
|
499
|
-
'gpu_sharing_strategy',
|
|
500
|
-
'gpu_max_shared_clients_per_gpu'
|
|
501
|
-
],
|
|
502
496
|
additionalProperties: false,
|
|
503
497
|
description: 'Cluster feature toggles.',
|
|
504
498
|
default: {
|
|
505
499
|
gpu_sharing_strategy: 'none',
|
|
506
|
-
gpu_max_shared_clients_per_gpu:
|
|
500
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
507
501
|
cilium_socket_lb_host_namespace_only: false
|
|
508
502
|
}
|
|
509
503
|
},
|
|
504
|
+
region: {
|
|
505
|
+
type: 'string',
|
|
506
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
507
|
+
example: 'europe-central-1a'
|
|
508
|
+
},
|
|
510
509
|
networking: {
|
|
511
510
|
type: 'object',
|
|
512
511
|
properties: {
|
|
513
512
|
pod_cidr: {
|
|
514
513
|
type: 'string',
|
|
515
514
|
description: 'CIDR block for pod IPs.',
|
|
516
|
-
|
|
515
|
+
default: '10.244.0.0/16'
|
|
517
516
|
},
|
|
518
517
|
service_cidr: {
|
|
519
518
|
type: 'string',
|
|
520
519
|
description: 'CIDR block for service IPs.',
|
|
521
|
-
|
|
520
|
+
default: '10.96.0.0/12'
|
|
522
521
|
},
|
|
523
522
|
dual_stack: {
|
|
524
523
|
type: 'boolean',
|
|
525
|
-
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
526
|
-
example: false
|
|
524
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
527
525
|
},
|
|
528
526
|
pod_cidr_v6: {
|
|
529
527
|
type: 'string',
|
|
530
528
|
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
531
|
-
|
|
529
|
+
default: '2001:db8:1:2::/48'
|
|
532
530
|
},
|
|
533
531
|
service_cidr_v6: {
|
|
534
532
|
type: 'string',
|
|
535
533
|
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
536
|
-
|
|
534
|
+
default: '2001:db8:1:1::/112'
|
|
537
535
|
}
|
|
538
536
|
},
|
|
539
537
|
additionalProperties: false,
|
|
540
|
-
description: 'Cluster networking configuration. Immutable after creation.'
|
|
538
|
+
description: 'Cluster networking configuration. Immutable after creation.',
|
|
539
|
+
default: {
|
|
540
|
+
pod_cidr: '10.244.0.0/16',
|
|
541
|
+
service_cidr: '10.96.0.0/12',
|
|
542
|
+
dual_stack: false,
|
|
543
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
544
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
545
|
+
}
|
|
541
546
|
}
|
|
542
547
|
},
|
|
543
548
|
required: [
|
|
544
549
|
'name',
|
|
545
|
-
'tier',
|
|
546
550
|
'region'
|
|
547
551
|
],
|
|
548
|
-
additionalProperties: false
|
|
552
|
+
additionalProperties: false,
|
|
553
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
549
554
|
};
|
|
550
555
|
export const ClusterJoinInformationSchema = {
|
|
551
556
|
type: 'object',
|
|
@@ -668,52 +673,24 @@ export const ClusterSchema = {
|
|
|
668
673
|
tier: {
|
|
669
674
|
type: 'string',
|
|
670
675
|
description: 'Tier of the cluster.',
|
|
676
|
+
default: 'basic',
|
|
671
677
|
example: 'pro',
|
|
672
678
|
enum: [
|
|
673
679
|
'basic',
|
|
674
680
|
'pro'
|
|
675
681
|
]
|
|
676
682
|
},
|
|
677
|
-
|
|
683
|
+
version_channel: {
|
|
678
684
|
type: 'string',
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
type: 'object',
|
|
684
|
-
properties: {
|
|
685
|
-
pod_cidr: {
|
|
686
|
-
type: 'string',
|
|
687
|
-
description: 'CIDR block for pod IPs.',
|
|
688
|
-
example: '10.244.0.0/16'
|
|
689
|
-
},
|
|
690
|
-
service_cidr: {
|
|
691
|
-
type: 'string',
|
|
692
|
-
description: 'CIDR block for service IPs.',
|
|
693
|
-
example: '10.96.0.0/12'
|
|
694
|
-
},
|
|
695
|
-
dual_stack: {
|
|
696
|
-
type: 'boolean',
|
|
697
|
-
description: 'Enable IPv4+IPv6 dual-stack networking.',
|
|
698
|
-
example: false
|
|
699
|
-
},
|
|
700
|
-
pod_cidr_v6: {
|
|
701
|
-
type: 'string',
|
|
702
|
-
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
703
|
-
example: 'fd00:10:244::/56'
|
|
704
|
-
},
|
|
705
|
-
service_cidr_v6: {
|
|
706
|
-
type: 'string',
|
|
707
|
-
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
708
|
-
example: 'fd00:10:96::/112'
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
|
-
additionalProperties: false,
|
|
712
|
-
description: 'Cluster networking configuration. Immutable after creation.'
|
|
685
|
+
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
686
|
+
description: 'Version of the kubernetes cluster.',
|
|
687
|
+
default: '1.x.x-cfke.x',
|
|
688
|
+
example: '1.x.x-cfke.x'
|
|
713
689
|
},
|
|
714
690
|
release_channel: {
|
|
715
691
|
type: 'string',
|
|
716
692
|
description: 'Release channel for the cluster\'s control plane.',
|
|
693
|
+
default: 'rapid',
|
|
717
694
|
example: 'rapid',
|
|
718
695
|
enum: [
|
|
719
696
|
'rapid',
|
|
@@ -727,6 +704,7 @@ export const ClusterSchema = {
|
|
|
727
704
|
gpu_sharing_strategy: {
|
|
728
705
|
type: 'string',
|
|
729
706
|
description: 'GPU sharing strategy.',
|
|
707
|
+
default: 'none',
|
|
730
708
|
example: 'none',
|
|
731
709
|
enum: [
|
|
732
710
|
'none',
|
|
@@ -736,9 +714,10 @@ export const ClusterSchema = {
|
|
|
736
714
|
},
|
|
737
715
|
gpu_max_shared_clients_per_gpu: {
|
|
738
716
|
type: 'integer',
|
|
739
|
-
minimum:
|
|
717
|
+
minimum: 2,
|
|
740
718
|
maximum: 48,
|
|
741
719
|
description: 'Maximum number of pods that may share a single GPU.',
|
|
720
|
+
default: 4,
|
|
742
721
|
example: 10
|
|
743
722
|
},
|
|
744
723
|
cilium_socket_lb_host_namespace_only: {
|
|
@@ -749,10 +728,66 @@ export const ClusterSchema = {
|
|
|
749
728
|
},
|
|
750
729
|
required: [
|
|
751
730
|
'gpu_sharing_strategy',
|
|
752
|
-
'gpu_max_shared_clients_per_gpu'
|
|
731
|
+
'gpu_max_shared_clients_per_gpu',
|
|
732
|
+
'cilium_socket_lb_host_namespace_only'
|
|
733
|
+
],
|
|
734
|
+
additionalProperties: false,
|
|
735
|
+
description: 'Cluster feature toggles.',
|
|
736
|
+
default: {
|
|
737
|
+
gpu_sharing_strategy: 'none',
|
|
738
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
739
|
+
cilium_socket_lb_host_namespace_only: false
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
region: {
|
|
743
|
+
type: 'string',
|
|
744
|
+
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
745
|
+
example: 'europe-central-1a'
|
|
746
|
+
},
|
|
747
|
+
networking: {
|
|
748
|
+
type: 'object',
|
|
749
|
+
properties: {
|
|
750
|
+
pod_cidr: {
|
|
751
|
+
type: 'string',
|
|
752
|
+
description: 'CIDR block for pod IPs.',
|
|
753
|
+
default: '10.244.0.0/16'
|
|
754
|
+
},
|
|
755
|
+
service_cidr: {
|
|
756
|
+
type: 'string',
|
|
757
|
+
description: 'CIDR block for service IPs.',
|
|
758
|
+
default: '10.96.0.0/12'
|
|
759
|
+
},
|
|
760
|
+
dual_stack: {
|
|
761
|
+
type: 'boolean',
|
|
762
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
763
|
+
},
|
|
764
|
+
pod_cidr_v6: {
|
|
765
|
+
type: 'string',
|
|
766
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
767
|
+
default: '2001:db8:1:2::/48'
|
|
768
|
+
},
|
|
769
|
+
service_cidr_v6: {
|
|
770
|
+
type: 'string',
|
|
771
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
772
|
+
default: '2001:db8:1:1::/112'
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
required: [
|
|
776
|
+
'pod_cidr',
|
|
777
|
+
'service_cidr',
|
|
778
|
+
'dual_stack',
|
|
779
|
+
'pod_cidr_v6',
|
|
780
|
+
'service_cidr_v6'
|
|
753
781
|
],
|
|
754
782
|
additionalProperties: false,
|
|
755
|
-
description: 'Cluster
|
|
783
|
+
description: 'Cluster networking configuration. Immutable after creation.',
|
|
784
|
+
default: {
|
|
785
|
+
pod_cidr: '10.244.0.0/16',
|
|
786
|
+
service_cidr: '10.96.0.0/12',
|
|
787
|
+
dual_stack: false,
|
|
788
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
789
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
790
|
+
}
|
|
756
791
|
},
|
|
757
792
|
id: {
|
|
758
793
|
type: 'string',
|
|
@@ -827,22 +862,22 @@ export const ClusterSchema = {
|
|
|
827
862
|
type: 'boolean',
|
|
828
863
|
description: 'Indicates if the cluster is ready to be used.',
|
|
829
864
|
example: true
|
|
830
|
-
},
|
|
831
|
-
version_channel: {
|
|
832
|
-
type: 'string',
|
|
833
|
-
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
834
|
-
description: 'Version of the kubernetes cluster.',
|
|
835
|
-
example: '1.x.x-cfke.x'
|
|
836
865
|
}
|
|
837
866
|
},
|
|
838
867
|
required: [
|
|
839
868
|
'name',
|
|
840
869
|
'tier',
|
|
870
|
+
'version_channel',
|
|
871
|
+
'release_channel',
|
|
872
|
+
'features',
|
|
841
873
|
'region',
|
|
874
|
+
'networking',
|
|
842
875
|
'id',
|
|
843
|
-
'status'
|
|
876
|
+
'status',
|
|
877
|
+
'ready'
|
|
844
878
|
],
|
|
845
|
-
additionalProperties: false
|
|
879
|
+
additionalProperties: false,
|
|
880
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
846
881
|
};
|
|
847
882
|
export const ClusterUpdateInputSchema = {
|
|
848
883
|
type: 'object',
|
|
@@ -858,6 +893,7 @@ export const ClusterUpdateInputSchema = {
|
|
|
858
893
|
tier: {
|
|
859
894
|
type: 'string',
|
|
860
895
|
description: 'Tier of the cluster.',
|
|
896
|
+
default: 'basic',
|
|
861
897
|
example: 'pro',
|
|
862
898
|
enum: [
|
|
863
899
|
'basic',
|
|
@@ -868,11 +904,13 @@ export const ClusterUpdateInputSchema = {
|
|
|
868
904
|
type: 'string',
|
|
869
905
|
pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
|
|
870
906
|
description: 'Version of the kubernetes cluster.',
|
|
907
|
+
default: '1.x.x-cfke.x',
|
|
871
908
|
example: '1.x.x-cfke.x'
|
|
872
909
|
},
|
|
873
910
|
release_channel: {
|
|
874
911
|
type: 'string',
|
|
875
912
|
description: 'Release channel for the cluster\'s control plane.',
|
|
913
|
+
default: 'rapid',
|
|
876
914
|
example: 'rapid',
|
|
877
915
|
enum: [
|
|
878
916
|
'rapid',
|
|
@@ -886,6 +924,7 @@ export const ClusterUpdateInputSchema = {
|
|
|
886
924
|
gpu_sharing_strategy: {
|
|
887
925
|
type: 'string',
|
|
888
926
|
description: 'GPU sharing strategy.',
|
|
927
|
+
default: 'none',
|
|
889
928
|
example: 'none',
|
|
890
929
|
enum: [
|
|
891
930
|
'none',
|
|
@@ -895,9 +934,10 @@ export const ClusterUpdateInputSchema = {
|
|
|
895
934
|
},
|
|
896
935
|
gpu_max_shared_clients_per_gpu: {
|
|
897
936
|
type: 'integer',
|
|
898
|
-
minimum:
|
|
937
|
+
minimum: 2,
|
|
899
938
|
maximum: 48,
|
|
900
939
|
description: 'Maximum number of pods that may share a single GPU.',
|
|
940
|
+
default: 4,
|
|
901
941
|
example: 10
|
|
902
942
|
},
|
|
903
943
|
cilium_socket_lb_host_namespace_only: {
|
|
@@ -906,18 +946,20 @@ export const ClusterUpdateInputSchema = {
|
|
|
906
946
|
example: false
|
|
907
947
|
}
|
|
908
948
|
},
|
|
909
|
-
required: [
|
|
910
|
-
'gpu_sharing_strategy',
|
|
911
|
-
'gpu_max_shared_clients_per_gpu'
|
|
912
|
-
],
|
|
913
949
|
additionalProperties: false,
|
|
914
|
-
description: 'Cluster feature toggles.'
|
|
950
|
+
description: 'Cluster feature toggles.',
|
|
951
|
+
default: {
|
|
952
|
+
gpu_sharing_strategy: 'none',
|
|
953
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
954
|
+
cilium_socket_lb_host_namespace_only: false
|
|
955
|
+
}
|
|
915
956
|
}
|
|
916
957
|
},
|
|
917
958
|
required: [
|
|
918
|
-
'
|
|
959
|
+
'name'
|
|
919
960
|
],
|
|
920
|
-
additionalProperties: false
|
|
961
|
+
additionalProperties: false,
|
|
962
|
+
description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
921
963
|
};
|
|
922
964
|
export const FleetCreateInputSchema = {
|
|
923
965
|
type: 'object',
|
|
@@ -1189,7 +1231,8 @@ export const FleetCreateInputSchema = {
|
|
|
1189
1231
|
'z3'
|
|
1190
1232
|
]
|
|
1191
1233
|
},
|
|
1192
|
-
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1234
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1235
|
+
default: []
|
|
1193
1236
|
},
|
|
1194
1237
|
'topology.kubernetes.io/region': {
|
|
1195
1238
|
type: 'array',
|
|
@@ -1262,15 +1305,27 @@ export const FleetCreateInputSchema = {
|
|
|
1262
1305
|
'us-west4'
|
|
1263
1306
|
]
|
|
1264
1307
|
},
|
|
1265
|
-
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1308
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1309
|
+
default: []
|
|
1266
1310
|
}
|
|
1267
1311
|
},
|
|
1268
1312
|
additionalProperties: false,
|
|
1269
|
-
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.
|
|
1313
|
+
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.',
|
|
1314
|
+
default: {
|
|
1315
|
+
'karpenter.sh/capacity-type': [
|
|
1316
|
+
'on-demand',
|
|
1317
|
+
'spot'
|
|
1318
|
+
],
|
|
1319
|
+
'kubernetes.io/arch': [
|
|
1320
|
+
'amd64'
|
|
1321
|
+
],
|
|
1322
|
+
'cfke.io/instance-family': [],
|
|
1323
|
+
'topology.kubernetes.io/region': []
|
|
1324
|
+
}
|
|
1270
1325
|
},
|
|
1271
1326
|
scalingProfile: {
|
|
1272
1327
|
type: 'string',
|
|
1273
|
-
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1328
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
1274
1329
|
default: 'conservative',
|
|
1275
1330
|
example: 'conservative',
|
|
1276
1331
|
enum: [
|
|
@@ -1290,7 +1345,8 @@ export const FleetCreateInputSchema = {
|
|
|
1290
1345
|
required: [
|
|
1291
1346
|
'id'
|
|
1292
1347
|
],
|
|
1293
|
-
additionalProperties: false
|
|
1348
|
+
additionalProperties: false,
|
|
1349
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
1294
1350
|
};
|
|
1295
1351
|
export const FleetSchema = {
|
|
1296
1352
|
type: 'object',
|
|
@@ -1560,7 +1616,8 @@ export const FleetSchema = {
|
|
|
1560
1616
|
'z3'
|
|
1561
1617
|
]
|
|
1562
1618
|
},
|
|
1563
|
-
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1619
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1620
|
+
default: []
|
|
1564
1621
|
},
|
|
1565
1622
|
'topology.kubernetes.io/region': {
|
|
1566
1623
|
type: 'array',
|
|
@@ -1633,15 +1690,31 @@ export const FleetSchema = {
|
|
|
1633
1690
|
'us-west4'
|
|
1634
1691
|
]
|
|
1635
1692
|
},
|
|
1636
|
-
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1693
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1694
|
+
default: []
|
|
1637
1695
|
}
|
|
1638
1696
|
},
|
|
1697
|
+
required: [
|
|
1698
|
+
'karpenter.sh/capacity-type',
|
|
1699
|
+
'kubernetes.io/arch'
|
|
1700
|
+
],
|
|
1639
1701
|
additionalProperties: false,
|
|
1640
|
-
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.
|
|
1702
|
+
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.',
|
|
1703
|
+
default: {
|
|
1704
|
+
'karpenter.sh/capacity-type': [
|
|
1705
|
+
'on-demand',
|
|
1706
|
+
'spot'
|
|
1707
|
+
],
|
|
1708
|
+
'kubernetes.io/arch': [
|
|
1709
|
+
'amd64'
|
|
1710
|
+
],
|
|
1711
|
+
'cfke.io/instance-family': [],
|
|
1712
|
+
'topology.kubernetes.io/region': []
|
|
1713
|
+
}
|
|
1641
1714
|
},
|
|
1642
1715
|
scalingProfile: {
|
|
1643
1716
|
type: 'string',
|
|
1644
|
-
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
1717
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
1645
1718
|
default: 'conservative',
|
|
1646
1719
|
example: 'conservative',
|
|
1647
1720
|
enum: [
|
|
@@ -1679,13 +1752,15 @@ export const FleetSchema = {
|
|
|
1679
1752
|
}
|
|
1680
1753
|
},
|
|
1681
1754
|
required: [
|
|
1755
|
+
'constraints',
|
|
1682
1756
|
'scalingProfile',
|
|
1683
1757
|
'id',
|
|
1684
1758
|
'ready',
|
|
1685
1759
|
'created_at',
|
|
1686
1760
|
'updated_at'
|
|
1687
1761
|
],
|
|
1688
|
-
additionalProperties: false
|
|
1762
|
+
additionalProperties: false,
|
|
1763
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
1689
1764
|
};
|
|
1690
1765
|
export const FleetUpdateInputSchema = {
|
|
1691
1766
|
type: 'object',
|
|
@@ -1771,7 +1846,11 @@ export const FleetUpdateInputSchema = {
|
|
|
1771
1846
|
]
|
|
1772
1847
|
},
|
|
1773
1848
|
minItems: 1,
|
|
1774
|
-
description: 'Allowed values for `karpenter.sh/capacity-type`.'
|
|
1849
|
+
description: 'Allowed values for `karpenter.sh/capacity-type`.',
|
|
1850
|
+
default: [
|
|
1851
|
+
'on-demand',
|
|
1852
|
+
'spot'
|
|
1853
|
+
]
|
|
1775
1854
|
},
|
|
1776
1855
|
'kubernetes.io/arch': {
|
|
1777
1856
|
type: 'array',
|
|
@@ -1783,7 +1862,10 @@ export const FleetUpdateInputSchema = {
|
|
|
1783
1862
|
]
|
|
1784
1863
|
},
|
|
1785
1864
|
minItems: 1,
|
|
1786
|
-
description: 'Allowed values for `kubernetes.io/arch`.'
|
|
1865
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1866
|
+
default: [
|
|
1867
|
+
'amd64'
|
|
1868
|
+
]
|
|
1787
1869
|
},
|
|
1788
1870
|
'cfke.io/instance-family': {
|
|
1789
1871
|
type: 'array',
|
|
@@ -1950,7 +2032,8 @@ export const FleetUpdateInputSchema = {
|
|
|
1950
2032
|
'z3'
|
|
1951
2033
|
]
|
|
1952
2034
|
},
|
|
1953
|
-
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
2035
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
2036
|
+
default: []
|
|
1954
2037
|
},
|
|
1955
2038
|
'topology.kubernetes.io/region': {
|
|
1956
2039
|
type: 'array',
|
|
@@ -2023,15 +2106,28 @@ export const FleetUpdateInputSchema = {
|
|
|
2023
2106
|
'us-west4'
|
|
2024
2107
|
]
|
|
2025
2108
|
},
|
|
2026
|
-
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
2109
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
2110
|
+
default: []
|
|
2027
2111
|
}
|
|
2028
2112
|
},
|
|
2029
2113
|
additionalProperties: false,
|
|
2030
|
-
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.
|
|
2114
|
+
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.',
|
|
2115
|
+
default: {
|
|
2116
|
+
'karpenter.sh/capacity-type': [
|
|
2117
|
+
'on-demand',
|
|
2118
|
+
'spot'
|
|
2119
|
+
],
|
|
2120
|
+
'kubernetes.io/arch': [
|
|
2121
|
+
'amd64'
|
|
2122
|
+
],
|
|
2123
|
+
'cfke.io/instance-family': [],
|
|
2124
|
+
'topology.kubernetes.io/region': []
|
|
2125
|
+
}
|
|
2031
2126
|
},
|
|
2032
2127
|
scalingProfile: {
|
|
2033
2128
|
type: 'string',
|
|
2034
|
-
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
|
|
2129
|
+
description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).',
|
|
2130
|
+
default: 'conservative',
|
|
2035
2131
|
example: 'conservative',
|
|
2036
2132
|
enum: [
|
|
2037
2133
|
'aggressive',
|
|
@@ -2039,10 +2135,8 @@ export const FleetUpdateInputSchema = {
|
|
|
2039
2135
|
]
|
|
2040
2136
|
}
|
|
2041
2137
|
},
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
],
|
|
2045
|
-
additionalProperties: false
|
|
2138
|
+
additionalProperties: false,
|
|
2139
|
+
description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
|
|
2046
2140
|
};
|
|
2047
2141
|
export const InviteCreateInputSchema = {
|
|
2048
2142
|
type: 'object',
|