Scala meets Kubernetes
summary
Shows concrete ways to create and manage Pods, ReplicaSets, Deployments and CRDs from Scala using three approaches: the plain Java Kubernetes client (Swagger-generated models), a fuller JVM client for pipelines and monitoring, and a Scala client built on Akka. Demonstrates code that builds Pod and ReplicaSet objects, creates and deletes them in a test namespace, templates and patches CRD YAML by converting it to a map, and handles async creation and cleanup; one-line pod builder example, CRD templating via map transformation.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:08Why Scala with Kubernetes
- 2:13Kubernetes basics overview
- 7:10Kubernetes behind the scenes
- 12:05Scala libraries for Kubernetes
- 15:41Practical examples setup
- 17:48Creating a Pod with Java client
- 22:07ReplicaSet with Java client
- 26:20Custom objects and operators
- 29:30Custom Resource Definitions
- 33:01Editing CRD files
- 36:34Fabric8io library demo
- 36:55Creating a Pod with Akka client
- 39:01AskCuber library demo
- 41:27Comparing both libraries
- 42:32Key takeaways and Q&A
related talks
29mAlice and the lost pod: practical guide to Kubernetes in Scala
16mKubernetes as a distributed JVM
15mBuilding systems on top of Kubernetes
25mKubernetes for Java Developers
01h 02mJava to Kubernetes for Dummies
15mHow Kubernetes will change the way you code
37mUnlock Power of Kotlin DSL for Kubernetes
39mCloud Native Akka & Kubernetes The Holy Grail To Elasticity
