Tool to find YAML keyword differences in YAMLs while upgrading Kubernetes version

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.20.x
Cloud being used: Azure (AKS)
Installation method: ARM Templates
Host OS: Linux
CNI and version:
CRI and version:

Hello All,

While upgrading from one Kubernetes version to another if I am expecting that keywords in my YAML files would have changed in the target version, what is the best way to find out all such differences easily, may be using a tool or script?

Thanks.

kubectl diff looks to be the answer.