For a question , where a deployment is provided with an outdated api version. What is the best way to update it with the latest version. What I understood from resources , kubectl-convert is not available during the test . We would need to first install it and then use it.
Can I otherwise, just open the deployment YAML and update the api version? Or it’s best to use kubectl-convert
after installing it.
You can generally just update the API version.
There are very few resources where the actual content of the manifest changes with a version upgrade. They usually only include new properties that won’t be needed to get the resource to deploy.