-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add kustomize --version
and kubectl kustomize --version
#1424
Comments
For the independent kustomize tool version information is exposed via For example: $ kustomize version
Version: {KustomizeVersion:3.1.0 GitCommit:95f3303493fdea243ae83b767978092396169baf BuildDate:2019-07-26T18:11:16Z GoOs:darwin GoArch:amd64}
This would be a change in the
Having more a prominent call out in the README for information relating to the kubectl integration and where to go for examples/docs specific to that would definitely help prevent others running into this as well. For example these references: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Currently, the kustomize version bundled with kubectl is 2.0.3. For better or worse, this is the second hit for me on google when I search for I'm not sure if its possible to check on the command line, but there is currently a note on the README page in this repo that says which versions are included in kubectl: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
And now the table in the kustomize README is out of date: kubectl 1.18.x has been out for about a month. I have no idea if it's still stuck at kustomize 2.0.3. That's probably the safest guess. |
Probably I had problem when using patch command... |
Hello |
+1 |
I was searching also for the current version of kustomize. { You can find this on https://github.com/kubernetes/kubectl/blob/v0.18.3/Godeps/Godeps.json |
As a new kustomize user this was definitely confusing. The jump from 2.x to 3.x is important to be aware of. |
Is the integration with kubectl no longer maintained? It seems unclear what the status of that is based on the version drift that is occurring. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/cc |
Now that we've also updated to Go 1.16, I think |
apparently, kubectl v1.21 is out now.. has anything changed? |
Yes, it was updated in 1.21: https://github.com/kubernetes/kubernetes/blob/4d75a6238a6e330337526e0513e67d02b1940b63/CHANGELOG/CHANGELOG-1.21.md#kustomize-updates-in-kubectl Yes, both the readme and docs need to be updated |
If anyone is wondering about their ubuntu package version I think the ubuntu package might be a bit broken...
^ I don't think that is correct ...
|
@diclophis that's because no such version command exists, neither as a subcommand nor a flag. That's what this issue is tracking. In |
/assign @jeremyrickard |
Workaround? How can we check what version of kustomize kubectl is using? |
For now you'll have to check the Kustomize readme: https://github.com/kubernetes-sigs/kustomize#kubectl-integration |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@jeremyrickard any news? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@jeremyrickard could you please take a look? |
Strange, also have this problem on Ubuntu, that Kustomize version is old even though I have kubectl 1.23:
This command should be working in newer kustomize. Another thing, I also think it's rather strange that such basic functionality as being able to check the version of component is unavailable for such long time. |
I just spent way to long trying to figure out why the examples in your repo don't work with
kubectl kustomize
. After finding a rejected MR trying to fix an example I determined that theresources:
feature works the way that the examples show only in some versions ofkustomize
but it took me a while to find in the readme what version of kustomize is included in kubectl.Alternatively if the flag is hard for whatever reason (I imagine the embedding in kubectl may cause some complication) perhaps the kustomize help screen could include the version number.
The text was updated successfully, but these errors were encountered: