Skip to content

Commit e8d728d

Browse files
remove remote access to insecure port
1 parent 765c1fb commit e8d728d

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

docs/03-compute-resources.md

-10
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@ gcloud compute firewall-rules create kubernetes-the-hard-way-allow-external \
5252
--source-ranges 0.0.0.0/0
5353
```
5454

55-
Create a firewall rule that allows health check probes from the GCP [network load balancer IP ranges](https://cloud.google.com/compute/docs/load-balancing/network/#firewall_rules_and_network_load_balancing):
56-
57-
```
58-
gcloud compute firewall-rules create kubernetes-the-hard-way-allow-health-checks \
59-
--allow tcp:8080 \
60-
--network kubernetes-the-hard-way \
61-
--source-ranges 209.85.204.0/22,209.85.152.0/22,35.191.0.0/16
62-
```
63-
6455
> An [external load balancer](https://cloud.google.com/compute/docs/load-balancing/network/) will be used to expose the Kubernetes API Servers to remote clients.
6556
6657
List the firewall rules in the `kubernetes-the-hard-way` VPC network:
@@ -74,7 +65,6 @@ gcloud compute firewall-rules list --filter "network: kubernetes-the-hard-way"
7465
```
7566
NAME NETWORK DIRECTION PRIORITY ALLOW DENY
7667
kubernetes-the-hard-way-allow-external kubernetes-the-hard-way INGRESS 1000 tcp:22,tcp:6443,icmp
77-
kubernetes-the-hard-way-allow-health-checks kubernetes-the-hard-way INGRESS 1000 tcp:8080
7868
kubernetes-the-hard-way-allow-internal kubernetes-the-hard-way INGRESS 1000 tcp,udp,icmp
7969
```
8070

docs/14-cleanup.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ Delete the `kubernetes-the-hard-way` firewall rules:
3737
gcloud -q compute firewall-rules delete \
3838
kubernetes-the-hard-way-allow-nginx-service \
3939
kubernetes-the-hard-way-allow-internal \
40-
kubernetes-the-hard-way-allow-external \
41-
kubernetes-the-hard-way-allow-health-checks
40+
kubernetes-the-hard-way-allow-external
4241
```
4342

4443
Delete the Pod network routes:

0 commit comments

Comments
 (0)