Build an Orchestrator in Go (From Scratch)
- 4h 35m
- Tim Boring
- Manning Publications
- 2024
Develop a deep understanding of Kubernetes and other orchestration systems by building your own with Go and the Docker API.
Orchestration systems like Kubernetes can seem like a black box: you deploy to the cloud and it magically handles everything you need. That might seem perfect—until something goes wrong and you don’t know how to find and fix your problems. Build an Orchestrator in Go (From Scratch) reveals the inner workings of orchestration frameworks by guiding you through creating your own.
In Build an Orchestrator in Go (From Scratch) you will learn how to:
- Identify the components that make up any orchestration system
- Schedule containers on to worker nodes
- Start and stop containers using the Docker API
- Manage a cluster of worker nodes using a simple API
- Work with algorithms pioneered by Google’s Borg
- Demystify orchestration systems like Kubernetes and Nomad
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
Build an Orchestrator in Go (From Scratch) explains each stage of creating an orchestrator with diagrams, step-by-step instructions, and detailed Go code samples. Don’t worry if you’re not a Go expert. The book’s code is optimized for simplicity and readability, and its key concepts are easy to implement in any language. You’ll learn the foundational principles of these frameworks, and even how to manage your orchestrator with a command line interface.
about the technology
Orchestration frameworks like Kubernetes and Nomad radically simplify managing containerized applications. Building an orchestrator from the ground up gives you deep insight into deploying and scaling containers, clusters, pods, and other components of modern distributed systems. This book guides you step by step as you create your own orchestrator—from scratch.
about the book
Build an Orchestrator in Go (From Scratch) gives you an inside-out perspective on orchestration frameworks and the low-level operation of distributed containerized applications. It takes you on a fascinating journey building a simple-but-useful orchestrator using the Docker API and Go SDK. As you go, you’ll get a guru-level understanding of Kubernetes, along with a pattern you can follow when you need to create your own custom orchestration solutions.
About the Author
Tim Boring has 20+ years of experience in software engineering. For most of that time he has worked with orchestration systems, including Borg, Kubernetes, and Nomad.
In this Book
-
What is an Orchestrator?
-
From Mental Model to Skeleton Code
-
Hanging Some Flesh on the Task Skeleton
-
Workers of the Cube, Unite!
-
An API for the Worker
-
Metrics
-
The Manager Enters the Room
-
An API for the Manager
-
What Could Possibly Go Wrong?
-
Implementing a More Sophisticated Scheduler
-
Implementing Persistent Storage for Tasks
-
Building a Command-Line Interface
-
Now What?