@cloudfleet/sdk 0.0.1-eb7ee45 → 0.0.1-ec8cbf3

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.
@@ -440,17 +440,14 @@ 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
- 'pro'
447
+ 'pro',
448
+ 'enterprise'
447
449
  ]
448
450
  },
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
451
  version_channel: {
455
452
  type: 'string',
456
453
  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 +472,7 @@ export const ClusterCreateInputSchema = {
475
472
  gpu_sharing_strategy: {
476
473
  type: 'string',
477
474
  description: 'GPU sharing strategy.',
475
+ default: 'none',
478
476
  example: 'none',
479
477
  enum: [
480
478
  'none',
@@ -484,9 +482,10 @@ export const ClusterCreateInputSchema = {
484
482
  },
485
483
  gpu_max_shared_clients_per_gpu: {
486
484
  type: 'integer',
487
- minimum: 1,
485
+ minimum: 2,
488
486
  maximum: 48,
489
487
  description: 'Maximum number of pods that may share a single GPU.',
488
+ default: 4,
490
489
  example: 10
491
490
  },
492
491
  cilium_socket_lb_host_namespace_only: {
@@ -495,57 +494,64 @@ export const ClusterCreateInputSchema = {
495
494
  example: false
496
495
  }
497
496
  },
498
- required: [
499
- 'gpu_sharing_strategy',
500
- 'gpu_max_shared_clients_per_gpu'
501
- ],
502
497
  additionalProperties: false,
503
498
  description: 'Cluster feature toggles.',
504
499
  default: {
505
500
  gpu_sharing_strategy: 'none',
506
- gpu_max_shared_clients_per_gpu: 10,
501
+ gpu_max_shared_clients_per_gpu: 4,
507
502
  cilium_socket_lb_host_namespace_only: false
508
503
  }
509
504
  },
505
+ region: {
506
+ type: 'string',
507
+ description: 'Cloudfleet control plane region. This field can not be updated after creation.',
508
+ example: 'europe-central-1a'
509
+ },
510
510
  networking: {
511
511
  type: 'object',
512
512
  properties: {
513
513
  pod_cidr: {
514
514
  type: 'string',
515
515
  description: 'CIDR block for pod IPs.',
516
- example: '10.244.0.0/16'
516
+ default: '10.244.0.0/16'
517
517
  },
518
518
  service_cidr: {
519
519
  type: 'string',
520
520
  description: 'CIDR block for service IPs.',
521
- example: '10.96.0.0/12'
521
+ default: '10.96.0.0/12'
522
522
  },
523
523
  dual_stack: {
524
524
  type: 'boolean',
525
- description: 'Enable IPv4+IPv6 dual-stack networking.',
526
- example: false
525
+ description: 'Enable IPv4+IPv6 dual-stack networking.'
527
526
  },
528
527
  pod_cidr_v6: {
529
528
  type: 'string',
530
529
  description: 'IPv6 pod CIDR. Requires dual_stack.',
531
- example: 'fd00:10:244::/56'
530
+ default: '2001:db8:1:2::/48'
532
531
  },
533
532
  service_cidr_v6: {
534
533
  type: 'string',
535
534
  description: 'IPv6 service CIDR. Requires dual_stack.',
536
- example: 'fd00:10:96::/112'
535
+ default: '2001:db8:1:1::/112'
537
536
  }
538
537
  },
539
538
  additionalProperties: false,
540
- description: 'Cluster networking configuration. Immutable after creation.'
539
+ description: 'Cluster networking configuration. Immutable after creation.',
540
+ default: {
541
+ pod_cidr: '10.244.0.0/16',
542
+ service_cidr: '10.96.0.0/12',
543
+ dual_stack: false,
544
+ pod_cidr_v6: '2001:db8:1:2::/48',
545
+ service_cidr_v6: '2001:db8:1:1::/112'
546
+ }
541
547
  }
542
548
  },
543
549
  required: [
544
550
  'name',
545
- 'tier',
546
551
  'region'
547
552
  ],
548
- additionalProperties: false
553
+ additionalProperties: false,
554
+ description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
549
555
  };
550
556
  export const ClusterJoinInformationSchema = {
551
557
  type: 'object',
@@ -668,52 +674,25 @@ export const ClusterSchema = {
668
674
  tier: {
669
675
  type: 'string',
670
676
  description: 'Tier of the cluster.',
677
+ default: 'basic',
671
678
  example: 'pro',
672
679
  enum: [
673
680
  'basic',
674
- 'pro'
681
+ 'pro',
682
+ 'enterprise'
675
683
  ]
676
684
  },
677
- region: {
685
+ version_channel: {
678
686
  type: 'string',
679
- description: 'Cloudfleet control plane region. This field can not be updated after creation.',
680
- example: 'europe-central-1a'
681
- },
682
- networking: {
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.'
687
+ 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-]+)*))?$',
688
+ description: 'Version of the kubernetes cluster.',
689
+ default: '1.x.x-cfke.x',
690
+ example: '1.x.x-cfke.x'
713
691
  },
