@cloudfleet/sdk 0.12.3 → 1.0.0
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/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +394 -384
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +419 -409
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +312 -37
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +397 -55
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +232 -222
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +334 -324
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +952 -736
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1467 -1281
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +408 -278
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
package/dist/schemas.gen.js
CHANGED
|
@@ -440,31 +440,118 @@ 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-]+)*))?$',
|
|
457
454
|
description: 'Version of the kubernetes cluster.',
|
|
458
455
|
default: '1.x.x-cfke.x',
|
|
459
456
|
example: '1.x.x-cfke.x'
|
|
457
|
+
},
|
|
458
|
+
release_channel: {
|
|
459
|
+
type: 'string',
|
|
460
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
461
|
+
default: 'rapid',
|
|
462
|
+
example: 'rapid',
|
|
463
|
+
enum: [
|
|
464
|
+
'rapid',
|
|
465
|
+
'stable',
|
|
466
|
+
'extended'
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
features: {
|
|
470
|
+
type: 'object',
|
|
471
|
+
properties: {
|
|
472
|
+
gpu_sharing_strategy: {
|
|
473
|
+
type: 'string',
|
|
474
|
+
description: 'GPU sharing strategy.',
|
|
475
|
+
default: 'none',
|
|
476
|
+
example: 'none',
|
|
477
|
+
enum: [
|
|
478
|
+
'none',
|
|
479
|
+
'mps',
|
|
480
|
+
'time_slicing'
|
|
481
|
+
]
|
|
482
|
+
},
|
|
483
|
+
gpu_max_shared_clients_per_gpu: {
|
|
484
|
+
type: 'integer',
|
|
485
|
+
minimum: 2,
|
|
486
|
+
maximum: 48,
|
|
487
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
488
|
+
default: 4,
|
|
489
|
+
example: 10
|
|
490
|
+
},
|
|
491
|
+
cilium_socket_lb_host_namespace_only: {
|
|
492
|
+
type: 'boolean',
|
|
493
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
494
|
+
example: false
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
additionalProperties: false,
|
|
498
|
+
description: 'Cluster feature toggles.',
|
|
499
|
+
default: {
|
|
500
|
+
gpu_sharing_strategy: 'none',
|
|
501
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
502
|
+
cilium_socket_lb_host_namespace_only: false
|
|
503
|
+
}
|
|
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
|
+
networking: {
|
|
511
|
+
type: 'object',
|
|
512
|
+
properties: {
|
|
513
|
+
pod_cidr: {
|
|
514
|
+
type: 'string',
|
|
515
|
+
description: 'CIDR block for pod IPs.',
|
|
516
|
+
default: '10.244.0.0/16'
|
|
517
|
+
},
|
|
518
|
+
service_cidr: {
|
|
519
|
+
type: 'string',
|
|
520
|
+
description: 'CIDR block for service IPs.',
|
|
521
|
+
default: '10.96.0.0/12'
|
|
522
|
+
},
|
|
523
|
+
dual_stack: {
|
|
524
|
+
type: 'boolean',
|
|
525
|
+
description: 'Enable IPv4+IPv6 dual-stack networking.'
|
|
526
|
+
},
|
|
527
|
+
pod_cidr_v6: {
|
|
528
|
+
type: 'string',
|
|
529
|
+
description: 'IPv6 pod CIDR. Requires dual_stack.',
|
|
530
|
+
default: '2001:db8:1:2::/48'
|
|
531
|
+
},
|
|
532
|
+
service_cidr_v6: {
|
|
533
|
+
type: 'string',
|
|
534
|
+
description: 'IPv6 service CIDR. Requires dual_stack.',
|
|
535
|
+
default: '2001:db8:1:1::/112'
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
additionalProperties: false,
|
|
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
|
+
}
|
|
460
547
|
}
|
|
461
548
|
},
|
|
462
549
|
required: [
|
|
463
550
|
'name',
|
|
464
|
-
'tier',
|
|
465
551
|
'region'
|
|
466
552
|
],
|
|
467
|
-
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.'
|
|
468
555
|
};
|
|
469
556
|
export const ClusterJoinInformationSchema = {
|
|
470
557
|
type: 'object',
|
|
@@ -587,17 +674,123 @@ export const ClusterSchema = {
|
|
|
587
674
|
tier: {
|
|
588
675
|
type: 'string',
|
|
589
676
|
description: 'Tier of the cluster.',
|
|
677
|
+
default: 'basic',
|
|
590
678
|
example: 'pro',
|
|
591
679
|
enum: [
|
|
592
680
|
'basic',
|
|
593
|
-
'pro'
|
|
681
|
+
'pro',
|
|
682
|
+
'enterprise'
|
|
594
683
|
]
|
|
595
684
|
},
|
|
685
|
+
version_channel: {
|
|
686
|
+
type: 'string',
|
|
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'
|
|
691
|
+
},
|
|
692
|
+
release_channel: {
|
|
693
|
+
type: 'string',
|
|
694
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
695
|
+
default: 'rapid',
|
|
696
|
+
example: 'rapid',
|
|
697
|
+
enum: [
|
|
698
|
+
'rapid',
|
|
699
|
+
'stable',
|
|
700
|
+
'extended'
|
|
701
|
+
]
|
|
702
|
+
},
|
|
703
|
+
features: {
|
|
704
|
+
type: 'object',
|
|
705
|
+
properties: {
|
|
706
|
+
gpu_sharing_strategy: {
|
|
707
|
+
type: 'string',
|
|
708
|
+
description: 'GPU sharing strategy.',
|
|
709
|
+
default: 'none',
|
|
710
|
+
example: 'none',
|
|
711
|
+
enum: [
|
|
712
|
+
'none',
|
|
713
|
+
'mps',
|
|
714
|
+
'time_slicing'
|
|
715
|
+
]
|
|
716
|
+
},
|
|
717
|
+
gpu_max_shared_clients_per_gpu: {
|
|
718
|
+
type: 'integer',
|
|
719
|
+
minimum: 2,
|
|
720
|
+
maximum: 48,
|
|
721
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
722
|
+
default: 4,
|
|
723
|
+
example: 10
|
|
724
|
+
},
|
|
725
|
+
cilium_socket_lb_host_namespace_only: {
|
|
726
|
+
type: 'boolean',
|
|
727
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
728
|
+
example: false
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
required: [
|
|
732
|
+
'gpu_sharing_strategy',
|
|
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
|
+
},
|
|
596
744
|
region: {
|
|
597
745
|
type: 'string',
|
|
598
746
|
description: 'Cloudfleet control plane region. This field can not be updated after creation.',
|
|
599
747
|
example: 'europe-central-1a'
|
|
600
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'
|
|
783
|
+
],
|
|
784
|
+
additionalProperties: false,
|
|
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
|
+
}
|
|
793
|
+
},
|
|
601
794
|
id: {
|
|
602
795
|
type: 'string',
|
|
603
796
|
format: 'uuid',
|
|
@@ -606,16 +799,13 @@ export const ClusterSchema = {
|
|
|
606
799
|
},
|
|
607
800
|
status: {
|
|
608
801
|
type: 'string',
|
|
609
|
-
description: 'Status of the cluster.
|
|
610
|
-
example: '
|
|
802
|
+
description: 'Status of the cluster.',
|
|
803
|
+
example: 'deployed',
|
|
611
804
|
enum: [
|
|
612
|
-
'active',
|
|
613
|
-
'disabled',
|
|
614
|
-
'deleted',
|
|
615
805
|
'creating',
|
|
616
806
|
'deployed',
|
|
617
|
-
'
|
|
618
|
-
'
|
|
807
|
+
'updating',
|
|
808
|
+
'disabled'
|
|
619
809
|
]
|
|
620
810
|
},
|
|
621
811
|
endpoint: {
|
|
@@ -623,8 +813,8 @@ export const ClusterSchema = {
|
|
|
623
813
|
{
|
|
624
814
|
type: 'string',
|
|
625
815
|
format: 'uri',
|
|
626
|
-
description: 'URL signed by
|
|
627
|
-
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.
|
|
816
|
+
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.',
|
|
817
|
+
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
628
818
|
},
|
|
629
819
|
{
|
|
630
820
|
type: 'string',
|
|
@@ -639,7 +829,7 @@ export const ClusterSchema = {
|
|
|
639
829
|
{
|
|
640
830
|
type: 'string',
|
|
641
831
|
format: 'uri',
|
|
642
|
-
description: '
|
|
832
|
+
description: 'Deprecated alias of `endpoint`; retained for backward compatibility.',
|
|
643
833
|
example: 'https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io'
|
|
644
834
|
},
|
|
645
835
|
{
|
|
@@ -674,22 +864,22 @@ export const ClusterSchema = {
|
|
|
674
864
|
type: 'boolean',
|
|
675
865
|
description: 'Indicates if the cluster is ready to be used.',
|
|
676
866
|
example: true
|
|
677
|
-
},
|
|
678
|
-
version_channel: {
|
|
679
|
-
type: 'string',
|
|
680
|
-
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-]+)*))?$',
|
|
681
|
-
description: 'Version of the kubernetes cluster.',
|
|
682
|
-
example: '1.x.x-cfke.x'
|
|
683
867
|
}
|
|
684
868
|
},
|
|
685
869
|
required: [
|
|
686
870
|
'name',
|
|
687
871
|
'tier',
|
|
872
|
+
'version_channel',
|
|
873
|
+
'release_channel',
|
|
874
|
+
'features',
|
|
688
875
|
'region',
|
|
876
|
+
'networking',
|
|
689
877
|
'id',
|
|
690
|
-
'status'
|
|
878
|
+
'status',
|
|
879
|
+
'ready'
|
|
691
880
|
],
|
|
692
|
-
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.'
|
|
693
883
|
};
|
|
694
884
|
export const ClusterUpdateInputSchema = {
|
|
695
885
|
type: 'object',
|
|
@@ -705,23 +895,74 @@ export const ClusterUpdateInputSchema = {
|
|
|
705
895
|
tier: {
|
|
706
896
|
type: 'string',
|
|
707
897
|
description: 'Tier of the cluster.',
|
|
898
|
+
default: 'basic',
|
|
708
899
|
example: 'pro',
|
|
709
900
|
enum: [
|
|
710
901
|
'basic',
|
|
711
|
-
'pro'
|
|
902
|
+
'pro',
|
|
903
|
+
'enterprise'
|
|
712
904
|
]
|
|
713
905
|
},
|
|
714
906
|
version_channel: {
|
|
715
907
|
type: 'string',
|
|
716
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-]+)*))?$',
|
|
717
909
|
description: 'Version of the kubernetes cluster.',
|
|
910
|
+
default: '1.x.x-cfke.x',
|
|
718
911
|
example: '1.x.x-cfke.x'
|
|
912
|
+
},
|
|
913
|
+
release_channel: {
|
|
914
|
+
type: 'string',
|
|
915
|
+
description: 'Release channel for the cluster\'s control plane.',
|
|
916
|
+
default: 'rapid',
|
|
917
|
+
example: 'rapid',
|
|
918
|
+
enum: [
|
|
919
|
+
'rapid',
|
|
920
|
+
'stable',
|
|
921
|
+
'extended'
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
features: {
|
|
925
|
+
type: 'object',
|
|
926
|
+
properties: {
|
|
927
|
+
gpu_sharing_strategy: {
|
|
928
|
+
type: 'string',
|
|
929
|
+
description: 'GPU sharing strategy.',
|
|
930
|
+
default: 'none',
|
|
931
|
+
example: 'none',
|
|
932
|
+
enum: [
|
|
933
|
+
'none',
|
|
934
|
+
'mps',
|
|
935
|
+
'time_slicing'
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
gpu_max_shared_clients_per_gpu: {
|
|
939
|
+
type: 'integer',
|
|
940
|
+
minimum: 2,
|
|
941
|
+
maximum: 48,
|
|
942
|
+
description: 'Maximum number of pods that may share a single GPU.',
|
|
943
|
+
default: 4,
|
|
944
|
+
example: 10
|
|
945
|
+
},
|
|
946
|
+
cilium_socket_lb_host_namespace_only: {
|
|
947
|
+
type: 'boolean',
|
|
948
|
+
description: 'Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.',
|
|
949
|
+
example: false
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
additionalProperties: false,
|
|
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
|
+
}
|
|
719
959
|
}
|
|
720
960
|
},
|
|
721
961
|
required: [
|
|
722
|
-
'
|
|
962
|
+
'name'
|
|
723
963
|
],
|
|
724
|
-
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.'
|
|
725
966
|
};
|
|
726
967
|
export const FleetCreateInputSchema = {
|
|
727
968
|
type: 'object',
|
|
@@ -767,8 +1008,8 @@ export const FleetCreateInputSchema = {
|
|
|
767
1008
|
type: 'string',
|
|
768
1009
|
maxLength: 64,
|
|
769
1010
|
minLength: 64,
|
|
770
|
-
pattern: '^[A-Za-z0-9]
|
|
771
|
-
description: 'Hetzner Cloud API token with read
|
|
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.'
|
|
772
1013
|
}
|
|
773
1014
|
},
|
|
774
1015
|
required: [
|
|
@@ -993,7 +1234,8 @@ export const FleetCreateInputSchema = {
|
|
|
993
1234
|
'z3'
|
|
994
1235
|
]
|
|
995
1236
|
},
|
|
996
|
-
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1237
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1238
|
+
default: []
|
|
997
1239
|
},
|
|
998
1240
|
'topology.kubernetes.io/region': {
|
|
999
1241
|
type: 'array',
|
|
@@ -1066,15 +1308,27 @@ export const FleetCreateInputSchema = {
|
|
|
1066
1308
|
'us-west4'
|
|
1067
1309
|
]
|
|
1068
1310
|
},
|
|
1069
|
-
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1311
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1312
|
+
default: []
|
|
1070
1313
|
}
|
|
1071
1314
|
},
|
|
1072
1315
|
additionalProperties: false,
|
|
1073
|
-
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.
|
|
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
|
+
}
|
|
1074
1328
|
},
|
|
1075
1329
|
scalingProfile: {
|
|
1076
1330
|
type: 'string',
|
|
1077
|
-
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`).',
|
|
1078
1332
|
default: 'conservative',
|
|
1079
1333
|
example: 'conservative',
|
|
1080
1334
|
enum: [
|
|
@@ -1094,7 +1348,8 @@ export const FleetCreateInputSchema = {
|
|
|
1094
1348
|
required: [
|
|
1095
1349
|
'id'
|
|
1096
1350
|
],
|
|
1097
|
-
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.'
|
|
1098
1353
|
};
|
|
1099
1354
|
export const FleetSchema = {
|
|
1100
1355
|
type: 'object',
|
|
@@ -1364,7 +1619,8 @@ export const FleetSchema = {
|
|
|
1364
1619
|
'z3'
|
|
1365
1620
|
]
|
|
1366
1621
|
},
|
|
1367
|
-
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
1622
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
1623
|
+
default: []
|
|
1368
1624
|
},
|
|
1369
1625
|
'topology.kubernetes.io/region': {
|
|
1370
1626
|
type: 'array',
|
|
@@ -1437,15 +1693,31 @@ export const FleetSchema = {
|
|
|
1437
1693
|
'us-west4'
|
|
1438
1694
|
]
|
|
1439
1695
|
},
|
|
1440
|
-
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
1696
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
1697
|
+
default: []
|
|
1441
1698
|
}
|
|
1442
1699
|
},
|
|
1700
|
+
required: [
|
|
1701
|
+
'karpenter.sh/capacity-type',
|
|
1702
|
+
'kubernetes.io/arch'
|
|
1703
|
+
],
|
|
1443
1704
|
additionalProperties: false,
|
|
1444
|
-
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.
|
|
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
|
+
}
|
|
1445
1717
|
},
|
|
1446
1718
|
scalingProfile: {
|
|
1447
1719
|
type: 'string',
|
|
1448
|
-
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`).',
|
|
1449
1721
|
default: 'conservative',
|
|
1450
1722
|
example: 'conservative',
|
|
1451
1723
|
enum: [
|
|
@@ -1460,13 +1732,38 @@ export const FleetSchema = {
|
|
|
1460
1732
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
1461
1733
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
1462
1734
|
example: 'new-clouds-fleet'
|
|
1735
|
+
},
|
|
1736
|
+
ready: {
|
|
1737
|
+
type: 'boolean',
|
|
1738
|
+
description: 'Indicates whether the fleet configuration is healthy.',
|
|
1739
|
+
example: true
|
|
1740
|
+
},
|
|
1741
|
+
status_message: {
|
|
1742
|
+
type: 'string',
|
|
1743
|
+
description: 'Human-readable reason the fleet is not ready. Present only when `ready` is false.',
|
|
1744
|
+
example: 'Invalid provider permissions.'
|
|
1745
|
+
},
|
|
1746
|
+
created_at: {
|
|
1747
|
+
type: 'string',
|
|
1748
|
+
description: 'Creation date and time of the fleet.',
|
|
1749
|
+
example: '2024-09-12T09:11:27Z'
|
|
1750
|
+
},
|
|
1751
|
+
updated_at: {
|
|
1752
|
+
type: 'string',
|
|
1753
|
+
description: 'Date and time the fleet was last updated.',
|
|
1754
|
+
example: '2024-09-12T09:11:27Z'
|
|
1463
1755
|
}
|
|
1464
1756
|
},
|
|
1465
1757
|
required: [
|
|
1758
|
+
'constraints',
|
|
1466
1759
|
'scalingProfile',
|
|
1467
|
-
'id'
|
|
1760
|
+
'id',
|
|
1761
|
+
'ready',
|
|
1762
|
+
'created_at',
|
|
1763
|
+
'updated_at'
|
|
1468
1764
|
],
|
|
1469
|
-
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.'
|
|
1470
1767
|
};
|
|
1471
1768
|
export const FleetUpdateInputSchema = {
|
|
1472
1769
|
type: 'object',
|
|
@@ -1512,8 +1809,8 @@ export const FleetUpdateInputSchema = {
|
|
|
1512
1809
|
type: 'string',
|
|
1513
1810
|
maxLength: 64,
|
|
1514
1811
|
minLength: 64,
|
|
1515
|
-
pattern: '^[A-Za-z0-9]
|
|
1516
|
-
description: 'Hetzner Cloud API token with read
|
|
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.'
|
|
1517
1814
|
}
|
|
1518
1815
|
},
|
|
1519
1816
|
required: [
|
|
@@ -1552,7 +1849,11 @@ export const FleetUpdateInputSchema = {
|
|
|
1552
1849
|
]
|
|
1553
1850
|
},
|
|
1554
1851
|
minItems: 1,
|
|
1555
|
-
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
|
+
]
|
|
1556
1857
|
},
|
|
1557
1858
|
'kubernetes.io/arch': {
|
|
1558
1859
|
type: 'array',
|
|
@@ -1564,7 +1865,10 @@ export const FleetUpdateInputSchema = {
|
|
|
1564
1865
|
]
|
|
1565
1866
|
},
|
|
1566
1867
|
minItems: 1,
|
|
1567
|
-
description: 'Allowed values for `kubernetes.io/arch`.'
|
|
1868
|
+
description: 'Allowed values for `kubernetes.io/arch`.',
|
|
1869
|
+
default: [
|
|
1870
|
+
'amd64'
|
|
1871
|
+
]
|
|
1568
1872
|
},
|
|
1569
1873
|
'cfke.io/instance-family': {
|
|
1570
1874
|
type: 'array',
|
|
@@ -1731,7 +2035,8 @@ export const FleetUpdateInputSchema = {
|
|
|
1731
2035
|
'z3'
|
|
1732
2036
|
]
|
|
1733
2037
|
},
|
|
1734
|
-
description: 'Allowed values for `cfke.io/instance-family`.'
|
|
2038
|
+
description: 'Allowed values for `cfke.io/instance-family`.',
|
|
2039
|
+
default: []
|
|
1735
2040
|
},
|
|
1736
2041
|
'topology.kubernetes.io/region': {
|
|
1737
2042
|
type: 'array',
|
|
@@ -1804,15 +2109,28 @@ export const FleetUpdateInputSchema = {
|
|
|
1804
2109
|
'us-west4'
|
|
1805
2110
|
]
|
|
1806
2111
|
},
|
|
1807
|
-
description: 'Allowed values for `topology.kubernetes.io/region`.'
|
|
2112
|
+
description: 'Allowed values for `topology.kubernetes.io/region`.',
|
|
2113
|
+
default: []
|
|
1808
2114
|
}
|
|
1809
2115
|
},
|
|
1810
2116
|
additionalProperties: false,
|
|
1811
|
-
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.
|
|
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
|
+
}
|
|
1812
2129
|
},
|
|
1813
2130
|
scalingProfile: {
|
|
1814
2131
|
type: 'string',
|
|
1815
|
-
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',
|
|
1816
2134
|
example: 'conservative',
|
|
1817
2135
|
enum: [
|
|
1818
2136
|
'aggressive',
|
|
@@ -1820,10 +2138,8 @@ export const FleetUpdateInputSchema = {
|
|
|
1820
2138
|
]
|
|
1821
2139
|
}
|
|
1822
2140
|
},
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
],
|
|
1826
|
-
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.'
|
|
1827
2143
|
};
|
|
1828
2144
|
export const InviteCreateInputSchema = {
|
|
1829
2145
|
type: 'object',
|
|
@@ -2231,6 +2547,17 @@ export const OrganizationSchema = {
|
|
|
2231
2547
|
description: 'Available number of Pro clusters that can be created.',
|
|
2232
2548
|
example: 999
|
|
2233
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
|
+
},
|
|
2234
2561
|
fleets_max: {
|
|
2235
2562
|
type: 'integer',
|
|
2236
2563
|
minimum: 0,
|
|
@@ -2292,6 +2619,8 @@ export const OrganizationSchema = {
|
|
|
2292
2619
|
'basic_clusters_available',
|
|
2293
2620
|
'pro_clusters_max',
|
|
2294
2621
|
'pro_clusters_available',
|
|
2622
|
+
'enterprise_clusters_max',
|
|
2623
|
+
'enterprise_clusters_available',
|
|
2295
2624
|
'fleets_max',
|
|
2296
2625
|
'cluster_tiers',
|
|
2297
2626
|
'regions',
|
|
@@ -2438,6 +2767,17 @@ export const PlatformQuotaSchema = {
|
|
|
2438
2767
|
description: 'Available number of Pro clusters that can be created.',
|
|
2439
2768
|
example: 999
|
|
2440
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
|
+
},
|
|
2441
2781
|
fleets_max: {
|
|
2442
2782
|
type: 'integer',
|
|
2443
2783
|
minimum: 0,
|
|
@@ -2499,6 +2839,8 @@ export const PlatformQuotaSchema = {
|
|
|
2499
2839
|
'basic_clusters_available',
|
|
2500
2840
|
'pro_clusters_max',
|
|
2501
2841
|
'pro_clusters_available',
|
|
2842
|
+
'enterprise_clusters_max',
|
|
2843
|
+
'enterprise_clusters_available',
|
|
2502
2844
|
'fleets_max',
|
|
2503
2845
|
'cluster_tiers',
|
|
2504
2846
|
'regions',
|