Skip to content

Commit 33a4bc1

Browse files
committed
Reword doc + add API_SERVER_PORT to the template
Signed-off-by: Damien DASSIEU <[email protected]>
1 parent b59f910 commit 33a4bc1

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/test-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test-e2e:
1111
name: Run on Ubuntu
1212
runs-on: ubuntu-latest
13-
timeout-minutes: 20
13+
timeout-minutes: 40
1414
steps:
1515
- name: Clone the code
1616
uses: actions/checkout@v4

docs/scalewaycluster.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ For more information about private DNS, please refer to the [Understanding Scale
151151
When creating a `ScalewayCluster`, a "main" Load Balancer is always created.
152152
It is also possible to specify "extra" Load Balancers to achieve regional redundancy.
153153

154-
#### Front API server port
154+
#### Frontend API server port
155155

156-
The kube-apiserver Load Balancer's front port can be set at the cluster creation in the `Cluster` object.
156+
The kube-apiserver Load Balancer's frontend port can be set at the cluster creation in the `Cluster` object.
157157

158-
Here is an example of the main Load Balancer port configuration:
158+
Here is an example of a Load Balancer frontend port configuration:
159159

160160
```yaml
161161
apiVersion: cluster.x-k8s.io/v1beta1
@@ -164,10 +164,10 @@ metadata:
164164
name: my-cluster
165165
namespace: default
166166
spec:
167-
...
167+
# ...
168168
clusterNetwork:
169169
apiServerPort: 443
170-
...
170+
# ...
171171
```
172172

173173
- The `apiServerPort` field specifies the port of the Load Balancer frontend that exposes the kube-apiserver(s).

templates/cluster-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
name: ${CLUSTER_NAME}
55
spec:
66
clusterNetwork:
7+
apiServerPort: ${API_SERVER_PORT:=null}
78
pods:
89
cidrBlocks:
910
- 10.244.0.0/16

0 commit comments

Comments
 (0)