Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 02 · DevOps · Kubernetes · about 16 min to read

Play it as a journeyTutor comes with a plan

Teaching Kubernetes new words: CRDs and operators

Under the Hood
Under the Hood · Open board

The five programs in the control plane. Everything in this lesson plugs into the first and third of them: the API server that takes requests, and the controllers that compare what you asked for with what exists.

Before you start. Under the Hood (Kubernetes Internals) showed the control plane: the API server takes every request, etcd stores it, and controllers keep comparing what you asked for with what is running. The Harbor Master (pods, deployments, services) gave you the built-in kinds of object, such as Deployment, ReplicaSet and Service. Self-Healing & Autoscaling showed that comparing loop replacing a deleted pod. A kind is the type of an object, for example Pod is a kind. This lesson adds new kinds of your own.

Lesson 20 of 70 in DevOps

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The problem: a database that needs a person at 2 a.m.
  • Giving the API a new kind: the CustomResourceDefinition
  • The object itself: the custom resource
  • The program that acts: the controller
  • Reconcile looks at the state, not at the event
  • The operator: a controller that holds the knowledge of a person

Terms it explains: CustomResourceDefinition, CRD, custom resource, controller, reconcile, operator, Common mistakes, API server, containerd / runc, controller manager.

Lab

Each ship books quay space before it docks, and the harbour master trusts the booking. How much should a ship book?

Drag Quay booked per ship from 100m to 1000m and watch Squeezed at the tide reach zero.

Open The berth plan

Review DevOps