-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcompute.yaml
2014 lines (2014 loc) · 63.7 KB
/
compute.yaml
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
x-generated: Automatically generated by CDP protoc plugin. Do not edit manually.
swagger: '2.0'
x-endpoint-name: compute
x-products: CDP
x-form-factors: public,private
x-cdp-releases: PUBLIC
info:
version: 0.9.135
title: Cloudera Compute Service
license:
name: Apache 2.0
description: Defining service of compute public API service
termsOfService: https://www.cloudera.com/legal/commercial-terms-and-conditions.html
schemes:
- https
consumes:
- application/json
produces:
- application/json
paths:
/api/v1/compute/createCluster:
post:
summary: Create compute cluster
description: Creates compute cluster.
operationId: createCluster
x-form-factors: public
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/CreateClusterRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/CreateClusterResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/compute/deleteCluster:
post:
summary: Delete compute cluster
description: Deletes compute cluster.
operationId: deleteCluster
x-form-factors: public
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DeleteClusterRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DeleteClusterResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/compute/describeCluster:
post:
summary: Describe compute cluster
description: Describe compute cluster details in a CDP Environment
operationId: describeCluster
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DescribeClusterRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DescribeClusterResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/compute/describeDeployment:
post:
summary: Describes a deployment
description: Gets a single deployment along with its extended history. This can also include all of the known templates.
operationId: describeDeployment
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/DescribeDeploymentRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/DescribeDeploymentResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/compute/listClusters:
post:
summary: List compute clusters
description: List all compute clusters in a CDP Environment
operationId: listClusters
x-paging-default-max-items: 100
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListClustersRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListClustersResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/compute/listDeployments:
post:
summary: List deployments in the cluster.
description: Lists the helm charts that are available for deployment or have already been deployed in this cluster.
operationId: listDeployments
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ListDeploymentsRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ListDeploymentsResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
/api/v1/compute/resumeCluster:
post:
summary: Resume Cluster
description: Resumes the compute cluster
operationId: resumeCluster
x-form-factors: public
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ResumeClusterRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ResumeClusterResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/compute/suspendCluster:
post:
summary: Suspend Cluster
description: Suspends the compute cluster
operationId: suspendCluster
x-form-factors: public
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/SuspendClusterRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/SuspendClusterResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/compute/upgradeDeployment:
post:
summary: Upgrades a deployment to a different chart.
description: Upgrades a deployment to a different chart.
operationId: upgradeDeployment
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/UpgradeDeploymentRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/UpgradeDeploymentResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: true
/api/v1/compute/validateCluster:
post:
summary: Validate compute cluster
description: Validates compute cluster.
operationId: validateCluster
x-form-factors: public
parameters:
- name: input
in: body
required: true
schema:
$ref: '#/definitions/ValidateClusterRequest'
responses:
200:
description: Expected response to a valid request.
schema:
$ref: '#/definitions/ValidateClusterResponse'
default:
description: The default response on an error.
schema:
$ref: '#/definitions/Error'
x-mutating: false
definitions:
Error:
type: object
description: An object returned on an error.
properties:
code:
type: string
description: The error code.
message:
type: string
description: The error message.
EnvCloudProvider:
type: string
description: "Object representing cloud provider type for Cloudera environment.\n `AWS` - Cloudera environment installed in AWS. `AZURE` - Cloudera environment installed in Azure. `OPENSHIFT` - Cloudera environment installed as on-premises installation using OpenShift in the base cluster. `GCP` - Cloudera environment installed in GCP. `REDHAT` - Cloudera environment installed as an on-premises deployment using Red Hat infrastructure. `KCLOUD` - Cloudera environment installed as an on-premises deployment using KCLOUD infrastructure. `STANDARD` - Cloudera environment installed as a generic on-premises deployment using CDP Data services."
enum:
- AWS
- AZURE
- OPENSHIFT
ComputePlatform:
type: string
description: "Object representing Cloudera Compute Cluster Platform provider.\n `OPENSHIFT` - OpenShift Container Platform cluster as compute platform (Cloudera on-premises only). `EKS` - EKS cluster as compute platform `AKS` - AKS cluster as compute platform `RKE` - Rancher RKE as compute platform (Cloudera on-premises only). `GKE` - GKE cluster as compute platform `OCP` - OCP Container Platform cluster as compute platform (Cloudera on-premises only). `KCLOUD` - KCLOUD cluster as compute platform (Cloudera on-premises only). `STANDARD` - STANDARD cluster as compute platform (Cloudera on-premises only)."
enum:
- OPENSHIFT
- EKS
- AKS
- RKE
ComputeClusterType:
type: string
description: "Object representing compute cluster types.\n `Shared` - Value representing a shared compute cluster. `DedicatedExternal` - Value representing an external dedicated compute cluster. `Dedicated` - Value representing an embedded dedicated compute cluster."
enum:
- Shared
- DedicatedExternal
- Dedicated
DescribeClusterRequest:
type: object
description: Request object for describing a cluster.
required:
- clusterCrn
properties:
clusterCrn:
type: string
description: Compute cluster CRN.
ComputeClusterOwner:
type: object
description: Compute cluster owner structure.
properties:
email:
type: string
description: Owner's email.
firstName:
type: string
description: Owner's firstname.
lastName:
type: string
description: Owner's lastname.
userId:
type: string
description: Owner's user ID.
accountId:
type: string
description: Owner's account ID.
crn:
type: string
description: Owner's actor CRN.
x-form-factors: public
CommonApiServerResp:
type: object
description: API server response structure.
properties:
authorizedIpRanges:
type: array
items:
type: string
description: An array of IPv4 CIDR blocks.
enabled:
type: boolean
description: Flag to indicate if whitelist of IP Ranges (CIDR block) for public access to the kubernetes API server is enabled.
x-form-factors: public
AzureSecretEncryptionResp:
type: object
description: Azure Secret Encryption response structure.
properties:
encryptionKeyUrl:
type: string
description: Encryption key URI.
userManagedIdentity:
type: string
description: Resource ID of the user managed identity.
x-form-factors: public
CommonSecretEncryptionResp:
type: object
description: Secret Encryption response structure.
properties:
customerKmsKeyArn:
type: string
description: AWS KMS key ARN.
azure:
description: Azure secret encryption details.
$ref: '#/definitions/AzureSecretEncryptionResp'
x-form-factors: public
AzureVolumeEncryptionResp:
type: object
description: Azure Volume Encryption response structure.
properties:
diskEncryptionSetId:
type: string
description: Disk encryption set ID.
x-form-factors: public
CommonVolumeEncryptionResp:
type: object
description: Volume encryption response structure.
properties:
customerKmsKeyArn:
type: string
description: AWS KMS key ARN.
azure:
description: Azure volume encryption details.
$ref: '#/definitions/AzureVolumeEncryptionResp'
x-form-factors: public
CommonSecurityResp:
type: object
description: Security response structure.
properties:
apiServer:
description: API server.
$ref: '#/definitions/CommonApiServerResp'
secretEncryption:
description: Secret encryption.
$ref: '#/definitions/CommonSecretEncryptionResp'
volumeEncryption:
description: Volume encryption.
$ref: '#/definitions/CommonVolumeEncryptionResp'
private:
type: boolean
description: Flag to indicate if this is a private cluster with API Server having internal IP addressees.
x-form-factors: public
CommonYuniKornResp:
type: object
description: YuniKorn response structure.
properties:
enabled:
type: boolean
description: Flag to indicate if yunikorn is enabled.
version:
type: string
description: Version. Deprecated.
x-deprecated: true
appSortingPolicy:
type: string
description: The app sorting policy. Deprecated.
x-deprecated: true
nodeSortingPolicy:
type: string
description: The node sorting policy. Deprecated.
x-deprecated: true
x-form-factors: public
CommonNvidiaResp:
type: object
description: Nvidia response structure.
properties:
gpuLabelKey:
type: string
description: GPU label key.
gpuLabelValue:
type: string
description: GPU label value.
x-form-factors: public
CommonAlertmanagerResp:
type: object
description: Alertmanager response structure.
properties:
enabled:
type: boolean
description: Flag to indicate if Alertmanager is enabled.
x-form-factors: public
CommonResourceLimitsResp:
type: object
description: Resource limits response structure.
properties:
cpu:
type: string
description: Prometheus server CPU limit (default 1000m).
memory:
type: string
description: Prometheus server memory limit (default 2048M).
x-form-factors: public
CommonMonitoringResp:
type: object
description: Monitoring response structure.
properties:
enabled:
type: boolean
description: Flag to indicate if Monitoring is enabled.
alertmanager:
description: Alertmanager.
$ref: '#/definitions/CommonAlertmanagerResp'
serverResourceLimits:
description: Server resource limits.
$ref: '#/definitions/CommonResourceLimitsResp'
x-form-factors: public
CommonMeteringServiceResp:
type: object
description: Metering service response structure.
properties:
serviceType:
type: string
description: Service type.
serviceVersion:
type: string
description: Service version.
workloadCrn:
type: string
description: Workload CRN.
clusterCrn:
type: string
description: Cluster CRN.
serviceConfiguration:
type: string
description: Service configuration.
x-form-factors: public
CommonMeteringResp:
type: object
description: Metering response structure.
properties:
enabled:
type: boolean
description: Flag to indicate if Monitoring is enabled.
services:
type: array
items:
$ref: '#/definitions/CommonMeteringServiceResp'
description: Array of services.
x-form-factors: public
CommonLoggingResp:
type: object
description: Logging response structure.
properties:
enabled:
type: boolean
description: True to enable logging installation (default false).
x-form-factors: public
CommonDeploymentProfileDetailsResp:
type: object
description: Deployment Profile details response structure.
properties:
enabled:
type: boolean
description: Deployment enable flag.
deploymentProfile:
type: string
description: Deployment profile used. Currently supported is common.
x-form-factors: public
CommonHorizontalPodAutoScalerResp:
type: object
description: Horizontal pod autoscaler response structure.
properties:
enabled:
type: boolean
description: Enable flag.
x-form-factors: public
CommonAutoscalerResp:
type: object
description: Autoscaler response structure.
properties:
scaleDownDelayAfterAdd:
type: string
description: How long after scale up that scale down evaluation resumes. (Azure/AWS Support).
scaleDownDelayAfterDelete:
type: string
description: How long after node deletion that scale down evaluation resumes, defaults to scanInterval. (Azure/AWS Support).
scaleDownDelayAfterFailure:
type: string
description: How long after scale down failure that scale down evaluation resumes. (Azure/AWS Support).
scaleDownEnabled:
type: boolean
description: Scale down flag. (AWS Support).
scaleDownNonEmptyCandidatesCount:
type: integer
format: int32
description: Maximum number of non empty nodes considered in one iteration as candidates for scale down with drain. Lower value means better CA responsiveness but possible slower scale down latency. Higher value can affect CA performance with big clusters (100s of nodes). Set to non positive value to turn this heuristic off - CA will not limit the number of nodes it considers. (AWS Support).
scaleDownUnneededTime:
type: string
description: How long a node should be unneeded before it is eligible for scale down. (Azure/AWS Support).
scaleDownUtilizationThreshold:
type: number
format: double
description: Node utilization level, defined as the sum of requested resources divided by capacity,. below which a node can be considered for scale down. (Azure/AWS Support).
scanInterval:
type: string
description: Scan interval. (Azure/AWS Support).
skipNodesWithLocalStorage:
type: boolean
description: Skip nodes with local storage flag. (AWS Support).
skipNodesWithSystemPods:
type: boolean
description: Skip nodes with system pods. (AWS Support).
maxGracefulTerminationSec:
type: integer
format: int64
description: Maximum number of seconds CA waits for pod termination when trying to scale down a node. (Azure Support).
scaleDownUnreadyTime:
type: string
description: How long an unready node should be unneeded before it is eligible for scale down. (Azure Support).
x-form-factors: public
CommonDeploymentsResp:
type: object
description: Deployments response structure.
properties:
autoscaler:
description: Autoscaler specs.
$ref: '#/definitions/CommonAutoscalerResp'
horizontalPodAutoscaler:
description: Horizontal pod autoscaler specs.
$ref: '#/definitions/CommonHorizontalPodAutoScalerResp'
istio:
description: Istio specs.
$ref: '#/definitions/CommonDeploymentProfileDetailsResp'
logging:
description: Logging specs.
$ref: '#/definitions/CommonLoggingResp'
metering:
description: Metering specs.
$ref: '#/definitions/CommonMeteringResp'
monitoring:
description: Monitoring specs.
$ref: '#/definitions/CommonMonitoringResp'
nvidia:
description: Nvidia specs.
$ref: '#/definitions/CommonNvidiaResp'
repository:
type: string
description: Repository for images.
yunikorn:
description: Yunikorn specs.
$ref: '#/definitions/CommonYuniKornResp'
telemetryKmsKeyArn:
type: string
description: Telemetry KMS key ARN.
knox:
description: Knox specs.
$ref: '#/definitions/CommonDeploymentProfileDetailsResp'
x-form-factors: public
CommonInstanceStateCounts:
type: object
description: Instance state counts response structure.
properties:
running:
type: integer
format: int64
description: Number of instances in running state.
creating:
type: integer
format: int64
description: Number of instances in creating state.
terminating:
type: integer
format: int64
description: Number of instances in terminating state.
total:
type: integer
format: int64
description: Total number of instances.
x-form-factors: public
AksPoolInstance:
type: object
description: AKS pool instance response structure.
properties:
name:
type: string
description: Name.
instanceId:
type: string
description: Instance ID.
availabilityZone:
type: string
description: Availability zone.
subnetId:
type: string
description: Subnet ID.
x-form-factors: public
AksNodePool:
type: object
description: AKS node pool response structure.
properties:
name:
type: string
description: Name.
type:
type: string
description: Type.
provisioningState:
type: string
description: Provisioning state.
instances:
type: array
items:
$ref: '#/definitions/AksPoolInstance'
description: AKS pool instance.
availabilityZones:
type: array
items:
type: string
description: Availability zones.
x-form-factors: public
AksInstanceGroup:
type: object
description: AKS instance group response structure.
properties:
instanceGroupName:
type: string
description: Instance group name.
instanceGroupId:
type: string
description: Instance group ID.
instanceType:
type: string
description: Instance type.
instanceTier:
type: string
description: Instance tier.
instanceStates:
description: Instance states
$ref: '#/definitions/CommonInstanceStateCounts'
instanceCount:
type: integer
format: int64
description: Instance count.
nodeVolumeSize:
type: integer
format: int64
description: Node volume size.
enableAutoScaling:
type: boolean
description: Enable auto scaling.
minInstance:
type: integer
format: int64
description: Min instances.
maxInstance:
type: integer
format: int64
description: Max instances.
singleZone:
type: boolean
description: Single zone.
labels:
type: object
description: Labels.
additionalProperties:
type: string
taints:
type: object
description: Taints.
additionalProperties:
type: string
tags:
type: object
description: Tags.
additionalProperties:
type: string
kubeReservedCpu:
type: integer
format: int64
description: Kube reserved CPU.
kubeReservedMemory:
type: integer
format: int64
description: Kube reserved memory.
kubeReservedStorage:
type: integer
format: int64
description: Kube reserved storage.
systemReservedCpu:
type: integer
format: int64
description: System reserved CPU.
systemReservedMemory:
type: integer
format: int64
description: System reserved memory.
systemReservedStorage:
type: integer
format: int64
description: System reserved storage.
availabilityZones:
type: array
items:
type: integer
format: int32
description: Availability zones.
nodePool:
description: AKS node pool.
$ref: '#/definitions/AksNodePool'
instances:
type: array
items:
$ref: '#/definitions/AksPoolInstance'
description: AKS pool instance.
isSystem:
type: boolean
description: True for a system node.
x-form-factors: public
AksState:
type: object
description: AKS state response structure.
properties:
provider:
type: string
description: Cloud provider.
clusterDisplayName:
type: string
description: Cluster display name.
clusterResourceGroup:
type: string
description: The Cluster ResourceGroup. Filled based on Parent ResourceGroup or ClusterDisplayName.
clusterResourceGroupCreated:
type: boolean
description: Specifies whether ClusterResourceGroup was created or not.
enableHttpApplicationRouting:
type: boolean
description: Specifies whether httpApplicationRouting addon is enabled or not.
enableMonitoring:
type: boolean
description: Specifies whether monitoring addon is enabled or not.
logAnalyticsWorkspaceResourceGroup:
type: string
description: The resource group for the Azure Log Analytics Workspace.
logAnalyticsWorkspace:
type: string
description: An existing Azure Log Analytics Workspace for monitoring addon.
virtualNetworkResourceGroup:
type: string
description: The resource group for the Azure Virtual Network. Composite of agent virtual network subnet ID.
virtualNetwork:
type: string
description: An existing Azure Virtual Network. Composite of agent virtual network subnet ID.
subnets:
type: array
items:
type: string
description: An array specifying existing Azure Virtual Subnets. Composite of agent virtual network subnet IDs.
selectedSubnet:
type: string
description: Selected Subnet from the list that is provided
parentResourceGroup:
type: string
description: The ResourceGroup which may be used for almost all the Azure resources created (with VirtualNetwork and Node ResourceGroup being exceptions).
adminUsername:
type: string
description: The username to use for Linux VMs.
sshPublicKeyContents:
type: string
description: The content of the SSH configuration for Linux VMs, Opposite to sshPublicKey.
sshPublicKey:
type: string
description: The local path of the SSH configuration for Linux VMs, Opposite to sshPublicKeyContents.
dnsServiceIp:
type: string
description: An IP address assigned to the kubernetes DNS service, it must be within the kubernetes service address range specified in serviceCidr.
dockerBridgeCidr:
type: string
description: A CIDR notation IP range assigned to the Docker bridge network, it must not overlap with any Azure Subnet IP ranges or the kubernetes service address range.
networkPlugin:
type: string
description: The plugin used for kubernetes network.
networkPolicy:
type: string
description: The policy used for kubernetes network.
podCidr:
type: string
description: A CIDR notation IP range from which to assign pod IPs when networkPlugin is using kubenet.
serviceCidr:
type: string
description: A CIDR notation IP range from which to assign service cluster IPs, it must not overlap with any Azure Subnet IP ranges.
networkCidrs:
type: array
items:
type: string
description: The actual CIDR ranges of the virtual network.
workerIngressRules:
type: array
items:
type: string
description: Ingress rules for worker nodes.
workerEgressRules:
type: array
items:
type: string
description: Egress rules for worker nodes.
masterDnsPrefix:
type: string
description: DNS prefix used for hostnames in the cluster.
tags:
type: object
description: Tags.
additionalProperties:
type: string
instanceGroups:
type: object
description: Instance groups.
additionalProperties:
$ref: '#/definitions/AksInstanceGroup'
deployments:
description: Deployments.
$ref: '#/definitions/CommonDeploymentsResp'
userData:
type: string
description: User data.
security:
description: Security.
$ref: '#/definitions/CommonSecurityResp'
x-form-factors: public
CommonEvent:
type: object
description: Event response structure.
properties:
details:
type: string
description: Details.
name:
type: string
description: Event name.
progress:
type: string
description: Progress.
resourceType:
type: string
description: Resource type.
status:
type: string
description: Status.
statusReason:
type: string
description: Status reason.
timestamp:
type: string
description: Timestamp.
x-form-factors: public
EksInstance:
type: object
description: EKS instance response structure.
properties:
instanceId:
type: string
description: Instance ID.
availabilityZone:
type: string
description: Availability zone.
subnetId:
type: string
description: Subnet ID.
x-form-factors: public
AcceleratorConfigResp:
type: object
description: Accelerator Configurations structure
properties:
acceleratorManufacturers:
type: array
items:
type: string
description: Accelerator Manufacturer type. For eg. amazon-web-service, AMD, nvidia.
acceleratorTypes:
type: array
items:
type: string
description: Accelerator Types. For eg. gpu, inference.
x-form-factors: public
CommonInstanceRequirementsResp:
type: object
description: Instance requirements structure.
properties:
allowedInstanceTypes:
type: array
items:
type: string
description: Instance types to include.
cpuTypes:
type: array
items:
type: string
description: CPU types required. For eg. intel, amd, amazon-web-services etc.
excludedInstanceTypes:
type: array
items:
type: string
description: Instance types to exclude, ignored if AllowedInstanceTypes is set.
maxCpu:
type: integer
format: int64
description: Maximum vCpu count.
minCpu:
type: integer
format: int64
description: Minimum vCpu count.
maxMemory:
type: integer
format: int64
description: Maximum memory requirement in MiB.
minMemory:
type: integer
format: int64
description: Minimum memory requirement in MiB.
acceleratorConfig:
description: Accelerator Config for AWS.
$ref: '#/definitions/AcceleratorConfigResp'
x-form-factors: public
CommonInstanceRequirementsWithMetadataResp:
type: object
description: Instance requirements with metadata response structure.
properties:
architectureTypes:
type: array
items:
type: string
description: The architecture types. For eg, i386, x86_64, arm64, x86_64_mac, arm64_mac.
virtualizationTypes:
type: array
items:
type: string
description: The virtualization types. For eg. hvm, paravirtual.
instanceRequirements:
description: The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
$ref: '#/definitions/CommonInstanceRequirementsResp'
x-form-factors: public
EksInstanceGroup:
type: object
description: EKS instance group response structure.
properties:
ami:
type: string
description: AMI.
imageParam:
type: string
description: Image param.
instanceGroupName:
type: string
description: Instance group name.
instanceGroupId:
type: string
description: Instance group ID.
instanceTier:
type: string
description: Instance tier.
instanceTypes:
type: array
items:
type: string
description: Instance types.
instanceCount:
type: integer
format: int64
description: Instance count.
instanceStates:
description: Instance states
$ref: '#/definitions/CommonInstanceStateCounts'
singleZone:
type: boolean
description: Single zone.
minInstance:
type: integer
format: int64
description: Min instances.
maxInstance:
type: integer