apiVerion Change - Kubernetes RealWorld Issues
Being a DevOps Engineer / Site Reliability Engineer, you need to keep in your mind that Kubernetes changes its resources version with respect to time.
It was an issue that I found when the EKS version of my project was updated from 1.21 to 1.23, and because of parallel deployment, those changes had been updated by another team in the non-production environment, but those changes were not shared with the SRE team, resulting in a problem in the pre-production environment.
apiVersion changed in AWS EKS 1.23 version from 1.21 are -
1)
apps/v1beta1
toapps/v1
for Deployment2)
batch/v1
tobatch/v1beta1
for CronJob3)
networking.k8s.io/v1beta1
tonetworking.k8s.io/v1
for Ingress