Skip to content

Conversation

tombrk
Copy link
Member

@tombrk tombrk commented Aug 7, 2019

So far, diffing was offloaded to kubectl. While this produces very nice results,
it is only possible for kubernetes version 1.13+.

Nevertheless, there are older cluster versions around, so these need to be
supported as well. subset-diff addresses those cases in the hopefully best way
possible.

To reduce field bloat, it only diffes those fields, that are present in the
local config. Kubernetes adds dynamic fields on the fly which we cannot know
about, so this is required.

Note: You WILL NOT see removed fields in the diff output. Upgrade your cluster
version to 1.13+ and use native diffing.

So far, diffing was offloaded to kubectl. While this produces very nice results,
it is only possible for kubernetes version 1.13+.

Nevertheless, there are older cluster versions around, so these need to be
supported as well. subset-diff addresses those cases in the hopefully best way
possible.

To reduce field bloat, it only diffes those fields, that are present in the
local config. Kubernetes adds dynamic fields on the fly which we cannot know
about, so this is required.

Note: You WILL NOT see removed fields in the diff output. Upgrade your cluster
version to 1.13+ and use native diffing.
@tombrk tombrk added kind/feature Something new should be added component/kubernetes Working with Kubernetes clusters labels Aug 7, 2019
@tombrk tombrk requested review from tomwilkie and gouthamve August 7, 2019 08:36
@tombrk tombrk self-assigned this Aug 7, 2019
@tombrk tombrk merged commit 13f6fdd into master Aug 7, 2019
@tombrk tombrk deleted the subset-diff branch August 7, 2019 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes Working with Kubernetes clusters kind/feature Something new should be added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants