Let's Run Our First Application

Learn how to deploy and run a Kubernetes application.

We'll cover the following

Deploying our first application

Before we start talking about all the things you can do with Kubernetes, let’s run a quick example, so you can see how things work in practice. Don’t worry if you don’t understand everything we are doing. We just want to show you that getting an application to run on Kubernetes is not that complicated.

As we’ll discuss later, we usually work with Kubernetes in a declarative way. Instead of telling it what to do, we send it a manifest (as a yaml file) describing our desired state. In this case, we want to run nginx, so the manifest would be something like this:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy