From the course: Certified Kubernetes Application Developer (CKAD) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Understanding API deprecations

Understanding API deprecations

- In this video, we'll talk about API deprecations. So what is going on? Well, what is going on is that versions of the Kubernetes API change. You know, there's a new version of Kubernetes every four months, and with these new releases, old API versions may get deprecated. If an old version gets deprecated, the official policy is that it will still be supported for a minimum of two more Kubernetes releases. But at some point in time, it will go away. And that means that when you see a deprecation message, you need to make sure that you take action and change your YAML manifest files. In some cases, it just involves changing the API version in your YAML manifest file. In other cases, you may find that the entire way how your resource is defined has changed and you need to change more, or basically regenerate your entire YAML file according to the new specifications. Let's check out the demo. All right, and, of course, Git repository, I have this redisdeploy.yaml. And if I use kubectl…

Contents