Search⌘ K
AI Features

Deploy the Application to Kubernetes

Explore how to deploy containerized applications on Kubernetes by wrapping containers in Pods defined with YAML files. Learn to use kubectl commands to apply and manage Pods and understand how Services enable access to your applications within a Kubernetes cluster.

The first thing to know about deploying containers to Kubernetes is that they have to be wrapped in Pods. For now, think of a Pod as a lightweight wrapper that allows Kubernetes to run containers.

A Kubernetes Pod
A Kubernetes Pod

The above figure shows a Pod called first-pod wrapping a single container called web. The Pod only adds metadata to assist with scheduling.

First Kubernetes Pod

...