714
692
  release_channel: {
715
693
  type: 'string',
716
694
  description: 'Release channel for the cluster\'s control plane.',
695
+ default: 'rapid',
717
696
  example: 'rapid',
718
697
  enum: [
719
698
  'rapid',
@@ -727,6 +706,7 @@ export const ClusterSchema = {
727
706
  gpu_sharing_strategy: {
728
707
  type: 'string',
729
708
  description: 'GPU sharing strategy.',
709
+ default: 'none',
730
710
  example: 'none',
731
711
  enum: [
732
712
  'none',
@@ -736,9 +716,10 @@ export const ClusterSchema = {
736
716
  },
737
717
  gpu_max_shared_clients_per_gpu: {
738
718
  type: 'integer',
739
- minimum: 1,
719
+ minimum: 2,
740
720
  maximum: 48,
741
721
  description: 'Maximum number of pods that may share a single GPU.',
722
+ default: 4,
742
723
  example: 10
743
724
  },
744
725
  cilium_socket_lb_host_namespace_only: {
@@ -749,10 +730,66 @@ export const ClusterSchema = {
749
730
  },
750
731
  required: [
751
732
  'gpu_sharing_strategy',
752
- 'gpu_max_shared_clients_per_gpu'
733
+ 'gpu_max_shared_clients_per_gpu',
734
+ 'cilium_socket_lb_host_namespace_only'
735
+ ],
736
+ additionalProperties: false,
737
+ description: 'Cluster feature toggles.',
738
+ default: {
739
+ gpu_sharing_strategy: 'none',
740
+ gpu_max_shared_clients_per_gpu: 4,
741
+ cilium_socket_lb_host_namespace_only: false
742
+ }
743
+ },
744
+ region: {
745
+ type: 'string',
746
+ description: 'Cloudfleet control plane region. This field can not be updated after creation.',
747
+ example: 'europe-central-1a'
748
+ },
749
+ networking: {
750
+ type: 'object',
751
+ properties: {
752
+ pod_cidr: {
753
+ type: 'string',
754
+ description: 'CIDR block for pod IPs.',
755
+ default: '10.244.0.0/16'
756
+ },
757
+ service_cidr: {
758
+ type: 'string',
759
+ description: 'CIDR block for service IPs.',
760
+ default: '10.96.0.0/12'
761
+ },
762
+ dual_stack: {
763
+ type: 'boolean',
764
+ description: 'Enable IPv4+IPv6 dual-stack networking.'
765
+ },
766
+ pod_cidr_v6: {
767
+ type: 'string',
768
+ description: 'IPv6 pod CIDR. Requires dual_stack.',
769
+ default: '2001:db8:1:2::/48'
770
+ },
771
+ service_cidr_v6: {
772
+ type: 'string',
773
+ description: 'IPv6 service CIDR. Requires dual_stack.',
774
+ default: '2001:db8:1:1::/112'
775
+ }
776
+ },
777
+ required: [
778
+ 'pod_cidr',
779
+ 'service_cidr',
780
+ 'dual_stack',
781
+ 'pod_cidr_v6',
782
+ 'service_cidr_v6'
753
783
  ],
754
784
  additionalProperties: false,
755
- description: 'Cluster feature toggles.'
785
+ description: 'Cluster networking configuration. Immutable after creation.',
786
+ default: {
787
+ pod_cidr: '10.244.0.0/16',
788
+ service_cidr: '10.96.0.0/12',
789
+ dual_stack: false,
790
+ pod_cidr_v6: '2001:db8:1:2::/48',
791
+ service_cidr_v6: '2001:db8:1:1::/112'
792
+ }
756
793
  },
757
794
  id: {
758
795
  type: 'string',
@@ -827,22 +864,22 @@ export const ClusterSchema = {
827
864
  type: 'boolean',
828
865
  description: 'Indicates if the cluster is ready to be used.',
829
866
  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
867
  }
837
868
  },
838
869
  required: [
839
870
  'name',
840
871
  'tier',
872
+ 'version_channel',
873
+ 'release_channel',
874
+ 'features',
841
875
  'region',
876
+ 'networking',
842
877
  'id',
843
- 'status'
878
+ 'status',
879
+ 'ready'
844
880
  ],
845
- additionalProperties: false
881
+ additionalProperties: false,
882
+ description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
846
883
  };
847
884
  export const ClusterUpdateInputSchema = {
848
885
  type: 'object',
@@ -858,21 +895,25 @@ export const ClusterUpdateInputSchema = {
858
895
  tier: {
859
896
  type: 'string',
860
897
  description: 'Tier of the cluster.',
898
+ default: 'basic',
861
899
  example: 'pro',
862
900
  enum: [
863
901
  'basic',
864
- 'pro'
902
+ 'pro',
903
+ 'enterprise'
865
904
  ]
866
905
  },
867
906
  version_channel: {
868
907
  type: 'string',
869
908
  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
909
  description: 'Version of the kubernetes cluster.',
910
+ default: '1.x.x-cfke.x',
871
911
  example: '1.x.x-cfke.x'
872
912
  },
873
913
  release_channel: {
874
914
  type: 'string',
875
915
  description: 'Release channel for the cluster\'s control plane.',
916
+ default: 'rapid',
876
917
  example: 'rapid',
877
918
  enum: [
878
919
  'rapid',
@@ -886,6 +927,7 @@ export const ClusterUpdateInputSchema = {
886
927
  gpu_sharing_strategy: {
887
928
  type: 'string',
888
929
  description: 'GPU sharing strategy.',
930
+ default: 'none',
889
931
  example: 'none',
890
932
  enum: [
891
933
  'none',
@@ -895,9 +937,10 @@ export const ClusterUpdateInputSchema = {
895
937
  },
896
938
  gpu_max_shared_clients_per_gpu: {
897
939
  type: 'integer',
898
- minimum: 1,
940
+ minimum: 2,
899
941
  maximum: 48,
900
942
  description: 'Maximum number of pods that may share a single GPU.',
943
+ default: 4,
901
944
  example: 10
902
945
  },
903
946
  cilium_socket_lb_host_namespace_only: {
@@ -906,18 +949,20 @@ export const ClusterUpdateInputSchema = {
906
949
  example: false
907
950
  }
908
951
  },
909
- required: [
910
- 'gpu_sharing_strategy',
911
- 'gpu_max_shared_clients_per_gpu'
912
- ],
913
952
  additionalProperties: false,
914
- description: 'Cluster feature toggles.'
953
+ description: 'Cluster feature toggles.',
954
+ default: {
955
+ gpu_sharing_strategy: 'none',
956
+ gpu_max_shared_clients_per_gpu: 4,
957
+ cilium_socket_lb_host_namespace_only: false
958
+ }
915
959
  }
916
960
  },
917
961
  required: [
918
- 'tier'
962
+ 'name'
919
963
  ],
920
- additionalProperties: false
964
+ additionalProperties: false,
965
+ description: 'Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
921
966
  };
922
967
  export const FleetCreateInputSchema = {
923
968
  type: 'object',
@@ -963,8 +1008,8 @@ export const FleetCreateInputSchema = {
963
1008
  type: 'string',
964
1009
  maxLength: 64,
965
1010
  minLength: 64,
966
- pattern: '^[A-Za-z0-9]+$',
967
- description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
1011
+ pattern: '^([A-Za-z0-9]{64}|\\*{64})$',
1012
+ description: 'Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.'
968
1013
  }
969
1014
  },
970
1015
  required: [
@@ -1189,7 +1234,8 @@ export const FleetCreateInputSchema = {
1189
1234
  'z3'
1190
1235
  ]
1191
1236
  },
1192
- description: 'Allowed values for `cfke.io/instance-family`.'
1237
+ description: 'Allowed values for `cfke.io/instance-family`.',
1238
+ default: []
1193
1239
  },
1194
1240
  'topology.kubernetes.io/region': {
1195
1241
  type: 'array',
@@ -1262,15 +1308,27 @@ export const FleetCreateInputSchema = {
1262
1308
  'us-west4'
1263
1309
  ]
1264
1310
  },
1265
- description: 'Allowed values for `topology.kubernetes.io/region`.'
1311
+ description: 'Allowed values for `topology.kubernetes.io/region`.',
1312
+ default: []
1266
1313
  }
1267
1314
  },
1268
1315
  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. Omit a field to place no restriction on that key.'
1316
+ 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.',
1317
+ default: {
1318
+ 'karpenter.sh/capacity-type': [
1319
+ 'on-demand',
1320
+ 'spot'
1321
+ ],
1322
+ 'kubernetes.io/arch': [
1323
+ 'amd64'
1324
+ ],
1325
+ 'cfke.io/instance-family': [],
1326
+ 'topology.kubernetes.io/region': []
1327
+ }
1270
1328
  },
1271
1329
  scalingProfile: {
1272
1330
  type: 'string',
1273
- description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
1331
+ 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
1332
  default: 'conservative',
1275
1333
  example: 'conservative',
1276
1334
  enum: [
@@ -1290,7 +1348,8 @@ export const FleetCreateInputSchema = {
1290
1348
  required: [
1291
1349
  'id'
1292
1350
  ],
1293
- additionalProperties: false
1351
+ additionalProperties: false,
1352
+ description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
1294
1353
  };
1295
1354
  export const FleetSchema = {
1296
1355
  type: 'object',
@@ -1560,7 +1619,8 @@ export const FleetSchema = {
1560
1619
  'z3'
1561
1620
  ]
1562
1621
  },
1563
- description: 'Allowed values for `cfke.io/instance-family`.'
1622
+ description: 'Allowed values for `cfke.io/instance-family`.',
1623
+ default: []
1564
1624
  },
1565
1625
  'topology.kubernetes.io/region': {
1566
1626
  type: 'array',
@@ -1633,15 +1693,31 @@ export const FleetSchema = {
1633
1693
  'us-west4'
1634
1694
  ]
1635
1695
  },
1636
- description: 'Allowed values for `topology.kubernetes.io/region`.'
1696
+ description: 'Allowed values for `topology.kubernetes.io/region`.',
1697
+ default: []
1637
1698
  }
1638
1699
  },
1700
+ required: [
1701
+ 'karpenter.sh/capacity-type',
1702
+ 'kubernetes.io/arch'
1703
+ ],
1639
1704
  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. Omit a field to place no restriction on that key.'
1705
+ 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.',
1706
+ default: {
1707
+ 'karpenter.sh/capacity-type': [
1708
+ 'on-demand',
1709
+ 'spot'
1710
+ ],
1711
+ 'kubernetes.io/arch': [
1712
+ 'amd64'
1713
+ ],
1714
+ 'cfke.io/instance-family': [],
1715
+ 'topology.kubernetes.io/region': []
1716
+ }
1641
1717
  },
1642
1718
  scalingProfile: {
1643
1719
  type: 'string',
1644
- description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
1720
+ 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
1721
  default: 'conservative',
1646
1722
  example: 'conservative',
1647
1723
  enum: [
@@ -1679,13 +1755,15 @@ export const FleetSchema = {
1679
1755
  }
1680
1756
  },
1681
1757
  required: [
1758
+ 'constraints',
1682
1759
  'scalingProfile',
1683
1760
  'id',
1684
1761
  'ready',
1685
1762
  'created_at',
1686
1763
  'updated_at'
1687
1764
  ],
1688
- additionalProperties: false
1765
+ additionalProperties: false,
1766
+ description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
1689
1767
  };
1690
1768
  export const FleetUpdateInputSchema = {
1691
1769
  type: 'object',
@@ -1731,8 +1809,8 @@ export const FleetUpdateInputSchema = {
1731
1809
  type: 'string',
1732
1810
  maxLength: 64,
1733
1811
  minLength: 64,
1734
- pattern: '^[A-Za-z0-9]+$',
1735
- description: 'Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.'
1812
+ pattern: '^([A-Za-z0-9]{64}|\\*{64})$',
1813
+ description: 'Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.'
1736
1814
  }
1737
1815
  },
1738
1816
  required: [
@@ -1771,7 +1849,11 @@ export const FleetUpdateInputSchema = {
1771
1849
  ]
1772
1850
  },
1773
1851
  minItems: 1,
1774
- description: 'Allowed values for `karpenter.sh/capacity-type`.'
1852
+ description: 'Allowed values for `karpenter.sh/capacity-type`.',
1853
+ default: [
1854
+ 'on-demand',
1855
+ 'spot'
1856
+ ]
1775
1857
  },
1776
1858
  'kubernetes.io/arch': {
1777
1859
  type: 'array',
@@ -1783,7 +1865,10 @@ export const FleetUpdateInputSchema = {
1783
1865
  ]
1784
1866
  },
1785
1867
  minItems: 1,
1786
- description: 'Allowed values for `kubernetes.io/arch`.'
1868
+ description: 'Allowed values for `kubernetes.io/arch`.',
1869
+ default: [
1870
+ 'amd64'
1871
+ ]
1787
1872
  },
