Creating Operators with Rust
summary
Shows how to build Kubernetes operators in Rust using the Cubarest library, generating CRD JSON via Rust macros and enforcing spec validity at compile time. Demonstrates an async reconcile loop with a match-based enum for create/update/delete and an apply function that makes AI-driven apply calls to ChatGPT to produce outputs, compares Rust to Go SDK and Python options, and reports compiling, auto-creating the CRD, and running on an 8GB VM that returned generated lyrics from the cluster.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:58Kubernetes operator
- 8:35Controllers vs operators
- 13:30Why Rust
- 18:41Rust advantages
- 21:31Reconciliation in Rust
- 25:05Custom Resource Definition
- 30:10Demo: Nextcloud AI operator
- 38:03AI in operators
- 41:00Q&A
related talks
24mWriting Kubernetes Operators in Rust
36mLessons learned writing 10+ Kubernetes Operators - Lars Francke and Jannik Heyl
24mLeveraging State Machines to Build Operators in Rust
05mIgnite: Is rust good for Kubernetes?
54mRust, Kubernetes, and the Cloud
36mWriting controllers in rust
59mRust for C++ developers - What you need to know to get rolling with crates
31mThe Rusty Boat
