I need to get images and environment variables from GKE cluster using python. I`ve already seen the python container library for gcp, but it seems like there is no such logic as I need https://github.com/googleapis/python-container, https://cloud.google.com/kubernetes-engine/docs/reference/libraries#create-service-account-gcloud. This lib can help with getting clusters, but I cannot see something about cluster-info.
Is my task possible with this lib? Or, if not please advice something.
What I need to do? To create the cloud function that will get parameters such as cluster, zone or something(don`t know now) and return the images, environment variables and maybe something else in response.
Please provide the sample or some useful links to my question.