Skip to content

jsindy/cloudsql_auto_whitelist_gke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Update CloudSQL IP whitelist with GKE(kubernetes) nodes


This script is designed to update your CloudSQL IP whitelist with kubernetes node ips. This helps when enabling auto scaling.


Prereqs for this bash script

gcloud # configured with proper permissions
kubectl
jq
sipcalc

Usage

$ chmod +x update_whitelist.sh
$ ./update_whitelist.sh CLOUDSQL_INSTANCE_NAME

About

This script is designed to keep cloudsql IP whitelist updated with GKE nodes for auto-scaling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages