forked from oracle-quickstart/oke-flink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.yaml
1150 lines (1041 loc) · 30.1 KB
/
schema.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
## Copyright © 2022, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
title: Apache Flink on OKE (using Flink Operator)
description: |
Deploy an Oracle Kubernetes Engine cluster with Apache Flink via the Flink Operator.
stackDescription: |
Apache Flink on a multi-node-pool OKE cluster.
informationalText: |
To get started, run the Cluster Access Command locally or in Cloud Shell, to access the OKE cluster.
Run a demo job by running the flink_demo_job command.
Forward the UI service port locally to get access to the UI.
Once the port is forwarded, click the Flink UI link to access the UI.
schemaVersion: 1.1.0
locale: "en"
variableGroups:
- title: Cluster Networking
variables:
- use_existing_vcn
- vcn_compartment_id
- vcn_cidr
- vcn_id
- add_vcn_tag
- vcn_tags
- title: Cluster API Endpoint
variables:
- is_endpoint_public
- kubernetes_endpoint_subnet
- title: Cluster Definition
variables:
- cluster_name
- cluster_compartment_id
- kubernetes_version
- pods_cidr
- services_cidr
- cluster_options_add_ons_is_kubernetes_dashboard_enabled
- cluster_options_add_ons_is_tiller_enabled
- add_cluster_tag
- cluster_tags
- title: Number of Node Pools
variables:
- node_pool_count
- title: Node SSH Access
variables:
- ssh_public_key
- title: Node Pool 1
visible:
and:
- le:
- node_pool_count
- 3
- ge:
- node_pool_count
- 1
variables:
- np1_subnet
- np1_ha
- np1_availability_domain
- np1_node_shape
- np1_ocpus
- np1_memory_gb
- np1_enable_autoscaler
- np1_autoscaler_min_nodes
- np1_autoscaler_max_nodes
- np1_node_count
- np1_image_id
- np1_boot_volume_size_in_gbs
- np1_add_tag
- np1_tags
- title: Node Pool 2
visible:
and:
- le:
- node_pool_count
- 3
- ge:
- node_pool_count
- 2
variables:
- np2_subnet
- np2_ha
- np2_availability_domain
- np2_create_new_subnet
- np2_node_shape
- np2_ocpus
- np2_memory_gb
- np2_enable_autoscaler
- np2_autoscaler_min_nodes
- np2_autoscaler_max_nodes
- np2_node_count
- np2_image_id
- np2_boot_volume_size_in_gbs
- np2_add_tag
- np2_tags
- title: Node Pool 3
visible:
eq:
- node_pool_count
- 3
variables:
- np3_subnet
- np3_ha
- np3_availability_domain
- np3_create_new_subnet
- np3_node_shape
- np3_ocpus
- np3_memory_gb
- np3_enable_autoscaler
- np3_autoscaler_min_nodes
- np3_autoscaler_max_nodes
- np3_node_count
- np3_image_id
- np3_boot_volume_size_in_gbs
- np3_add_tag
- np3_tags
- title: Services Load Balancing
variables:
- allow_deploy_private_lb
- private_lb_subnet
- allow_deploy_public_lb
- public_lb_subnet
visible: ${use_existing_vcn}
- title: Services Load Balancing
variables:
- allow_deploy_private_lb
- allow_deploy_public_lb
visible:
not:
- ${use_existing_vcn}
- title: "Security: Secrets Encryption"
variables:
- enable_secret_encryption
- secrets_key_vault_compartment_id
- secrets_key_vault_id
- secrets_key_id
- title: "Security: Image Signature Validation"
variables:
- enable_image_validation
- image_validation_key_vault_compartment_id
- image_validation_key_vault_id
- image_validation_key_id
- title: "Security: Pod Admission Controllers"
variables:
- enable_pod_admission_controller
- title: "Cluster Autoscaler Settings"
variables:
- cluster_autoscaler_max_node_provision_time
- cluster_autoscaler_scale_down_delay_after_add
- cluster_autoscaler_scale_down_unneeded_time
- cluster_autoscaler_unremovable_node_recheck_timeout
visible:
or:
- np1_enable_autoscaler
- np2_enable_autoscaler
- np3
- title: "Deployments"
variables:
- enable_flink
- enable_cert_manager
- enable_metrics_server
- enable_monitoring_stack
variables:
# Global, hidden variables
region:
type: string
title: Region
visible: false
tenancy_ocid:
type: string
title: Tenancy ID
visible: false
# Cluster Networking
use_existing_vcn:
type: boolean
default: false
title: Use an existing VCN
description: Check this option if you wish to deploy the cluster in an existing VCN.
required: true
vcn_compartment_id:
type: oci:identity:compartment:id
title: Compartment to use for the VCN
description: Compartment of the VCN for the Kubernetes cluster.
visible: true
required: true
default: compartment_ocid
vcn_id:
type: oci:core:vcn:id
title: VCN for the Kubernetes cluster
dependsOn:
compartmentId: vcn_compartment_id
required: true
visible: ${use_existing_vcn}
vcn_cidr:
type: string
default: "10.0.0.0/16"
title: CIDR block for the VCN
required: true
visible:
not:
- ${use_existing_vcn}
add_vcn_tag:
type: boolean
title: Add Tags to VCN
default: false
visible:
not:
- use_existing_vcn
vcn_tags:
type: oci:identity:tag:value
required: false
title: Tagging
description: Tag value for resource created
dependsOn:
compartmentId: cluster_compartment_id
visible:
and:
- add_vcn_tag
- not:
- use_existing_vcn
# Cluster API endpoint
is_endpoint_public:
type: boolean
default: true
title: Expose the Kubernetes Endpoint to the Internet.
description: Select this option to make the Kubernetes Endpoint public. If left unchecked, a bastion host will be needed to access the cluster.
required: true
visible:
not:
- ${use_existing_vcn}
kubernetes_endpoint_subnet:
type: oci:core:subnet:id
title: Subnet for the Kubernetes Endpoint
description: Select a subnet for the Kubernetes endpoint. Choosing a public subnet will expose the endpoint to the internet.
dependsOn:
compartmentId: vcn_compartment_id
vcnId: vcn_id
required: true
visible: ${use_existing_vcn}
# Cluster Definition
cluster_name:
type: string
title: Cluster Name
visible: true
default: "Flink Cluster"
cluster_compartment_id:
type: oci:identity:compartment:id
title: Compartment for the Cluster Deployment
description: Compartment where the Kubernetes cluster will be deployed.
visible: true
default: compartment_ocid
required: true
kubernetes_version:
type: enum
title: "Kubernetes Version"
enum: # Necessary hardcoded supported versions, as ORM does not retrieve the versions from OKE.
- "v1.27.2"
- "v1.26.7"
- "v1.26.2"
- "v1.25.12"
- "v1.25.4"
required: true
default: "v1.27.2"
description: The Kubernetes version for the cluster.
# dependsOn:
# compartmentId: cluster_compartment_id
# clusterOptionId: "all"
pods_cidr:
type: string
title: Pods CIDR block
description: CIDR range for Kubernetes Pods
default: "10.1.0.0/16"
required: true
services_cidr:
type: string
title: Services CIDR block
description: CIDR range for Kubernetes Services
default: "10.2.0.0/16"
required: true
cluster_options_add_ons_is_kubernetes_dashboard_enabled:
type: boolean
title: Enable Kubernetes Dashboard
description: Enable the Kubernetes Dashboard
default: true
visible: true
cluster_options_add_ons_is_tiller_enabled:
type: boolean
title: Enable Tiller / Helm
default: true
visible: true
node_pool_count:
type: integer
minimum: 1
maximum: 3
default: 1
title: Number of Node Pools
description: |
Select a number of node pools to create for the cluster.
Note this is different from the number of nodes, which are defined for each pool.
Multiple node pools let you use nodes of different shapes and architectures (x86-64, ARM, GPU, DenseIO shapes etc.)
required: true
ssh_public_key:
type: oci:core:ssh:publickey
title: SSH Public Key
description: Public key to use to SSH to work nodes. If not defined, a new key will be created.
add_cluster_tag:
type: boolean
title: Add Tags to Cluster
default: false
cluster_tags:
type: oci:identity:tag:value
required: false
title: Cluster Tags
description: Tag value for resource created
default: vcn_tag
dependsOn:
compartmentId: cluster_compartment_id
visible: add_cluster_tag
# Services Load Balancer
allow_deploy_public_lb:
type: boolean
default: true
title: Use Public Load Balancers for Services
description: |
Provision a public subnet for public load balancers, for services that need to be exposed to the internet.
Private services can still be deployed in the cluster by not specifying the type as Load Balancer.
required: true
public_lb_subnet:
type: oci:core:subnet:id
title: Subnet for Public Load Balancers
description: |
Select a public subnet for load balancers that will expose services to the internet.
Note: if you set up more than one load balancer, the subnet must be AD specific.
dependsOn:
compartmentId: vcn_compartment_id
vcnId: vcn_id
required: true
visible:
and:
- ${use_existing_vcn}
- allow_deploy_public_lb
# Node Pool 1
np1_subnet:
type: oci:core:subnet:id
dependsOn:
compartmentId: vcn_compartment_id
vcnId: vcn_id
title: Subnet for this Node Pool
description: Choose a subnet for this node pool. Choosing a public subnet will expose nodes in this pool to the internet.
visible: use_existing_vcn
required: true
np1_ha:
type: boolean
title: Place Nodes Across Availability Domains
description: |
When set, attempt to place nodes across availability domains where the shape is available.
If not set, choose an availability domain where nodes should be provisioned.
default: true
np1_availability_domain:
type: oci:identity:availabilitydomain:name
dependsOn:
compartmentId: tenancy_ocid
title: Availability Domain
description: Choose an availability domain to place the nodes of this pool.
visible:
not:
- np1_ha
required: true
np1_node_shape:
type: oci:core:instanceshape:name
title: Instance Shape
description: Choose a shape for this node pool
default: "VM.Standard.E4.Flex"
dependsOn:
compartmentId: cluster_compartment_id
required: true
np1_ocpus:
type: number
title: Flex shape OCPU count
description: Choose a OCPU count for this pool's Flex shape.
dependsOn:
compartmentId: cluster_compartment_id
required: true
default: 4
visible:
and:
- ge:
- node_pool_count
- 1
- or:
- eq:
- np1_node_shape
- "VM.DenseIO.E4.Flex"
- eq:
- np1_node_shape
- "VM.Optimized3.Flex"
- eq:
- np1_node_shape
- "VM.Standard.A1.Flex"
- eq:
- np1_node_shape
- "VM.Standard.E3.Flex"
- eq:
- np1_node_shape
- "VM.Standard.E4.Flex"
- eq:
- np1_node_shape
- "VM.Standard3.Flex"
np1_memory_gb:
type: number
title: Flex shape Memory (in Gb)
description: Choose a amount of memory for this pool's Flex shape.
dependsOn:
compartmentId: cluster_compartment_id
required: true
default: 64
visible:
and:
- ge:
- node_pool_count
- 1
- or:
- eq:
- np1_node_shape
- "VM.DenseIO.E4.Flex"
- eq:
- np1_node_shape
- "VM.Optimized3.Flex"
- eq:
- np1_node_shape
- "VM.Standard.A1.Flex"
- eq:
- np1_node_shape
- "VM.Standard.E3.Flex"
- eq:
- np1_node_shape
- "VM.Standard.E4.Flex"
- eq:
- np1_node_shape
- "VM.Standard3.Flex"
np1_enable_autoscaler:
type: boolean
title: Enable Node Pool Autoscaler
description: Enable scaling of the number of nodes automatically.
default: true
np1_node_count:
type: number
minimum: 0
maximum: 256
default: 3
title: Nb Nodes
description: Number of nodes in the pool
required: true
visible:
not:
- np1_enable_autoscaler
np1_autoscaler_min_nodes:
type: number
minimum: 0
maximum: 256
default: 1
title: Minimum Number of Nodes
description: Minimum number of nodes in the pool. Set to 0 to allow scaling the pool down completely.
required: true
visible:
eq:
- np1_enable_autoscaler
- true
np1_autoscaler_max_nodes:
type: number
minimum: 1
maximum: 256
default: 6
title: Maximum Number of Nodes
description: Maximum number of nodes the pool can scale to.
required: true
visible:
eq:
- np1_enable_autoscaler
- true
np1_image_id:
type: oci:core:image:id
title: Image Id
description: |
Image to use for this Node Pool.
Some applications may require specific versions of Linux. OL7.9 is preferred.
dependsOn:
compartmentId: cluster_compartment_id
shape: np1_node_shape
operatingSystem: "Oracle Linux"
required: true
np1_boot_volume_size_in_gbs:
type: integer
title: Boot Volume Size (Gb)
description: Boot volume size
default: 50
minimum: 50
maximum: 500
required: true
np1_add_tag:
type: boolean
title: Add Tags to Node Pool 1
default: false
np1_tags:
type: oci:identity:tag:value
required: false
title: Node Pool Tags
description: Tag value for resource created
default: cluster_tag
dependsOn:
compartmentId: cluster_compartment_id
visible: np1_add_tag
# Node Pool 2
np2_ha:
type: boolean
title: Place Nodes Across Availability Domains
description: |
When set, attempt to place nodes across availability domains where the shape is available.
If not set, choose an availability domain where nodes should be provisioned.
default: true
np2_create_new_subnet:
type: boolean
title: Create New Subnet
description: Create a distinct subnet for this node pool. Leave unchecked to place all nodes into the same subnet.
default:
and:
- ge:
- node_pool_count
- 2
- not:
- use_existing_vcn
visible:
not:
- use_existing_vcn
np2_subnet:
type: oci:core:subnet:id
dependsOn:
compartmentId: vcn_compartment_id
vcnId: vcn_id
title: Subnet for this Node Pool
description: Choose a subnet for this node pool. Choosing a public subnet will expose nodes in this pool to the internet.
visible: use_existing_vcn
np2_availability_domain:
type: oci:identity:availabilitydomain:name
dependsOn:
compartmentId: tenancy_ocid
title: Availability Domain
description: Choose an availability domain to place the nodes of this pool.
visible:
not:
- np2_ha
required: true
np2_node_shape:
type: oci:core:instanceshape:name
title: Instance Shape
description: Choose a shape for this node pool
default: "VM.Standard.E4.Flex"
dependsOn:
compartmentId: cluster_compartment_id
required: true
np2_ocpus:
type: number
title: Flex shape OCPU count
description: Choose a OCPU count for this pool's Flex shape.
dependsOn:
compartmentId: cluster_compartment_id
required: true
visible:
and:
- ge:
- node_pool_count
- 2
- or:
- eq:
- np2_node_shape
- "VM.DenseIO.E4.Flex"
- eq:
- np2_node_shape
- "VM.Optimized3.Flex"
- eq:
- np2_node_shape
- "VM.Standard.A1.Flex"
- eq:
- np2_node_shape
- "VM.Standard.E3.Flex"
- eq:
- np2_node_shape
- "VM.Standard.E4.Flex"
- eq:
- np2_node_shape
- "VM.Standard3.Flex"
np2_memory_gb:
type: number
title: Flex shape Memory (in Gb)
description: Choose a amount of memory for this pool's Flex shape.
dependsOn:
compartmentId: cluster_compartment_id
required: true
visible:
and:
- ge:
- node_pool_count
- 2
- or:
- eq:
- np2_node_shape
- "VM.DenseIO.E4.Flex"
- eq:
- np2_node_shape
- "VM.Optimized3.Flex"
- eq:
- np2_node_shape
- "VM.Standard.A1.Flex"
- eq:
- np2_node_shape
- "VM.Standard.E3.Flex"
- eq:
- np2_node_shape
- "VM.Standard.E4.Flex"
- eq:
- np2_node_shape
- "VM.Standard3.Flex"
np2_enable_autoscaler:
type: boolean
title: Enable Node Pool Autoscaler
description: Enable scaling of the number of nodes automatically.
default: true
np2_node_count:
type: number
minimum: 0
maximum: 256
default: 0
title: Nb Nodes
description: Number of nodes in the pool. Leave the number to 0 to provision a node pool without provisioning nodes.
required: true
visible:
not:
- np2_enable_autoscaler
np2_autoscaler_min_nodes:
type: number
minimum: 0
maximum: 256
default: 0
title: Minimum Number of Nodes
description: Minimum number of nodes in the pool. Set to 0 to allow scaling down the pool completely.
required: true
visible:
eq:
- np2_enable_autoscaler
- true
np2_autoscaler_max_nodes:
type: number
minimum: 1
maximum: 256
default: 6
title: Maximum Number of Nodes
description: Maximum number of nodes the pool can scale to.
required: true
visible:
eq:
- np2_enable_autoscaler
- true
np2_image_id:
type: oci:core:image:id
title: Image Id
description: |
Image to use for this Node Pool.
Some applications may require specific versions of Linux. OL7.9 is preferred.
dependsOn:
compartmentId: cluster_compartment_id
shape: np2_node_shape
operatingSystem: "Oracle Linux"
required: true
np2_boot_volume_size_in_gbs:
type: integer
title: Boot Volume Size (Gb)
description: Boot volume size
default: 50
minimum: 50
maximum: 500
required: true
np2_add_tag:
type: boolean
title: Add Tags to Node Pool 2
default: false
np2_tags:
type: oci:identity:tag:value
required: false
title: Node Pool Tags
description: Tag value for resource created
default: cluster_tag
dependsOn:
compartmentId: cluster_compartment_id
visible: np2_add_tag
# Node Pool 3
np3_ha:
type: boolean
title: Place Nodes Across Availability Domains
description: |
When set, attempt to place nodes across availability domains where the shape is available.
If not set, choose an availability domain where nodes should be provisioned.
default: true
np3_create_new_subnet:
type: boolean
title: Create New Subnet
description: Create a distinct subnet for this node pool. Leave unchecked to place all nodes into the same subnet.
default: true
visible:
not:
- ${use_existing_vcn}
np3_subnet:
type: oci:core:subnet:id
dependsOn:
compartmentId: vcn_compartment_id
vcnId: vcn_id
title: Subnet for this Node Pool
description: Choose a subnet for this node pool. Choosing a public subnet will expose nodes in this pool to the internet.
visible: ${use_existing_vcn}
np3_availability_domain:
type: oci:identity:availabilitydomain:name
dependsOn:
compartmentId: tenancy_ocid
title: Availability Domain
description: Choose an availability domain to place the nodes of this pool.
visible:
not:
- np3_ha
np3_node_shape:
type: oci:core:instanceshape:name
title: Instance Shape
description: Choose a shape for this node pool
default: "VM.Standard.E4.Flex"
dependsOn:
compartmentId: cluster_compartment_id
required: true
np3_ocpus:
type: number
title: Flex shape OCPU count
description: Choose a OCPU count for this pool's Flex shape.
dependsOn:
compartmentId: cluster_compartment_id
required: true
visible:
and:
- ge:
- node_pool_count
- 3
- or:
- eq:
- np3_node_shape
- "VM.DenseIO.E4.Flex"
- eq:
- np3_node_shape
- "VM.Optimized3.Flex"
- eq:
- np3_node_shape
- "VM.Standard.A1.Flex"
- eq:
- np3_node_shape
- "VM.Standard.E3.Flex"
- eq:
- np3_node_shape
- "VM.Standard.E4.Flex"
- eq:
- np3_node_shape
- "VM.Standard3.Flex"
np3_memory_gb:
type: number
title: Flex shape Memory (in Gb)
description: Choose a amount of memory for this pool's Flex shape.
dependsOn:
compartmentId: cluster_compartment_id
required: true
visible:
and:
- ge:
- node_pool_count
- 3
- or:
- eq:
- np1_node_shape
- "VM.DenseIO.E4.Flex"
- eq:
- np1_node_shape
- "VM.Optimized3.Flex"
- eq:
- np1_node_shape
- "VM.Standard.A1.Flex"
- eq:
- np1_node_shape
- "VM.Standard.E3.Flex"
- eq:
- np1_node_shape
- "VM.Standard.E4.Flex"
- eq:
- np1_node_shape
- "VM.Standard3.Flex"
np3_enable_autoscaler:
type: boolean
title: Enable Node Pool Autoscaler
description: Enable scaling of the number of nodes automatically.
default: true
np3_node_count:
type: number
minimum: 0
maximum: 256
default: 0
title: Nb Nodes
description: Number of nodes in the pool. Leave the number to 0 to provision a node pool without provisioning nodes.
required: true
visible:
not:
- np3_enable_autoscaler
np3_autoscaler_min_nodes:
type: number
minimum: 0
maximum: 256
default: 0
title: Minimum Number of Nodes
description: Minimum number of nodes in the pool. Set to 0 to scale the pool down completely.
required: true
visible:
eq:
- np3_enable_autoscaler
- true
np3_autoscaler_max_nodes:
type: number
minimum: 1
maximum: 256
default: 6
title: Maximum Number of Nodes
description: Maximum number of nodes the pool can scale to.
required: true
visible:
eq:
- np3_enable_autoscaler
- true
np3_image_id:
type: oci:core:image:id
title: Image Id
description: |
Image to use for this Node Pool.
Some applications may require specific versions of Linux. OL7.9 is preferred.
dependsOn:
compartmentId: cluster_compartment_id
shape: np3_node_shape
operatingSystem: "Oracle Linux"
required: true
np3_boot_volume_size_in_gbs:
type: integer
title: Boot Volume Size (Gb)
description: Boot volume size
default: 50
minimum: 50
maximum: 500
required: true
np3_add_tag:
type: boolean
title: Add Tags to Node Pool 3
default: false
np3_tags:
type: oci:identity:tag:value
required: false
title: Node Pool Tags
description: Tag value for resource created
default: cluster_tag
dependsOn:
compartmentId: cluster_compartment_id
visible: np3_add_tag
enable_secret_encryption:
type: boolean
default: false
title: Use User Owned Key for Kubernetes Secrets encryption
description: |
Enable the at-rest encryption of Kubernetes Secrets with yor own key.
Note this requires tenancy administrator permissions to create a Dynamic Group for the cluster.
!!! This property cannot be changed without destroying and re-creating the cluster.
secrets_key_vault_compartment_id:
type: oci:identity:compartment:id
title: Vault Compartment
description: Compartment of the vault storing the key for secrets encryption
default: cluster_compartment_id
visible: enable_secret_encryption
required: true
secrets_key_vault_id:
type: oci:kms:vault:id
title: Vault
description: Vault storing the key for Kubernetes Secrets encryption at rest.
dependsOn:
compartmentId: secrets_key_vault_compartment_id
visible: enable_secret_encryption
required: true
secrets_key_id:
type: oci:kms:key:id
title: Kubernetes Secrets Encryption Key
description: |
Key used for Kubernetes Secrets encryption at rest.
This key must be an AES or RSA key.
visible: enable_secret_encryption
dependsOn:
compartmentId: secrets_key_vault_compartment_id
vaultId: secrets_key_vault_id
required: true
enable_image_validation:
type: boolean
default: false
title: Enable Container Image Signature Validation
description: |
Enable image signature validation in the Kubernetes cluster, requiring all images to be signed to be deployed.
Note this requires tenancy administrator permissions to create a Dynamic Group for the cluster.
This option can be updated later.