Skip to content

Commit 8ed5587

Browse files
authored
update k3s docs for 1.22 (#567)
1 parent f8703a2 commit 8ed5587

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

setup/kubernetes/k3s.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,32 +32,15 @@ Before proceeding, please make sure that:
3232

3333
- You have the following software installed on your machine:
3434

35-
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
3635
- [helm](https://helm.sh/docs/intro/install/)
3736

3837
- Your network policy or firewall accepts incoming traffic on:
3938

40-
- Port 22 (SSH)
4139
- Port 80 (HTTP)
4240
- Port 443 (HTTPS)
43-
- Port 5349 (TURNS)
44-
- **Optional**: Port 443 (Kubernetes API)
41+
- **Optional**: Port 6443 (Kubernetes API)
4542

46-
## Step 1: Change the default SSH port
47-
48-
> If you've enabled Networking v2 after installing Coder (you can do so by going
49-
> to **Manage** > **Admin** > **Infrastructure**), this step to SSH into
50-
> workspaces isn't necessary, since TURNS is used instead.
51-
52-
To allow [SSH into workspaces](../../workspaces/ssh), you must change the host's
53-
default SSH port to free up port `22`. You may also need to modify your firewall
54-
to accept incoming traffic from the alternative port (e.g., if you rename port
55-
`22` to `5522`, then your firewall must accept traffic from `5522`).
56-
57-
> If you don't know how to change the SSH port in Linux, please review this
58-
> [guide from Linuxize](https://linuxize.com/post/how-to-change-ssh-port-in-linux/)
59-
60-
## Step 2: Install K3s with Calico
43+
## Step 1: Install K3s with Calico
6144

6245
The following steps are based on
6346
[Calico's quickstart guide](https://docs.projectcalico.org/getting-started/kubernetes/k3s/quickstart)
@@ -96,7 +79,7 @@ Traefik in favor of Calico and nginx-ingress.
9679
watch kubectl get pods --all-namespaces
9780
```
9881

99-
## Step 3: Allow IP Forwarding
82+
## Step 2: Allow IP Forwarding
10083

10184
Modify Calico to enable IP forwarding, which is needed for container networking.
10285

@@ -114,7 +97,7 @@ Under `container_settings`, set `allow_ip_forwarding` to `true`:
11497
}
11598
```
11699

117-
## Step 4: Copy over the kubeconfig
100+
## Step 3: Copy over the kubeconfig
118101

119102
Occasionally, Helm will not recognize the K3s cluster (see
120103
k3s-io/[k3s#1126](https://github.com/k3s-io/k3s/issues/1126) for more

0 commit comments

Comments
 (0)