Giter Club home page Giter Club logo

Comments (6)

max-vogler avatar max-vogler commented on May 31, 2024 4

BTW, a temporary fix is to prepend your commands with

gcloud components install kubectl -q --no-user-output-enabled

from cloud-sdk-docker.

MaxWinterstein avatar MaxWinterstein commented on May 31, 2024 2

thx name-buddy!
I can confirm this works fine for me.
I was going to build the old version myself and push it to my registry. But this is way quicker.

There is really a huge need for tags here...

from cloud-sdk-docker.

ahmetb avatar ahmetb commented on May 31, 2024 1

Sorry for the breaking change, we just redid pretty much everything from scratch. This image didn't have tags before and we will be tagging the versions going forward. After a while, you can pin to a tag.

It'll take some time we fix tag the images on Docker Hub etc. I am not sure we will add additional components like kubectl in the image (mostly due to size reasons, and once we install some additional components, it's not clear why others are not installed).

I would recommend people to follow @max-vogler’s suggestion of creating another image based on gcloud image and installing kubectl yourself.

from cloud-sdk-docker.

aisrael avatar aisrael commented on May 31, 2024

Yeah discovered the workaround ourselves, and +1 to tags (isn't it "best practice"?)

from cloud-sdk-docker.

ahmetb avatar ahmetb commented on May 31, 2024

That said, we may have an image with all the additional components installed. This would make the image probably a few times larger than it is in size today. I am not sure if that is desirable but I don't think we'll be maintaining a kubectl flavor of the image.

Maybe in your CI, you can build and use this dockerfile:

FROM google/cloud-sdk
RUN gcloud components install kubectl -q --no-user-output-enabled

from cloud-sdk-docker.

ptagr avatar ptagr commented on May 31, 2024

We saw the same issue - created this image - https://hub.docker.com/r/punitag/gcloud-sdk-kubectl/

from cloud-sdk-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.