Search⌘ K
AI Features

Let's Run Our First Application

Explore deploying your first application on Kubernetes by applying a manifest file with kubectl. Understand how to run an nginx pod, check its status, and use port forwarding to access it locally. This lesson helps you start practical Kubernetes deployment with simple commands and hands-on experience.

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 ...