Docker image that include latest version of gcloud and kubectl
This image is a pre-installed version of gcloud and kubectl. There is no pre-configuration added, so you might want to do something like this before doing anything:
- Prepare environment
$ export CLOUDSDK_COMPUTE_ZONE="YOUR_COMPUTE_ZONE"
$ export CLOUDSDK_CORE_PROJECT="YOUR_GCLOUD_PROJECT"
- Authorize account:
$ echo YOUR_JSON_KEY | tee gcloud.json
$ gcloud auth activate-service-account SERVICE_ACCOUNT_EMAIL --key-file gcloud.json
- Get cluster credentials:
$ gcloud container clusters get-credentials CLUSTER_NAME
Any contribution is welcome, and it can be done where the source code is hosted, in GitHub.
MIT license