1788
1873
  'cfke.io/instance-family': {
1789
1874
  type: 'array',
@@ -1950,7 +2035,8 @@ export const FleetUpdateInputSchema = {
1950
2035
  'z3'
1951
2036
  ]
1952
2037
  },
1953
- description: 'Allowed values for `cfke.io/instance-family`.'
2038
+ description: 'Allowed values for `cfke.io/instance-family`.',
2039
+ default: []
1954
2040
  },
1955
2041
  'topology.kubernetes.io/region': {
1956
2042
  type: 'array',
@@ -2023,15 +2109,28 @@ export const FleetUpdateInputSchema = {
2023
2109
  'us-west4'
2024
2110
  ]
2025
2111
  },
2026
- description: 'Allowed values for `topology.kubernetes.io/region`.'
2112
+ description: 'Allowed values for `topology.kubernetes.io/region`.',
2113
+ default: []
2027
2114
  }
2028
2115
  },
2029
2116
  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. Omit a field to place no restriction on that key.'
2117
+ 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.',
2118
+ default: {
2119
+ 'karpenter.sh/capacity-type': [
2120
+ 'on-demand',
2121
+ 'spot'
2122
+ ],
2123
+ 'kubernetes.io/arch': [
2124
+ 'amd64'
2125
+ ],
2126
+ 'cfke.io/instance-family': [],
2127
+ 'topology.kubernetes.io/region': []
2128
+ }
2031
2129
  },
