order the flags
parent
15c74672b0
commit
ac33a5e9b8
|
@ -54,44 +54,44 @@ kubernetes us-central1 kubernetes 10.240.0.0/24
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute firewall-rules create kubernetes-allow-icmp \
|
gcloud compute firewall-rules create kubernetes-allow-icmp \
|
||||||
|
--allow icmp \
|
||||||
--network kubernetes \
|
--network kubernetes \
|
||||||
--source-ranges 0.0.0.0/0 \
|
--source-ranges 0.0.0.0/0
|
||||||
--allow icmp
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute firewall-rules create kubernetes-allow-internal \
|
gcloud compute firewall-rules create kubernetes-allow-internal \
|
||||||
|
--allow tcp:0-65535,udp:0-65535,icmp \
|
||||||
--network kubernetes \
|
--network kubernetes \
|
||||||
--source-ranges 10.240.0.0/24 \
|
--source-ranges 10.240.0.0/24
|
||||||
--allow tcp:0-65535,udp:0-65535,icmp
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute firewall-rules create kubernetes-allow-rdp \
|
gcloud compute firewall-rules create kubernetes-allow-rdp \
|
||||||
|
--allow tcp:3389 \
|
||||||
--network kubernetes \
|
--network kubernetes \
|
||||||
--source-ranges 0.0.0.0/0 \
|
--source-ranges 0.0.0.0/0
|
||||||
--allow tcp:3389
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute firewall-rules create kubernetes-allow-ssh \
|
gcloud compute firewall-rules create kubernetes-allow-ssh \
|
||||||
|
--allow tcp:22 \
|
||||||
--network kubernetes \
|
--network kubernetes \
|
||||||
--source-ranges 0.0.0.0/0 \
|
--source-ranges 0.0.0.0/0
|
||||||
--allow tcp:22
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute firewall-rules create kubernetes-allow-healthz \
|
gcloud compute firewall-rules create kubernetes-allow-healthz \
|
||||||
--network kubernetes \
|
|
||||||
--allow tcp:8080 \
|
--allow tcp:8080 \
|
||||||
|
--network kubernetes \
|
||||||
--source-ranges 130.211.0.0/22
|
--source-ranges 130.211.0.0/22
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gcloud compute firewall-rules create kubernetes-allow-api-server \
|
gcloud compute firewall-rules create kubernetes-allow-api-server \
|
||||||
|
--allow tcp:6443 \
|
||||||
--network kubernetes \
|
--network kubernetes \
|
||||||
--source-ranges 0.0.0.0/0 \
|
--source-ranges 0.0.0.0/0
|
||||||
--allow tcp:6443
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue