-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
2138 lines (2138 loc) · 85.1 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$ref": "#/definitions/ClusterConfig",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"AZSubnetMapping": {
"additionalProperties": {
"$ref": "#/definitions/AZSubnetSpec"
},
"type": "object",
"description": "holds subnet to AZ mappings. If the key is an AZ, that also becomes the name of the subnet otherwise use the key to refer to this subnet.",
"x-intellij-html-description": "holds subnet to AZ mappings. If the key is an AZ, that also becomes the name of the subnet otherwise use the key to refer to this subnet.",
"default": "{}"
},
"AZSubnetSpec": {
"properties": {
"az": {
"type": "string",
"description": "can be omitted if the key is an AZ",
"x-intellij-html-description": "can be omitted if the key is an AZ"
},
"cidr": {
"$ref": "#/definitions/github.com|weaveworks|eksctl|pkg|utils|ipnet.IPNet"
},
"id": {
"type": "string"
}
},
"preferredOrder": [
"id",
"az",
"cidr"
],
"additionalProperties": false
},
"Addon": {
"required": [
"name"
],
"properties": {
"attachPolicy": {
"$ref": "#/definitions/InlineDocument",
"description": "holds a policy document to attach",
"x-intellij-html-description": "holds a policy document to attach"
},
"attachPolicyARNs": {
"items": {
"type": "string"
},
"type": "array",
"description": "list of ARNs of the IAM policies to attach",
"x-intellij-html-description": "list of ARNs of the IAM policies to attach"
},
"name": {
"type": "string"
},
"permissionsBoundary": {
"type": "string",
"description": "ARN of the permissions' boundary to associate",
"x-intellij-html-description": "ARN of the permissions' boundary to associate"
},
"serviceAccountRoleARN": {
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.",
"x-intellij-html-description": "The metadata to apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.",
"default": "{}"
},
"version": {
"type": "string"
},
"wellKnownPolicies": {
"$ref": "#/definitions/WellKnownPolicies",
"description": "for attaching common IAM policies",
"x-intellij-html-description": "for attaching common IAM policies"
}
},
"preferredOrder": [
"name",
"version",
"serviceAccountRoleARN",
"attachPolicyARNs",
"attachPolicy",
"permissionsBoundary",
"wellKnownPolicies",
"tags"
],
"additionalProperties": false,
"description": "holds the EKS addon configuration",
"x-intellij-html-description": "holds the EKS addon configuration"
},
"ClusterCloudWatch": {
"properties": {
"clusterLogging": {
"$ref": "#/definitions/ClusterCloudWatchLogging"
}
},
"preferredOrder": [
"clusterLogging"
],
"additionalProperties": false,
"description": "contains config parameters related to CloudWatch",
"x-intellij-html-description": "contains config parameters related to CloudWatch"
},
"ClusterCloudWatchLogging": {
"properties": {
"enableTypes": {
"items": {
"type": "string",
"enum": [
"api",
"audit",
"authenticator",
"controllerManager",
"scheduler",
"all",
"*"
]
},
"type": "array",
"description": "Types of logging to enable (see [CloudWatch docs](/usage/cloudwatch-cluster-logging/#clusterconfig-examples)). Valid entries are: `\"api\"`, `\"audit\"`, `\"authenticator\"`, `\"controllerManager\"`, `\"scheduler\"`, `\"all\"`, `\"*\"`.",
"x-intellij-html-description": "Types of logging to enable (see <a href=\"/usage/cloudwatch-cluster-logging/#clusterconfig-examples\">CloudWatch docs</a>). Valid entries are: <code>"api"</code>, <code>"audit"</code>, <code>"authenticator"</code>, <code>"controllerManager"</code>, <code>"scheduler"</code>, <code>"all"</code>, <code>"*"</code>."
},
"logRetentionInDays": {
"type": "integer",
"description": "sets the number of days to retain the logs for (see [CloudWatch docs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html#API_PutRetentionPolicy_RequestSyntax)) . Valid values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.",
"x-intellij-html-description": "sets the number of days to retain the logs for (see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html#API_PutRetentionPolicy_RequestSyntax\">CloudWatch docs</a>) . Valid values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653."
}
},
"preferredOrder": [
"enableTypes",
"logRetentionInDays"
],
"additionalProperties": false,
"description": "container config parameters related to cluster logging",
"x-intellij-html-description": "container config parameters related to cluster logging"
},
"ClusterConfig": {
"required": [
"metadata",
"kind",
"apiVersion"
],
"properties": {
"addons": {
"items": {
"$ref": "#/definitions/Addon"
},
"type": "array"
},
"apiVersion": {
"type": "string",
"enum": [
"eksctl.io/v1alpha5"
]
},
"availabilityZones": {
"items": {
"type": "string"
},
"type": "array"
},
"cloudWatch": {
"$ref": "#/definitions/ClusterCloudWatch",
"description": "See [CloudWatch support](/usage/cloudwatch-cluster-logging/)",
"x-intellij-html-description": "See <a href=\"/usage/cloudwatch-cluster-logging/\">CloudWatch support</a>"
},
"fargateProfiles": {
"items": {
"$ref": "#/definitions/FargateProfile"
},
"type": "array"
},
"gitops": {
"$ref": "#/definitions/GitOps",
"description": "future gitops plans, replacing the Git configuration above",
"x-intellij-html-description": "future gitops plans, replacing the Git configuration above"
},
"iam": {
"$ref": "#/definitions/ClusterIAM"
},
"identityProviders": {
"items": {
"$ref": "#/definitions/IdentityProvider"
},
"type": "array"
},
"karpenter": {
"$ref": "#/definitions/Karpenter",
"description": "specific configuration options.",
"x-intellij-html-description": "specific configuration options."
},
"kind": {
"type": "string",
"enum": [
"ClusterConfig"
]
},
"kubernetesNetworkConfig": {
"$ref": "#/definitions/KubernetesNetworkConfig"
},
"managedNodeGroups": {
"items": {
"$ref": "#/definitions/ManagedNodeGroup"
},
"type": "array",
"description": "See [Nodegroups usage](/usage/managing-nodegroups) and [managed nodegroups](/usage/eks-managed-nodes/)",
"x-intellij-html-description": "See <a href=\"/usage/managing-nodegroups\">Nodegroups usage</a> and <a href=\"/usage/eks-managed-nodes/\">managed nodegroups</a>"
},
"metadata": {
"$ref": "#/definitions/ClusterMeta"
},
"nodeGroups": {
"items": {
"$ref": "#/definitions/NodeGroup"
},
"type": "array",
"description": "For information and examples see [nodegroups](/usage/managing-nodegroups)",
"x-intellij-html-description": "For information and examples see <a href=\"/usage/managing-nodegroups\">nodegroups</a>"
},
"privateCluster": {
"$ref": "#/definitions/PrivateCluster",
"description": "allows configuring a fully-private cluster in which no node has outbound internet access, and private access to AWS services is enabled via VPC endpoints",
"x-intellij-html-description": "allows configuring a fully-private cluster in which no node has outbound internet access, and private access to AWS services is enabled via VPC endpoints"
},
"secretsEncryption": {
"$ref": "#/definitions/SecretsEncryption"
},
"vpc": {
"$ref": "#/definitions/ClusterVPC"
}
},
"preferredOrder": [
"kind",
"apiVersion",
"metadata",
"kubernetesNetworkConfig",
"iam",
"identityProviders",
"vpc",
"addons",
"privateCluster",
"nodeGroups",
"managedNodeGroups",
"fargateProfiles",
"availabilityZones",
"cloudWatch",
"secretsEncryption",
"gitops",
"karpenter"
],
"additionalProperties": false,
"description": "a simple config, to be replaced with Cluster API",
"x-intellij-html-description": "a simple config, to be replaced with Cluster API",
"x-kubernetes-group-version-kind": [
{
"group": "eksctl.io",
"version": "v1alpha5",
"kind": "ClusterConfig"
}
]
},
"ClusterEndpoints": {
"properties": {
"privateAccess": {
"type": "boolean"
},
"publicAccess": {
"type": "boolean"
}
},
"preferredOrder": [
"privateAccess",
"publicAccess"
],
"additionalProperties": false,
"description": "holds cluster api server endpoint access information",
"x-intellij-html-description": "holds cluster api server endpoint access information"
},
"ClusterIAM": {
"properties": {
"fargatePodExecutionRoleARN": {
"type": "string",
"description": "role used by pods to access AWS APIs. This role is added to the Kubernetes RBAC for authorization. See [Pod Execution Role](https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html)",
"x-intellij-html-description": "role used by pods to access AWS APIs. This role is added to the Kubernetes RBAC for authorization. See <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html\">Pod Execution Role</a>"
},
"fargatePodExecutionRolePermissionsBoundary": {
"type": "string",
"description": "permissions boundary for the fargate pod execution role`. See [EKS Fargate Support](/usage/fargate-support/)",
"x-intellij-html-description": "permissions boundary for the fargate pod execution role`. See <a href=\"/usage/fargate-support/\">EKS Fargate Support</a>"
},
"serviceAccounts": {
"items": {
"$ref": "#/definitions/ClusterIAMServiceAccount"
},
"type": "array",
"description": "service accounts to create in the cluster. See [IAM Service Accounts](/usage/iamserviceaccounts/#usage-with-config-files)",
"x-intellij-html-description": "service accounts to create in the cluster. See <a href=\"/usage/iamserviceaccounts/#usage-with-config-files\">IAM Service Accounts</a>"
},
"serviceRoleARN": {
"type": "string"
},
"serviceRolePermissionsBoundary": {
"type": "string",
"description": "permissions boundary for all identity-based entities created by eksctl. See [AWS Permission Boundary](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)",
"x-intellij-html-description": "permissions boundary for all identity-based entities created by eksctl. See <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html\">AWS Permission Boundary</a>"
},
"vpcResourceControllerPolicy": {
"type": "boolean",
"description": "attaches the IAM policy necessary to run the VPC controller in the control plane",
"x-intellij-html-description": "attaches the IAM policy necessary to run the VPC controller in the control plane",
"default": true
},
"withOIDC": {
"type": "boolean",
"description": "enables the IAM OIDC provider as well as IRSA for the Amazon CNI plugin",
"x-intellij-html-description": "enables the IAM OIDC provider as well as IRSA for the Amazon CNI plugin"
}
},
"preferredOrder": [
"serviceRoleARN",
"serviceRolePermissionsBoundary",
"fargatePodExecutionRoleARN",
"fargatePodExecutionRolePermissionsBoundary",
"withOIDC",
"serviceAccounts",
"vpcResourceControllerPolicy"
],
"additionalProperties": false,
"description": "holds all IAM attributes of a cluster",
"x-intellij-html-description": "holds all IAM attributes of a cluster"
},
"ClusterIAMMeta": {
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"default": "{}"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"default": "{}"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
}
},
"preferredOrder": [
"name",
"namespace",
"labels",
"annotations"
],
"additionalProperties": false,
"description": "holds information we can use to create ObjectMeta for service accounts",
"x-intellij-html-description": "holds information we can use to create ObjectMeta for service accounts"
},
"ClusterIAMServiceAccount": {
"properties": {
"attachPolicy": {
"$ref": "#/definitions/InlineDocument",
"description": "holds a policy document to attach to this service account",
"x-intellij-html-description": "holds a policy document to attach to this service account"
},
"attachPolicyARNs": {
"items": {
"type": "string"
},
"type": "array",
"description": "list of ARNs of the IAM policies to attach",
"x-intellij-html-description": "list of ARNs of the IAM policies to attach"
},
"attachRoleARN": {
"type": "string",
"description": "ARN of the role to attach to the service account",
"x-intellij-html-description": "ARN of the role to attach to the service account"
},
"metadata": {
"$ref": "#/definitions/ClusterIAMMeta"
},
"permissionsBoundary": {
"type": "string",
"description": "ARN of the permissions boundary to associate with the service account",
"x-intellij-html-description": "ARN of the permissions boundary to associate with the service account"
},
"roleName": {
"type": "string",
"description": "Specific role name instead of the Cloudformation-generated role name",
"x-intellij-html-description": "Specific role name instead of the Cloudformation-generated role name"
},
"roleOnly": {
"type": "boolean",
"description": "Specify if only the IAM Service Account role should be created without creating/annotating the service account",
"x-intellij-html-description": "Specify if only the IAM Service Account role should be created without creating/annotating the service account"
},
"status": {
"$ref": "#/definitions/ClusterIAMServiceAccountStatus"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "AWS tags for the service account",
"x-intellij-html-description": "AWS tags for the service account",
"default": "{}"
},
"wellKnownPolicies": {
"$ref": "#/definitions/WellKnownPolicies"
}
},
"preferredOrder": [
"metadata",
"attachPolicyARNs",
"wellKnownPolicies",
"attachPolicy",
"attachRoleARN",
"permissionsBoundary",
"status",
"roleName",
"roleOnly",
"tags"
],
"additionalProperties": false,
"description": "holds an IAM service account metadata and configuration",
"x-intellij-html-description": "holds an IAM service account metadata and configuration"
},
"ClusterIAMServiceAccountStatus": {
"properties": {
"roleARN": {
"type": "string"
}
},
"preferredOrder": [
"roleARN"
],
"additionalProperties": false,
"description": "holds status of the IAM service account",
"x-intellij-html-description": "holds status of the IAM service account"
},
"ClusterMeta": {
"required": [
"name",
"region"
],
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "arbitrary metadata ignored by `eksctl`.",
"x-intellij-html-description": "arbitrary metadata ignored by <code>eksctl</code>.",
"default": "{}"
},
"name": {
"type": "string",
"description": "of the cluster",
"x-intellij-html-description": "of the cluster"
},
"region": {
"type": "string",
"description": "the AWS region hosting this cluster",
"x-intellij-html-description": "the AWS region hosting this cluster"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "used to tag AWS resources created by eksctl",
"x-intellij-html-description": "used to tag AWS resources created by eksctl",
"default": "{}"
},
"version": {
"type": "string",
"description": "Valid variants are: `\"1.19\"`, `\"1.20\"`, `\"1.21\"`, `\"1.22\"` (default).",
"x-intellij-html-description": "Valid variants are: <code>"1.19"</code>, <code>"1.20"</code>, <code>"1.21"</code>, <code>"1.22"</code> (default).",
"default": "1.22",
"enum": [
"1.19",
"1.20",
"1.21",
"1.22"
]
}
},
"preferredOrder": [
"name",
"region",
"version",
"tags",
"annotations"
],
"additionalProperties": false,
"description": "contains general cluster information",
"x-intellij-html-description": "contains general cluster information"
},
"ClusterNAT": {
"properties": {
"gateway": {
"type": "string",
"description": "Valid variants are: `\"HighlyAvailable\"` configures a highly available NAT gateway, `\"Single\"` configures a single NAT gateway (default), `\"Disable\"` disables NAT.",
"x-intellij-html-description": "Valid variants are: <code>"HighlyAvailable"</code> configures a highly available NAT gateway, <code>"Single"</code> configures a single NAT gateway (default), <code>"Disable"</code> disables NAT.",
"default": "Single",
"enum": [
"HighlyAvailable",
"Single",
"Disable"
]
}
},
"preferredOrder": [
"gateway"
],
"additionalProperties": false,
"description": "NAT config",
"x-intellij-html-description": "NAT config"
},
"ClusterSubnets": {
"properties": {
"private": {
"$ref": "#/definitions/AZSubnetMapping"
},
"public": {
"$ref": "#/definitions/AZSubnetMapping"
}
},
"preferredOrder": [
"private",
"public"
],
"additionalProperties": false,
"description": "holds private and public subnets",
"x-intellij-html-description": "holds private and public subnets"
},
"ClusterVPC": {
"properties": {
"autoAllocateIPv6": {
"type": "boolean",
"description": "AutoAllocateIPV6 requests an IPv6 CIDR block with /56 prefix for the VPC",
"x-intellij-html-description": "AutoAllocateIPV6 requests an IPv6 CIDR block with /56 prefix for the VPC"
},
"cidr": {
"$ref": "#/definitions/github.com|weaveworks|eksctl|pkg|utils|ipnet.IPNet"
},
"clusterEndpoints": {
"$ref": "#/definitions/ClusterEndpoints",
"description": "See [managing access to API](/usage/vpc-networking/#managing-access-to-the-kubernetes-api-server-endpoints)",
"x-intellij-html-description": "See <a href=\"/usage/vpc-networking/#managing-access-to-the-kubernetes-api-server-endpoints\">managing access to API</a>"
},
"extraCIDRs": {
"items": {
"type": "string"
},
"type": "array",
"description": "for additional CIDR associations, e.g. a CIDR for private subnets or any ad-hoc subnets",
"x-intellij-html-description": "for additional CIDR associations, e.g. a CIDR for private subnets or any ad-hoc subnets"
},
"extraIPv6CIDRs": {
"items": {
"type": "string"
},
"type": "array",
"description": "for additional IPv6 CIDR associations, e.g. a CIDR for private subnets or any ad-hoc subnets",
"x-intellij-html-description": "for additional IPv6 CIDR associations, e.g. a CIDR for private subnets or any ad-hoc subnets"
},
"id": {
"type": "string"
},
"ipv6Cidr": {
"type": "string"
},
"ipv6Pool": {
"type": "string"
},
"manageSharedNodeSecurityGroupRules": {
"type": "boolean",
"description": "Automatically add security group rules to and from the default cluster security group and the shared node security group. This allows unmanaged nodes to communicate with the control plane and managed nodes. This option cannot be disabled when using eksctl created security groups.",
"x-intellij-html-description": "Automatically add security group rules to and from the default cluster security group and the shared node security group. This allows unmanaged nodes to communicate with the control plane and managed nodes. This option cannot be disabled when using eksctl created security groups.",
"default": true
},
"nat": {
"$ref": "#/definitions/ClusterNAT"
},
"publicAccessCIDRs": {
"items": {
"type": "string"
},
"type": "array",
"description": "which CIDR blocks to allow access to public k8s API endpoint",
"x-intellij-html-description": "which CIDR blocks to allow access to public k8s API endpoint"
},
"securityGroup": {
"type": "string",
"description": "(aka the ControlPlaneSecurityGroup) for communication between control plane and nodes",
"x-intellij-html-description": "(aka the ControlPlaneSecurityGroup) for communication between control plane and nodes"
},
"sharedNodeSecurityGroup": {
"type": "string",
"description": "for pre-defined shared node SG",
"x-intellij-html-description": "for pre-defined shared node SG"
},
"subnets": {
"$ref": "#/definitions/ClusterSubnets",
"description": "keyed by AZ for convenience. See [this example](/examples/reusing-iam-and-vpc/) as well as [using existing VPCs](/usage/vpc-networking/#use-existing-vpc-other-custom-configuration).",
"x-intellij-html-description": "keyed by AZ for convenience. See <a href=\"/examples/reusing-iam-and-vpc/\">this example</a> as well as <a href=\"/usage/vpc-networking/#use-existing-vpc-other-custom-configuration\">using existing VPCs</a>."
}
},
"preferredOrder": [
"id",
"cidr",
"ipv6Cidr",
"ipv6Pool",
"securityGroup",
"subnets",
"extraCIDRs",
"extraIPv6CIDRs",
"sharedNodeSecurityGroup",
"manageSharedNodeSecurityGroupRules",
"autoAllocateIPv6",
"nat",
"clusterEndpoints",
"publicAccessCIDRs"
],
"additionalProperties": false,
"description": "holds global subnet and all child subnets",
"x-intellij-html-description": "holds global subnet and all child subnets"
},
"FargateProfile": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "of the Fargate profile.",
"x-intellij-html-description": "of the Fargate profile."
},
"podExecutionRoleARN": {
"type": "string",
"description": "IAM role's ARN to use to run pods onto Fargate.",
"x-intellij-html-description": "IAM role's ARN to use to run pods onto Fargate."
},
"selectors": {
"items": {
"$ref": "#/definitions/FargateProfileSelector"
},
"type": "array",
"description": "define the rules to select workload to schedule onto Fargate.",
"x-intellij-html-description": "define the rules to select workload to schedule onto Fargate."
},
"status": {
"type": "string",
"description": "The current status of the Fargate profile.",
"x-intellij-html-description": "The current status of the Fargate profile."
},
"subnets": {
"items": {
"type": "string"
},
"type": "array",
"description": "which Fargate should use to do network placement of the selected workload. If none provided, all subnets for the cluster will be used.",
"x-intellij-html-description": "which Fargate should use to do network placement of the selected workload. If none provided, all subnets for the cluster will be used."
},
"tags": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "Used to tag the AWS resources",
"x-intellij-html-description": "Used to tag the AWS resources",
"default": "{}"
}
},
"preferredOrder": [
"name",
"podExecutionRoleARN",
"selectors",
"subnets",
"tags",
"status"
],
"additionalProperties": false,
"description": "defines the settings used to schedule workload onto Fargate.",
"x-intellij-html-description": "defines the settings used to schedule workload onto Fargate."
},
"FargateProfileSelector": {
"required": [
"namespace"
],
"properties": {
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "Kubernetes label selectors to use to select workload.",
"x-intellij-html-description": "Kubernetes label selectors to use to select workload.",
"default": "{}"
},
"namespace": {
"type": "string",
"description": "Kubernetes namespace from which to select workload.",
"x-intellij-html-description": "Kubernetes namespace from which to select workload."
}
},
"preferredOrder": [
"namespace",
"labels"
],
"additionalProperties": false,
"description": "defines rules to select workload to schedule onto Fargate.",
"x-intellij-html-description": "defines rules to select workload to schedule onto Fargate."
},
"Flux": {
"properties": {
"flags": {
"$ref": "#/definitions/FluxFlags",
"description": "an arbitrary map of string to string to pass any flags to Flux bootstrap via eksctl see https://fluxcd.io/docs/ for information on all flags",
"x-intellij-html-description": "an arbitrary map of string to string to pass any flags to Flux bootstrap via eksctl see https://fluxcd.io/docs/ for information on all flags"
},
"gitProvider": {
"type": "string",
"description": "The repository hosting service. Can be either Github or Gitlab.",
"x-intellij-html-description": "The repository hosting service. Can be either Github or Gitlab."
}
},
"preferredOrder": [
"gitProvider",
"flags"
],
"additionalProperties": false,
"description": "groups all configuration options related to a Git repository used for GitOps Toolkit (Flux v2).",
"x-intellij-html-description": "groups all configuration options related to a Git repository used for GitOps Toolkit (Flux v2)."
},
"FluxFlags": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "a map of string for passing arbitrary flags to Flux bootstrap",
"x-intellij-html-description": "a map of string for passing arbitrary flags to Flux bootstrap",
"default": "{}"
},
"GitOps": {
"properties": {
"flux": {
"$ref": "#/definitions/Flux",
"description": "holds options to enable Flux v2 on your cluster",
"x-intellij-html-description": "holds options to enable Flux v2 on your cluster"
}
},
"preferredOrder": [
"flux"
],
"additionalProperties": false,
"description": "groups all configuration options related to enabling GitOps Toolkit on a cluster and linking it to a Git repository. Note: this will replace the older Git types",
"x-intellij-html-description": "groups all configuration options related to enabling GitOps Toolkit on a cluster and linking it to a Git repository. Note: this will replace the older Git types"
},
"IdentityProvider": {
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"description": "Valid variants are: `\"oidc\"`: OIDC identity provider",
"x-intellij-html-description": "Valid variants are: <code>"oidc"</code>: OIDC identity provider",
"enum": [
"oidc"
]
}
},
"preferredOrder": [
"type"
],
"oneOf": [
{
"$ref": "#/definitions/OIDCIdentityProvider"
}
],
"description": "holds an identity provider configuration. See [the example eksctl config](https://github.com/weaveworks/eksctl/blob/main/examples/27-oidc-provider.yaml).",
"x-intellij-html-description": "holds an identity provider configuration. See <a href=\"https://github.com/weaveworks/eksctl/blob/main/examples/27-oidc-provider.yaml\">the example eksctl config</a>."
},
"InlineDocument": {
"additionalProperties": {},
"type": "object",
"description": "holds any arbitrary JSON/YAML documents, such as extra config parameters or IAM policies",
"x-intellij-html-description": "holds any arbitrary JSON/YAML documents, such as extra config parameters or IAM policies",
"default": "{}"
},
"InstanceSelector": {
"properties": {
"cpuArchitecture": {
"type": "string",
"description": "CPU Architecture of the EC2 instance type. Valid variants are: `\"x86_64\"` `\"amd64\"` `\"arm64\"`",
"x-intellij-html-description": "CPU Architecture of the EC2 instance type. Valid variants are: <code>"x86_64"</code> <code>"amd64"</code> <code>"arm64"</code>",
"enum": [
"x86_64",
"amd64",
"arm64"
]
},
"gpus": {
"type": "integer",
"description": "specifies the number of GPUs. It can be set to 0 to select non-GPU instance types.",
"x-intellij-html-description": "specifies the number of GPUs. It can be set to 0 to select non-GPU instance types."
},
"memory": {
"type": "string",
"description": "specifies the memory The unit defaults to GiB",
"x-intellij-html-description": "specifies the memory The unit defaults to GiB"
},
"vCPUs": {
"type": "integer",
"description": "specifies the number of vCPUs",
"x-intellij-html-description": "specifies the number of vCPUs"
}
},
"preferredOrder": [
"vCPUs",
"memory",
"gpus",
"cpuArchitecture"
],
"additionalProperties": false,
"description": "holds EC2 instance selector options",
"x-intellij-html-description": "holds EC2 instance selector options"
},
"Karpenter": {
"required": [
"version"
],
"properties": {
"createServiceAccount": {
"type": "boolean",
"description": "create a service account or not.",
"x-intellij-html-description": "create a service account or not."
},
"defaultInstanceProfile": {
"type": "string",
"description": "override the default IAM instance profile",
"x-intellij-html-description": "override the default IAM instance profile"
},
"version": {
"type": "string",
"description": "defines the Karpenter version to install",
"x-intellij-html-description": "defines the Karpenter version to install"
}
},
"preferredOrder": [
"version",
"createServiceAccount",
"defaultInstanceProfile"
],
"additionalProperties": false,
"description": "provides configuration opti",
"x-intellij-html-description": "provides configuration opti"
},
"KubernetesNetworkConfig": {
"properties": {
"ipFamily": {
"type": "string",
"description": "Valid variants are: `\"IPv4\"` defines an IP family of v4 to be used when creating a new VPC and cluster., `\"IPv6\"` defines an IP family of v6 to be used when creating a new VPC and cluster..",
"x-intellij-html-description": "Valid variants are: <code>"IPv4"</code> defines an IP family of v4 to be used when creating a new VPC and cluster., <code>"IPv6"</code> defines an IP family of v6 to be used when creating a new VPC and cluster..",
"enum": [
"IPv4",
"IPv6"
]
},
"serviceIPv4CIDR": {
"type": "string",
"description": "CIDR range from where `ClusterIP`s are assigned",
"x-intellij-html-description": "CIDR range from where <code>ClusterIP</code>s are assigned"
}
},
"preferredOrder": [
"ipFamily",
"serviceIPv4CIDR"
],
"additionalProperties": false,
"description": "contains cluster networking options",
"x-intellij-html-description": "contains cluster networking options"
},
"LaunchTemplate": {
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Launch template ID",
"x-intellij-html-description": "Launch template ID"
},
"version": {
"type": "string",
"description": "Launch template version Defaults to the default launch template version TODO support $Default, $Latest",
"x-intellij-html-description": "Launch template version Defaults to the default launch template version TODO support $Default, $Latest"
}
},
"preferredOrder": [
"id",
"version"
],
"additionalProperties": false
},
"ManagedNodeGroup": {
"required": [
"name"
],
"properties": {
"additionalVolumes": {
"items": {
"$ref": "#/definitions/VolumeMapping"
},
"type": "array",
"description": "Additional Volume Configurations",
"x-intellij-html-description": "Additional Volume Configurations"
},
"ami": {
"type": "string",
"description": "Specify [custom AMIs](/usage/custom-ami-support/), `auto-ssm`, `auto`, or `static`",
"x-intellij-html-description": "Specify <a href=\"/usage/custom-ami-support/\">custom AMIs</a>, <code>auto-ssm</code>, <code>auto</code>, or <code>static</code>"
},
"amiFamily": {
"type": "string",
"description": "Valid variants are: `\"AmazonLinux2\"` (default), `\"Ubuntu2004\"`, `\"Ubuntu1804\"`, `\"Bottlerocket\"`, `\"WindowsServer2019CoreContainer\"`, `\"WindowsServer2019FullContainer\"`, `\"WindowsServer2004CoreContainer\"`, `\"WindowsServer20H2CoreContainer\"`.",
"x-intellij-html-description": "Valid variants are: <code>"AmazonLinux2"</code> (default), <code>"Ubuntu2004"</code>, <code>"Ubuntu1804"</code>, <code>"Bottlerocket"</code>, <code>"WindowsServer2019CoreContainer"</code>, <code>"WindowsServer2019FullContainer"</code>, <code>"WindowsServer2004CoreContainer"</code>, <code>"WindowsServer20H2CoreContainer"</code>.",
"default": "AmazonLinux2",
"enum": [
"AmazonLinux2",
"Ubuntu2004",
"Ubuntu1804",
"Bottlerocket",
"WindowsServer2019CoreContainer",
"WindowsServer2019FullContainer",
"WindowsServer2004CoreContainer",
"WindowsServer20H2CoreContainer"
]
},
"asgSuspendProcesses": {
"items": {
"type": "string"
},
"type": "array",
"description": "See [relevant AWS docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-rollingupdate-suspendprocesses)",
"x-intellij-html-description": "See <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html#cfn-attributes-updatepolicy-rollingupdate-suspendprocesses\">relevant AWS docs</a>"
},
"availabilityZones": {
"items": {
"type": "string"
},
"type": "array",
"description": "Limit [nodes to specific AZs](/usage/autoscaling/#zone-aware-auto-scaling)",
"x-intellij-html-description": "Limit <a href=\"/usage/autoscaling/#zone-aware-auto-scaling\">nodes to specific AZs</a>"
},
"bottlerocket": {
"$ref": "#/definitions/NodeGroupBottlerocket",
"description": "specifies settings for Bottlerocket nodes",
"x-intellij-html-description": "specifies settings for Bottlerocket nodes"
},
"desiredCapacity": {
"type": "integer"
},
"disableIMDSv1": {
"type": "boolean",
"description": "requires requests to the metadata service to use IMDSv2 tokens",
"x-intellij-html-description": "requires requests to the metadata service to use IMDSv2 tokens",
"default": false
},
"disablePodIMDS": {
"type": "boolean",
"description": "blocks all IMDS requests from non host networking pods",
"x-intellij-html-description": "blocks all IMDS requests from non host networking pods",
"default": false
},
"ebsOptimized": {
"type": "boolean",
"description": "enables [EBS optimization](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html)",
"x-intellij-html-description": "enables <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html\">EBS optimization</a>"
},
"efaEnabled": {
"type": "boolean",
"description": "creates the maximum allowed number of EFA-enabled network cards on nodes in this group.",
"x-intellij-html-description": "creates the maximum allowed number of EFA-enabled network cards on nodes in this group."
},