You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/complete_cluster_deployment/main.tf
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,14 @@ provider "intersight" {
6
6
7
7
module"iks_cluster" {
8
8
source="terraform-cisco-modules/iks/intersight//"
9
-
version="2.1.0"
9
+
version="2.1.2"
10
10
11
11
# Kubernetes Cluster Profile Adjust the values as needed.
12
12
cluster={
13
-
name ="new_cluster"
13
+
name ="test"
14
14
action ="Unassign"
15
15
wait_for_completion =false
16
-
worker_nodes =5
16
+
worker_nodes =2
17
17
load_balancers =5
18
18
worker_max =20
19
19
control_nodes =1
@@ -24,7 +24,7 @@ module "iks_cluster" {
24
24
# IP Pool Information (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
25
25
ip_pool={
26
26
use_existing =true
27
-
name ="10-239-21-0"
27
+
name ="marvel-prod"
28
28
# ip_starting_address = "10.239.21.220"
29
29
# ip_pool_size = "20"
30
30
# ip_netmask = "255.255.255.0"
@@ -53,18 +53,18 @@ module "iks_cluster" {
53
53
}
54
54
55
55
# Version policy (To create new change "use_existing" to 'false' uncomment variables and modify them to meet your needs.)
56
-
version_policy={
57
-
use_existing =true
58
-
name ="1.19.15"
59
-
# version = "1.19.15"
56
+
versionPolicy={
57
+
useExisting =false
58
+
policyName="1.19.15"
59
+
iksVersionName ="1.19.15-iks.3"
60
60
}
61
61
62
62
# Trusted Registry Policy (To create new change "use_existing" to 'false' and set "create_new' to 'true' uncomment variables and modify them to meet your needs.)
63
63
# Set both variables to 'false' if this policy is not needed.
64
64
tr_policy={
65
65
use_existing =false
66
66
create_new =false
67
-
name ="trusted-registry"
67
+
#name = "trusted-registry"
68
68
}
69
69
70
70
# Runtime Policy (To create new change "use_existing" to 'false' and set "create_new' to 'true' uncomment variables and modify them to meet your needs.)
@@ -90,7 +90,7 @@ module "iks_cluster" {
90
90
use_existing =true
91
91
# platformType = "iwe"
92
92
# targetName = "falcon"
93
-
policyName ="dev"
93
+
policyName ="marvel-prod"
94
94
# description = "Test Policy"
95
95
# interfaces = ["iwe-guests"]
96
96
# vcTargetName = optional(string)
@@ -104,14 +104,14 @@ module "iks_cluster" {
104
104
# This is an Optional item. Comment or remove to not use. Multiple addons can be configured.
0 commit comments