question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use server-side diff by default

See original GitHub issue

Server-side diff has been available since 1.16 (September 2019), so it should be pretty widely supported on deployed clusters by now. Most of the implementation work is done already, so the remaining work should mostly be testing, and then swapping server-side diff to be the default.

As of April 30, 2021, EKS and AKS still support 1.15 clusters, but it appears that this support will be ending soon with the recent upstream release of k8s 1.21.

There is one open issue that also needs investigation: https://github.com/pulumi/pulumi-kubernetes/issues/683

Once we’re confident in the test coverage, the enableDryRun flag should flip polarity so that it defaults to True.

Edit: The enableDryRun flag has been deprecated in favor of the enableServerSideApply flag in the v3.20.0 release, and will be removed in the next major release.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:6
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
sathieucommented, Nov 26, 2021
1reaction
lblackstonecommented, Oct 26, 2022

SSA mode was enabled in the v3.22.0 release

Read more comments on GitHub >

github_iconTop Results From Across the Web

APIServer dry-run and kubectl diff - Kubernetes
Server -side dry-run is enabled through a feature-gate. Now that the feature is Beta in 1.13, it should be enabled by default, but...
Read more >
Make side-by-side diff the default | Bitbucket Server
As for making the side by side diff the default, unfortunately there's no good choice. It comes down to opinion, and no default...
Read more >
Server-Side Apply - Grafana Tanka
Tanka supports server-side apply, which requires at least Kubernetes 1.16+, and was promoted to stable status in 1.22. To enable server-side diff in...
Read more >
New Stable Feature in Kubernetes: kubectl diff - Kloia
By default, the diff command available in your path will be run with -u (unified) and -N (treat new files as empty) options....
Read more >
How can I get a side-by-side diff when I do "git diff"?
Try git difftool. Use git difftool instead of git diff . You'll never go back. UPDATE to add an example usage: Here is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found