kubectl
kubectl copied to clipboard
kubectl diff does not work with applysets
What happened:
❯ KUBECTL_APPLYSET=true kubectl diff --applyset=applyset/automata -f bazel-out/k8-fastbuild/bin/k8s/unwind/list.json --prune
error: unknown flag: --applyset
See 'kubectl diff -h' for help and example
What you expected to happen:
kubectl should show a diff of what changes would be made.
How to reproduce it (as minimally and precisely as possible):
See above.
Anything else we need to know?:
ApplySets were introduced recently, I would have expected them to work with diff also.
https://kubernetes.io/blog/2023/05/09/introducing-kubectl-applyset-pruning/
Environment:
- Kubernetes client and server versions (use
kubectl version
): v.127.2 - Cloud provider or hardware configuration: N/A
- OS (e.g:
cat /etc/os-release
): N/A
/triage accepted Alpha versions of features are not guaranteed to be fully feature, though if someone would be willing to add this feature we would accept a PR for it.
@mpuckett159 @uhthomas I can look into this. Looking to get familiar with the code base, and could start with this. /assign
Hi there @mpuckett159, is this issue still up for grabs? If so, I'd happily look into it.