Creating a pod

In Kubernetes, you deploy your applications as pods, which refer to one or more containers and other resources that are closely related to each other and collectively represent your application. A pod is the core unit of work in Kubernetes and is conceptually similar to an ECS task definition, although under the hood they work in a completely different way.

A common shorthand code for Kubernetes is k8s, where the "ubernete" portion of the name Kubernetes is replaced with the digit 8, representing the number of characters in "ubernete".

Before we create our first pod, let's establish a folder called k8s in the todobackend repository that will hold all Kubernetes configuration for the todobackend application, and then create ...

Get Docker on Amazon Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.