File tree Expand file tree Collapse file tree 5 files changed +25
-15
lines changed
docs/book/src/topics/powervs Expand file tree Collapse file tree 5 files changed +25
-15
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ following the steps below.
77
77
IBMPOWERVS_COMPUTE_PROCTYPE
78
78
```
79
79
80
+ Additional parameters for modifying PowerVS Cluster API server port
81
+ ```
82
+ API_SERVER_PORT
83
+ ```
84
+
80
85
3. Check the state of the provisioned cluster and machine objects within the local management cluster
81
86
82
87
Clusters
Original file line number Diff line number Diff line change @@ -50,3 +50,8 @@ IBMPOWERVS_COMPUTE_PROCESSORS
50
50
IBMPOWERVS_COMPUTE_SYSTYPE
51
51
IBMPOWERVS_COMPUTE_PROCTYPE
52
52
```
53
+
54
+ ### Additional parameters for modifying PowerVS Cluster API server port
55
+ ```
56
+ API_SERVER_PORT
57
+ ```
Original file line number Diff line number Diff line change 35
35
name : " ${IBMPOWERVS_NETWORK_NAME}"
36
36
controlPlaneEndpoint :
37
37
host : " ${IBMPOWERVS_VIP_EXTERNAL}"
38
- port : 6443
38
+ port : ${API_SERVER_PORT:= 6443}
39
39
---
40
40
kind : KubeadmControlPlane
41
41
apiVersion : controlplane.cluster.x-k8s.io/v1beta1
57
57
- " ${IBMPOWERVS_VIP_EXTERNAL}"
58
58
extraArgs :
59
59
cloud-provider : external
60
- controlPlaneEndpoint : ${IBMPOWERVS_VIP}:6443
60
+ controlPlaneEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
61
61
controllerManager :
62
62
extraArgs :
63
63
cloud-provider : external
72
72
joinConfiguration :
73
73
discovery :
74
74
bootstrapToken :
75
- apiServerEndpoint : ${IBMPOWERVS_VIP}:6443
75
+ apiServerEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
76
76
token : " "
77
77
caCertHashes : [ ]
78
78
unsafeSkipCAVerification : false
@@ -106,7 +106,7 @@ spec:
106
106
- name: vip_arp
107
107
value: "true"
108
108
- name: port
109
- value: "6443"
109
+ value: "${API_SERVER_PORT:= 6443} "
110
110
- name: vip_interface
111
111
value: env2
112
112
- name: vip_cidr
@@ -226,7 +226,7 @@ spec:
226
226
joinConfiguration :
227
227
discovery :
228
228
bootstrapToken :
229
- apiServerEndpoint : ${IBMPOWERVS_VIP}:6443
229
+ apiServerEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
230
230
token : " "
231
231
caCertHashes : []
232
232
unsafeSkipCAVerification : false
Original file line number Diff line number Diff line change 34
34
name : " ${IBMPOWERVS_NETWORK_NAME}"
35
35
controlPlaneEndpoint :
36
36
host : " ${IBMPOWERVS_VIP_EXTERNAL}"
37
- port : 6443
37
+ port : ${API_SERVER_PORT:= 6443}
38
38
---
39
39
kind : KubeadmControlPlane
40
40
apiVersion : controlplane.cluster.x-k8s.io/v1beta1
54
54
certSANs :
55
55
- " ${IBMPOWERVS_VIP}"
56
56
- " ${IBMPOWERVS_VIP_EXTERNAL}"
57
- controlPlaneEndpoint : ${IBMPOWERVS_VIP}:6443
57
+ controlPlaneEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
58
58
controllerManager :
59
59
extraArgs :
60
60
enable-hostpath-provisioner : " true"
69
69
joinConfiguration :
70
70
discovery :
71
71
bootstrapToken :
72
- apiServerEndpoint : ${IBMPOWERVS_VIP}:6443
72
+ apiServerEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
73
73
token : " "
74
74
caCertHashes : [ ]
75
75
unsafeSkipCAVerification : false
@@ -104,7 +104,7 @@ spec:
104
104
- name: vip_arp
105
105
value: "true"
106
106
- name: port
107
- value: "6443"
107
+ value: "${API_SERVER_PORT:= 6443} "
108
108
- name: vip_interface
109
109
value: env2
110
110
- name: vip_cidr
@@ -223,7 +223,7 @@ spec:
223
223
joinConfiguration :
224
224
discovery :
225
225
bootstrapToken :
226
- apiServerEndpoint : ${IBMPOWERVS_VIP}:6443
226
+ apiServerEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
227
227
token : " "
228
228
caCertHashes : []
229
229
unsafeSkipCAVerification : false
Original file line number Diff line number Diff line change 69
69
spec :
70
70
controlPlaneEndpoint :
71
71
host : " ${IBMPOWERVS_VIP_EXTERNAL}"
72
- port : 6443
72
+ port : ${API_SERVER_PORT:= 6443}
73
73
network :
74
74
name : " ${IBMPOWERVS_NETWORK_NAME}"
75
75
serviceInstanceID : " ${IBMPOWERVS_SERVICE_INSTANCE_ID}"
89
89
- " ${IBMPOWERVS_VIP_EXTERNAL}"
90
90
extraArgs :
91
91
cloud-provider : external
92
- controlPlaneEndpoint : ${IBMPOWERVS_VIP}:6443
92
+ controlPlaneEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
93
93
controllerManager :
94
94
extraArgs :
95
95
cloud-provider : external
@@ -110,7 +110,7 @@ spec:
110
110
- name: vip_arp
111
111
value: "true"
112
112
- name: port
113
- value: "6443"
113
+ value: "${API_SERVER_PORT:= 6443} "
114
114
- name: vip_interface
115
115
value: env2
116
116
- name: vip_cidr
@@ -168,7 +168,7 @@ spec:
168
168
joinConfiguration :
169
169
discovery :
170
170
bootstrapToken :
171
- apiServerEndpoint : 192.168.167.85:6443
171
+ apiServerEndpoint : 192.168.167.85:${API_SERVER_PORT:= 6443}
172
172
caCertHashes : []
173
173
token : " "
174
174
unsafeSkipCAVerification : false
@@ -199,7 +199,7 @@ spec:
199
199
joinConfiguration :
200
200
discovery :
201
201
bootstrapToken :
202
- apiServerEndpoint : ${IBMPOWERVS_VIP}:6443
202
+ apiServerEndpoint : ${IBMPOWERVS_VIP}:${API_SERVER_PORT:= 6443}
203
203
caCertHashes : []
204
204
token : " "
205
205
unsafeSkipCAVerification : false
You can’t perform that action at this time.
0 commit comments