The Imperative Way

Let's look at the imperative way to deploy Deployments.

We'll cover the following

In this chapter, we’ll be creating and working with LoadBalancer Services, and you can use any of the clusters. If the cluster is in the cloud, you’ll provision one of the cloud’s internet-facing load balancers and will work with public IPs or public DNS names. If you’re using the cluster provided in the course, the experience will be the same, but we’ll use local constructs such as localhost.

Working with Services imperatively

We’ll create a deployment using the deploy.yml file provided in the below widget. We’ll then create a Service imperatively for this Deployment.

Get hands-on with 1400+ tech skills courses.