From the course: Kubernetes: Microservices

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Microservice deployment to Kubernetes

Microservice deployment to Kubernetes - Kubernetes Tutorial

From the course: Kubernetes: Microservices

Start my 1-month free trial

Microservice deployment to Kubernetes

- [Instructor] We're ready to deploy our application to Kubernetes. But let's take a quick look at our assets first. We have our sample application called wishlist and GitHub under karthequian wishlist. You'll notice that there are three docker files associated with this. Also it has the source code for the actual application. If you go to docker hub, the three docker hubs are under karthequian wishlist, tagged as 1.0. Also, wishlist-auth right there. Tagged as 1.0. And then wishlist catalog, also with a tag of 1.0. So coming back, let's take a look at our deployment. So this is defined in a yaml file and we have the deployment portion. We see that this is a kind of deployment with an API version of apps v1 with some metadata. Also the spec portion has a replica count of three. You want this to always be something more than one. If you have a replica of just one this would be in a single pod. And if for some reason the pod goes offline or it crashes then you'll have a brief amount of…

Contents