cloud-builders
cloud-builders copied to clipboard
Support for private clusters in kubectl builder [FR]
Detailed Feature Information
Which builder is relevant to this request? kubectl
Is your feature request related to a problem? Please describe.
After creating a private cluster, you can only go down the route of using private pools to connect to the cluster, but since the option --internal-ip
is not available (via environment variables for example) when calling to gcloud container clusters get-credentials
, it is impossible to communicate with it.
Describe the solution you'd like
Add a new environment variable CLOUDSDK_USE_INTERNAL_IP
that, when present and equals to true
makes calling to gcloud container clusters get-credentials
use the flag --internal-ip
Describe alternatives you've considered Use 2 steps instead, with different images (gcloud container/kubectl run)
I need this, when will this be merged ?