Kubernetes Learning Center

Hands-On Course:

Install Kubernetes and build containers

Learn how to to install and configure a local Kubernetes cluster using Kind and deploy the emojivoto application to this cluster

JOIN US ON SLACK

Hands-On Course:Kubernetes 101 for Developers: Install K8s and build containers

Install K8s and build containers Kubernetes (or K8s)

Kubernetes (or K8s) is an open-source platform for managing containerized workloads and services. Containers hold the entire runtime environment, that is, an application and all of its dependencies, libraries and configuration files. This makes them portable and predictable across different computing environments.

Cloud-native application development, containers and Kubernetes, while requiring a shift in mindset and developer experience, enable:

  • Containerized workloads and increased automation
  • The write-once, run-everywhere concept and the elimination of complex dependencies or incompatibilities in or across different systems
  • Shared responsibility for managing deployments (operational activities become developer responsibilities)
  • Easier deployment through fully automated rollouts and rollbacks with fine-grained observability and no downtime/minimal end-user disruption
  • Faster feedback: Continuous code deployment and near-instant feedback

Essential Kubernetes terminology

NodesVMs or physical servers where Kubernetes runs containers. There are two types:

  • Master nodes are home to ‘control plane’ functions and services and where the desired state of a cluster is maintained by managing the scheduling of pods across various worker nodes.
  • Worker nodes are where an application actually runs.

Clustera set of nodes for running containerized apps.

Namespaces: Kubernetes supports multiple virtual clusters backed by the same physical cluster. These virtual clusters are called namespaces.

Podsthe smallest, most basic unit of deployment in Kubernetes. To run an application in Kubernetes, it first needs to be packaged and run as a container. And these containers become pods or parts of pods. A pod can consist of one or more containers. A pod, being the smallest unit Kubernetes can run, is what Kubernetes recognizes, so if a pod is deployed or destroyed, all the containers inside of it are started or killed at the same time.

Deployments: defines how pods should be deployed, and how Kubernetes should manage the deployment.

Services: an abstract way to expose an application running on a set of Pods as a network service. Kubernetes gives Pods their own IP addresses and a single DNS name for a set of Pods, and can load-balance across them.

Kubectlthe command line interface for managing a Kubernetes cluster.

Armed with this basic terminology, it should be easier to get started with containerized K8s app development.

VIEW ALL COURSES

Kubernetes: Faster & Easier Than Ever Before

View and manage your services across the software development lifecycle in real-time with a common interface that integrates with your existing Kubernetes workflow.

GET STARTED FOR FREE
Questions?

We’re here to help if you have questions.

ServiceImg
Get a free demo cluster through Ambassador Labs