You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use google modules to create a kubernetes cluster.
There should be two nodepools, where one nodepool should have nodes with no external ips.
I've tried to do this by seetting enable_private_nodes=true.
But all nodes have external Ips. What is the issue?
$ kubectl get no -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
gke-gke-test-4-private-node-pool-ff6cd4d4-23vg Ready <none> 5m24s v1.31.4-gke.1183000 10.10.0.5 35.247.5.249 Container-Optimized OS from Google 6.6.56+ containerd://1.7.24
gke-gke-test-4-private-node-pool-ff6cd4d4-qnvk Ready <none> 50s v1.31.4-gke.1183000 10.10.0.7 34.82.87.200 Container-Optimized OS from Google 6.6.56+ containerd://1.7.24
gke-gke-test-4-public-node-pool-3ddbc82e-41gc Ready <none> 64s v1.31.4-gke.1183000 10.10.0.6 34.145.118.38 Container-Optimized OS from Google 6.6.56+ containerd://1.7.24
The text was updated successfully, but these errors were encountered:
Just curious, if the cluster was created using module version before v33.0 then default enable_private_nodes is false. It would only create public node pool as I dont see any node_pool specific enable_private_nodes in this module, Please correct me if I am wrong. If this is a bug or a feature request I could create one to private node_pool specific enable_private_nodes variable.
I am having the same problem, but only with private cluster version = "~> 36.0"
I need both public and private node pools, but enable_private_nodes in node_pools block doesn't do anything.
Maybe I'm missing something, but this should be possible.
I'm trying to use google modules to create a kubernetes cluster.
There should be two nodepools, where one nodepool should have nodes with no external ips.
I've tried to do this by seetting
enable_private_nodes=true
.But all nodes have external Ips. What is the issue?
The text was updated successfully, but these errors were encountered: