Skip to content
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

Kubectl Diff path to GA #68526

Closed
12 of 14 tasks
apelisse opened this issue Sep 11, 2018 · 18 comments
Closed
12 of 14 tasks

Kubectl Diff path to GA #68526

apelisse opened this issue Sep 11, 2018 · 18 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@apelisse
Copy link
Member

apelisse commented Sep 11, 2018

This is describing the steps necessary to move kubectl diff to Beta and GA.

These are the list of features and bugs that need to be addressed before kubectl diff can move to beta and GA.

Please cross-out (do not remove, please) whichever does not seem appropriate for moving to Beta/GA and put your name behind it. If you want to add any notes specific to a task, please list it as a bullet point and again, put your name behind it.

Features

Bugs

Tech Debt

@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Sep 11, 2018
@apelisse
Copy link
Member Author

/sig cli

@k8s-ci-robot k8s-ci-robot added sig/cli Categorizes an issue or PR as relevant to SIG CLI. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Sep 11, 2018
@soltysh soltysh assigned soltysh and apelisse and unassigned soltysh Oct 19, 2018
@soltysh soltysh added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 19, 2018
@guineveresaenger
Copy link
Contributor

Hi @apelisse - I'm Enhancements Shadow for 1.13. Could you please update the release team with the likelihood of this enhancement making the 1.13 release? It looks close but when we don't see any updates in a few days, we would appreciate an update.

Code slush begins on 11/9 and code freeze is 11/15.

Thank you!

@apelisse
Copy link
Member Author

apelisse commented Nov 5, 2018

Hi @guineveresaenger, this feature is pretty much ready, which is why I don't look super active here :-)

@zx8
Copy link

zx8 commented Nov 21, 2018

@apelisse I've found what I think is a bug:

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-30T21:39:16Z", GoVersion:"go1.11.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.2-gke.18", GitCommit:"5796233393d7bc034428de15191ad3d2eaff95fb", GitTreeState:"clean", BuildDate:"2018-11-08T20:49:08Z", GoVersion:"go1.10.3b4", Compiler:"gc", Platform:"linux/amd64"}

$ helm template . | kubectl alpha diff -f - MERGED
error: missmatching non-nil types for the same field: float64 int64

Not sure how to diagnose this. Anything I can do to help figure out the issue? This was the result of doing a helm template . | kubectl apply -f- followed by the above diff command.

@apelisse
Copy link
Member Author

Hey @zx8, thanks for the feedback! kubectl diff beta that is being released right now is significantly different from that version, and so this bug is not very relevant anymore. Please try the new diff version when 1.13 is released and tell me if you like it!

@zx8
Copy link

zx8 commented Nov 21, 2018

Oops, my mistake! I just rebuilt from master @ a19bf33 and am getting:

$ helm template . | kubectl diff -f-
error: /v1, Kind=ConfigMap doesn't support dry-run

When commenting out the ConfigMap YAML and trying again, I get:

$ helm template . | kubectl diff -f-
error: apps/v1, Kind=Deployment doesn't support dry-run

I assume this requires the server to be running v1.13+ as well? I don't want to spam this issue with feedback so let me know if this is a legitimate bug and I'll raise it through the appropriate channel.

@apelisse
Copy link
Member Author

Right, you need server-side dry-run (kubernetes/enhancements#576) on the server (it's currently alpha so you might be able to try by enabling the feature-gate)

@apelisse apelisse changed the title Kubectl Diff path to Beta/GA Kubectl Diff path to GA Dec 19, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 19, 2019
@apelisse
Copy link
Member Author

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 19, 2019
@julianvmodesto
Copy link
Contributor

For properly documenting this feature, I've opened #86525

@julianvmodesto
Copy link
Contributor

We could probably update the dry-run kep w/ a subsection on kubectl diff since we need a KEP for the release for this feature

@apelisse
Copy link
Member Author

Do we really need a KEP? There is a kep for the feature, is it missing something specific?

@julianvmodesto
Copy link
Contributor

Oh nevermind if there's a KEP for the feature already for diff. I was looking at the Enhancements Tracking sheet:

https://docs.google.com/spreadsheets/d/1RtCvByYdcqWc6I_A1cKgeXT2tBS7SyHGvSt_DWXz270/edit#gid=0

@julianvmodesto
Copy link
Contributor

Looks like we're good for everything except for #87600 before code freeze. I'm going to also check integration tests again, but I feel that there is sufficient overlap with integration tests for dry-run verbs at least for the dry-run specific behavior. Otherwise, we only have a little docs left!

@apelisse
Copy link
Member Author

Otherwise, we only have a little docs left!

Do you know specifically what needs to be updated for the tests?

@julianvmodesto
Copy link
Contributor

Hm I want to say we're covered, particularly after you added tests for #87437.

@julianvmodesto
Copy link
Contributor

This is done!

Follow ups:

/close

@k8s-ci-robot
Copy link
Contributor

@julianvmodesto: Closing this issue.

In response to this:

This is done!

Follow ups:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
None yet
Development

No branches or pull requests

7 participants