mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
fix firewall rule create syntax for gce
This commit is contained in:
parent
0c5b97627c
commit
3003b22838
@ -193,8 +193,8 @@ If the Kubernetes startup script hangs waiting for the API to be reachable, you
|
|||||||
If you're having trouble SSHing into your instances, ensure the GCE firewall
|
If you're having trouble SSHing into your instances, ensure the GCE firewall
|
||||||
isn't blocking port 22 to your VMs. By default, this should work but if you
|
isn't blocking port 22 to your VMs. By default, this should work but if you
|
||||||
have edited firewall rules or created a new non-default network, you'll need to
|
have edited firewall rules or created a new non-default network, you'll need to
|
||||||
expose it: `gcloud compute firewall-rules create --network=<network-name>
|
expose it: `gcloud compute firewall-rules create default-ssh --network=<network-name>
|
||||||
--description "SSH allowed from anywhere" --allow tcp:22 default-ssh`
|
--description "SSH allowed from anywhere" --allow tcp:22`
|
||||||
|
|
||||||
Additionally, your GCE SSH key must either have no passcode or you need to be
|
Additionally, your GCE SSH key must either have no passcode or you need to be
|
||||||
using `ssh-agent`.
|
using `ssh-agent`.
|
||||||
|
Loading…
Reference in New Issue
Block a user