Learning Library

← Back to Library

Deploying a Travel App on Kubernetes

Key Points

  • Kubernetes launches an application by applying a developer‑written configuration file that defines the needed Kubernetes objects.
  • The containerized travel‑business app runs inside a single pod, which Kubernetes creates, networks, and manages for the workload.
  • Using the `kubectl` CLI to apply the deployment file triggers the creation of a new pod in the cluster.
  • In the metaphor, each “drone” continuously watches the cluster, detects the new pod, and reacts—illustrating how Kubernetes controllers respond to changes.
  • Once the pod is created, the application is said to be “airborne,” signifying it is now running and reachable within the Kubernetes environment.

Full Transcript

# Deploying a Travel App on Kubernetes **Source:** [https://www.youtube.com/watch?v=I4L2aR80_nQ](https://www.youtube.com/watch?v=I4L2aR80_nQ) **Duration:** 00:01:27 ## Summary - Kubernetes launches an application by applying a developer‑written configuration file that defines the needed Kubernetes objects. - The containerized travel‑business app runs inside a single pod, which Kubernetes creates, networks, and manages for the workload. - Using the `kubectl` CLI to apply the deployment file triggers the creation of a new pod in the cluster. - In the metaphor, each “drone” continuously watches the cluster, detects the new pod, and reacts—illustrating how Kubernetes controllers respond to changes. - Once the pod is created, the application is said to be “airborne,” signifying it is now running and reachable within the Kubernetes environment. ## Sections - [00:00:00](https://www.youtube.com/watch?v=I4L2aR80_nQ&t=0s) **Untitled Section** - ## Full Transcript
0:01[Music] 0:09kubernetes gets an application running 0:11in a cluster by applying a configuration 0:13file that we create let's say we've 0:15built an application for running a 0:17web-based travel business we're 0:19passionate about delivering the best 0:21travel experiences to our users from 0:23flights to recommended tours to the 0:25perfect hotel our developers 0:27containerized our application and we're 0:29ready to deploy the containers to 0:31kubernetes we started by creating the 0:34deployment configuration file for our 0:35application the configuration describes 0:38the application and the required 0:39kubernetes objects in kubernetes 0:41application containers are encapsulated 0:43into a pod kubernetes is responsible for 0:47creating and managing pods of containers 0:49connecting them to the network and the 0:51rest of the environment we're assuming 0:52that all of the software to run our 0:54application in kubernetes is 0:55encapsulated in a single pot we're going 0:58to use the cube control CLI command to 1:01apply the configuration file each of our 1:03drones is connected directly to a pod in 1:06the kubernetes cluster our drones watch 1:08kubernetes for changes and react to 1:10those changes because our deployment 1:12creates a new pod one of our drones 1:14takes off our app pod is airborne 1:25you