Closed scottc-git closed 3 years ago
Just finished the 'Kubernetes-the-Hard-Way' --- great stuff and I have one question. In Step 8 The Kubernetes Frontend Load Balancer, is it necessary to create another firewall rule?
gcloud compute firewall-rules create kubernetes-the-hard-way-allow-health-check \ --network kubernetes-the-hard-way \ --source-ranges 209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 \ --allow tcp
At Step 3 Firewall Rule, we've already allowed the world to be able to access the port 6443 in all nodes.
gcloud compute firewall-rules create kubernetes-the-hard-way-allow-external \ --allow tcp:22,tcp:6443,icmp \ --network kubernetes-the-hard-way \ --source-ranges 0.0.0.0/0
Never mind. I overlooked the part it says:
The network load balancer only supports HTTP health checks which means the HTTPS endpoint exposed by the API server cannot be used.
Just finished the 'Kubernetes-the-Hard-Way' --- great stuff and I have one question. In Step 8 The Kubernetes Frontend Load Balancer, is it necessary to create another firewall rule?
At Step 3 Firewall Rule, we've already allowed the world to be able to access the port 6443 in all nodes.