@@ -32,32 +32,15 @@ Before proceeding, please make sure that:
32
32
33
33
- You have the following software installed on your machine:
34
34
35
- - [ kubectl] ( https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ )
36
35
- [ helm] ( https://helm.sh/docs/intro/install/ )
37
36
38
37
- Your network policy or firewall accepts incoming traffic on:
39
38
40
- - Port 22 (SSH)
41
39
- Port 80 (HTTP)
42
40
- Port 443 (HTTPS)
43
- - Port 5349 (TURNS)
44
- - ** Optional** : Port 443 (Kubernetes API)
41
+ - ** Optional** : Port 6443 (Kubernetes API)
45
42
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
61
44
62
45
The following steps are based on
63
46
[ 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.
96
79
watch kubectl get pods --all-namespaces
97
80
```
98
81
99
- ## Step 3 : Allow IP Forwarding
82
+ ## Step 2 : Allow IP Forwarding
100
83
101
84
Modify Calico to enable IP forwarding, which is needed for container networking.
102
85
@@ -114,7 +97,7 @@ Under `container_settings`, set `allow_ip_forwarding` to `true`:
114
97
}
115
98
```
116
99
117
- ## Step 4 : Copy over the kubeconfig
100
+ ## Step 3 : Copy over the kubeconfig
118
101
119
102
Occasionally, Helm will not recognize the K3s cluster (see
120
103
k3s-io/[ k3s #1126 ] ( https://github.com/k3s-io/k3s/issues/1126 ) for more
0 commit comments