Docker image that include latest version of gcloud and kubectl
6.5K
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:
$ export CLOUDSDK_COMPUTE_ZONE="YOUR_COMPUTE_ZONE"
$ export CLOUDSDK_CORE_PROJECT="YOUR_GCLOUD_PROJECT"
$ echo YOUR_JSON_KEY | tee gcloud.json
$ gcloud auth activate-service-account SERVICE_ACCOUNT_EMAIL --key-file gcloud.json
$ 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
Content type
Image
Digest
Size
360.5 MB
Last updated
over 8 years ago
docker pull odarriba/docker-gcloud-kubectl