Comments (6)
BTW, a temporary fix is to prepend your commands with
gcloud components install kubectl -q --no-user-output-enabled
from cloud-sdk-docker.
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.
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.
Yeah discovered the workaround ourselves, and +1 to tags (isn't it "best practice"?)
from cloud-sdk-docker.
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.
We saw the same issue - created this image - https://hub.docker.com/r/punitag/gcloud-sdk-kubectl/
from cloud-sdk-docker.
Related Issues (20)
- Buildx missing HOT 6
- `gke-gcloud-auth-plugin` does not honor `CLOUDSDK_CONFIG` env var HOT 1
- Image tag 433 breaks docker authentication HOT 5
- Entrypoint doesn't work in Dockerfile from version 430.0.0 HOT 2
- Update Alpine image to 3.18 HOT 1
- Pubsub shutdown time
- The Debian packages using the wrong architecture, etc in the official container HOT 1
- Alpine image missing libresolv.so.2 for kubectl HOT 1
- Upgrade Debian image to bookworm HOT 8
- Curl upgrade to include fail-with-body option HOT 3
- Installing config-connector component HOT 2
- kubectl binary contains CVE-2023-39323 security vulnerability HOT 3
- When updating cloud run jobs image, job task-timeout is reset to default value. HOT 1
- Are you planning to host the image on pkg.dev? HOT 2
- google or gcr.io/google.com HOT 2
- APT repository changed Origin to cloud-sdk-bullseye HOT 2
- gcloud-sdk-bookworm InRelease' changed its 'Label' value from 'cloud-sdk-bullseye' to 'cloud-sdk-bookworm' HOT 7
- latest gcloud-sdk:emulators (468) broken (time-out) for create topic pubsub API
- introduce python3 3.11 with the image and make it default
- Attempting to re-establish stream for both 470 and 471
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-sdk-docker.