Sign inSign up

odarriba/docker-gcloud-kubectl

By odarriba

•Updated over 8 years ago

Docker image that include latest version of gcloud and kubectl

Image
0

6.5K

odarriba/docker-gcloud-kubectl repository overview

⁠docker-gcloud-kubectl

Docker image that include latest version of gcloud and kubectl

⁠what is this image

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:

  1. Prepare environment
$ export CLOUDSDK_COMPUTE_ZONE="YOUR_COMPUTE_ZONE"
$ export CLOUDSDK_CORE_PROJECT="YOUR_GCLOUD_PROJECT"
  1. Authorize account:
$ echo YOUR_JSON_KEY | tee gcloud.json
$ gcloud auth activate-service-account SERVICE_ACCOUNT_EMAIL --key-file gcloud.json
  1. Get cluster credentials:
$ gcloud container clusters get-credentials CLUSTER_NAME

⁠contributions and source

Any contribution is welcome, and it can be done where the source code is hosted, in GitHub⁠.

⁠license

MIT license

Tag summary

Content type

Image

Digest

Size

360.5 MB

Last updated

over 8 years ago

docker pull odarriba/docker-gcloud-kubectl