From the course: Kubernetes: Your First Project (2021)

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Understanding Kubernetes manifests: Part 2

Understanding Kubernetes manifests: Part 2 - Kubernetes Tutorial

From the course: Kubernetes: Your First Project (2021)

Understanding Kubernetes manifests: Part 2

- So let's begin our deep dive by looking for the deployment v1 object here in the api overview on the left. So I'm going to go ahead and click on that. And that brings us to the documentation for the deployment object inside of the apps v1 api, that's documented here. So as you can see, the first line in our deployment.yaml is the api version. This specifies the api that actually defines what this deployment object is. The api that defined it happens to be in the apps/v1 api. As we can see here on the left, that's the document that we have opened here. The next object that we have is the kind which determines the object that we're creating, which happens to be deployment, which is what we're looking at here on the left. Now, most objects in Kubernetes have metadata associated with them. Deployments are no exception to this. So let's take a look at this object, meta object that is being linked to here. So as we can…

Contents