Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Build Your Own Kubernetes Operators with Go and Kubebuilder - Full Course

via freeCodeCamp

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course teaches how to build and deploy Kubernetes operators in Go with Kubebuilder, covering controller reconciliation, CRDs, manager architecture, and error handling. A hands-on project integrates the AWS SDK to create and manage EC2 instances, then packages the operator with Helm.

Syllabus

- Introduction & Prerequisites
- What is a Controller? The Observe-Compare-Act Loop
- Idempotency in Controllers
- Deep Dive: The Reconcile Loop Happy Path, Sad Path, & Error Handling
- The Foundation of Writing Operators
- What is an Operator? The "Helper" Analogy
- CRDs Custom Resource Definitions and CRs Custom Resources
- Kubernetes as an SDK & Extensibility
- Networking, Storage, & Admission Controllers
- Internal Developer Platforms IDP & Platform Engineering
- Bootstrapping with Kubebuilder
- Setting up the Local Environment K3D, Docker
- Introduction to the Kubebuilder Framework
- Project Initialization kubebuilder init
- Exploring Scaffolding Makefiles, Dockerfiles, main.go
- Creating your first API kubebuilder create api
- Defining EC2 Instance Types & Specs in Go
- Understanding TypeMeta and ObjectMeta
- Internal Controller Logic Breakdown
- Deep Dive: Manager Architecture & Controller-Runtime
- Cert Watchers, Health Checks, & Prometheus Metrics
- Initializing the Manager in main.go
- Implementing the Reconcile Loop Logic
- Custom Resource Definitions CRDs in Action
- Running the Operator Locally
- AWS SDK Integration in Go
- Using Finalizers for Cleanup Logic
- Creating EC2 Instances on AWS via the Operator
- Implementing Waiters for Instance State Running/Terminated
- Idempotency & Reconciler Loop Internals
- How Informers, Caches, and WorkQueues Work
- Handling Object Deletion & Timestamps
- Packaging the Operator with Helm
- Deploying to Kubernetes RBAC & Service Accounts
- Conclusion & Future Steps

Taught by

freeCodeCamp.org

Reviews

Start your review of Build Your Own Kubernetes Operators with Go and Kubebuilder - Full Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.