2032
2130
  scalingProfile: {
2033
2131
  type: 'string',
2034
- description: 'Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.',
2132
+ 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`).',
2133
+ default: 'conservative',
2035
2134
  example: 'conservative',
2036
2135
  enum: [
2037
2136
  'aggressive',
@@ -2039,10 +2138,8 @@ export const FleetUpdateInputSchema = {
2039
2138
  ]
2040
2139
  }
2041
2140
  },
2042
- required: [
2043
- 'scalingProfile'
2044
- ],
2045
- additionalProperties: false
2141
+ additionalProperties: false,
2142
+ description: 'Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.'
2046
2143
  };
2047
2144
  export const InviteCreateInputSchema = {
2048
2145
  type: 'object',
@@ -2450,6 +2547,17 @@ export const OrganizationSchema = {
2450
2547
  description: 'Available number of Pro clusters that can be created.',
2451
2548
  example: 999
2452
2549
  },
2550
+ enterprise_clusters_max: {
2551
+ type: 'integer',
2552
+ minimum: 0,
2553
+ description: 'Maximum number of Enterprise clusters that can be created.',
2554
+ example: 999
2555
+ },
2556
+ enterprise_clusters_available: {
2557
+ type: 'integer',
2558
+ description: 'Available number of Enterprise clusters that can be created.',
2559
+ example: 999
2560
+ },
2453
2561
  fleets_max: {
2454
2562
  type: 'integer',
2455
2563
  minimum: 0,
@@ -2511,6 +2619,8 @@ export const OrganizationSchema = {
2511
2619
  'basic_clusters_available',
2512
2620
  'pro_clusters_max',
2513
2621
  'pro_clusters_available',
2622
+ 'enterprise_clusters_max',
2623
+ 'enterprise_clusters_available',
2514
2624
  'fleets_max',
2515
2625
  'cluster_tiers',
2516
2626
  'regions',
@@ -2657,6 +2767,17 @@ export const PlatformQuotaSchema = {
2657
2767
  description: 'Available number of Pro clusters that can be created.',
2658
2768
  example: 999
2659
2769
  },
2770
+ enterprise_clusters_max: {
2771
+ type: 'integer',
2772
+ minimum: 0,
2773
+ description: 'Maximum number of Enterprise clusters that can be created.',
2774
+ example: 999
2775
+ },
2776
+ enterprise_clusters_available: {
2777
+ type: 'integer',
2778
+ description: 'Available number of Enterprise clusters that can be created.',
2779
+ example: 999
2780
+ },
2660
2781
  fleets_max: {
2661
2782
  type: 'integer',
2662
2783
  minimum: 0,
@@ -2718,6 +2839,8 @@ export const PlatformQuotaSchema = {
2718
2839
  'basic_clusters_available',
2719
2840
  'pro_clusters_max',
2720
2841
  'pro_clusters_available',
2842
+ 'enterprise_clusters_max',
2843
+ 'enterprise_clusters_available',
2721
2844
  'fleets_max',
2722
2845
  'cluster_tiers',
2723
2846
  'regions',