<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>3. Core Concepts :: Kubernetes Labs</title><link>/3-core-concepts/index.html</link><description>This chapter covers the building blocks of Kubernetes, from the components of a cluster to running, exposing and configuring your applications.
What You Learn By the end of this chapter, you can:
name the components of a Kubernetes cluster and find them in your own cluster create and inspect resources with kubectl, both imperatively and with YAML manifests run applications as a Pod, Deployment, DaemonSet, StatefulSet, Job or CronJob make applications reachable with a Service, inside the cluster and from your machine configure applications with a ConfigMap and a Secret and store their data with a PersistentVolumeClaim find out why a workload doesn’t run and fix it make workloads robust with probes and resource limits, and scale them automatically Sections Section In the lab 3.1. Kubernetes Architecture Create your cluster and explore its components 3.2. kubectl and Manifests Work with contexts, the API and YAML manifests 3.3. Pods Run Pods with init and sidecar containers, labels and namespaces 3.4. Deployments Scale, update and roll back an application 3.5. Beyond Deployments Run DaemonSets, StatefulSets, Jobs and CronJobs 3.6. Services and Networking Reach apps via DNS, port forwarding and NodePort; blue/green 3.7. Configuration Configure an application with ConfigMaps and Secrets 3.8. Storage Keep data with volumes and PersistentVolumeClaims 3.9. Health and Resources Add probes, set requests and limits, autoscale under load 3.10. Troubleshooting Debug failing workloads with events, logs, top and exec How the Labs Work Each section starts with the theory in the presentation. The lab then puts it into practice. In 3.1, you create a local k3s cluster with k3d. You use this cluster up to chapter 7. The cluster runs without an Ingress controller and without a load balancer. You reach your applications with port forwarding or a NodePort. Each lab ends with optional tasks. If you finish early, go ahead with them. The following labs don’t depend on them. Prerequisites All tools from 1. Setup must be installed and verified.</description><generator>Hugo</generator><language>en-us</language><atom:link href="/3-core-concepts/index.xml" rel="self" type="application/rss+xml"/><item><title>3.1. Kubernetes Architecture</title><link>/3-core-concepts/1-kubernetes-architecture/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/1-kubernetes-architecture/index.html</guid><description>In this lab, you create the cluster for chapters 3 to 7 and find the components of the Kubernetes architecture in it.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.2. kubectl and Manifests</title><link>/3-core-concepts/2-kubectl-and-manifests/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/2-kubectl-and-manifests/index.html</guid><description>In this lab, you see how kubectl finds your cluster, create a Pod in two different ways and explore the API.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.3. Pods</title><link>/3-core-concepts/3-pods/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/3-pods/index.html</guid><description>In this lab, you follow a Pod through its lifecycle, run several containers in one Pod, organize Pods with labels and separate them with namespaces.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.4. Deployments</title><link>/3-core-concepts/4-deployments/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/4-deployments/index.html</guid><description>In this lab, you run an application as a Deployment, scale it, roll out a new version, roll it back and change it directly in the cluster.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.5. Beyond Deployments</title><link>/3-core-concepts/5-beyond-deployments/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/5-beyond-deployments/index.html</guid><description>In this lab, you run a Pod on every node with a DaemonSet, give Pods a stable identity with a StatefulSet and run tasks once with a Job or on a schedule with a CronJob, which you then pause.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.</description></item><item><title>3.6. Services and Networking</title><link>/3-core-concepts/6-services-and-networking/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/6-services-and-networking/index.html</guid><description>In this lab, you make an application reachable with a Service: inside the cluster, from your machine and with two versions to switch between.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.7. Configuration</title><link>/3-core-concepts/7-configuration/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/7-configuration/index.html</guid><description>In this lab, you keep configuration and passwords out of the container image and pass them to your Pods as environment variables and as files.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.8. Storage</title><link>/3-core-concepts/8-storage/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/8-storage/index.html</guid><description>In this lab, you see how long data lives in a volume: as long as its Pod, or beyond it with a PersistentVolumeClaim.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.9. Health and Resources</title><link>/3-core-concepts/9-health-and-resources/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/9-health-and-resources/index.html</guid><description>In this lab, you tell Kubernetes when your application is ready and alive, how much CPU and memory it needs, and let it scale the application automatically under load.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item><item><title>3.10. Troubleshooting</title><link>/3-core-concepts/10-troubleshooting/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/3-core-concepts/10-troubleshooting/index.html</guid><description>In this lab, you find and fix four broken workloads with the troubleshooting tools of Kubernetes.
Unlock this lab
The steps of this lab are for participants of the training. Enter the password you got from your trainer.
Show Wrong password Not a participant yet? Book the training</description></item></channel></rss>