Getting started with Kubernetes Operators in Java
summary
Shows how to build a working Kubernetes operator with the Java Operator SDK, a CRD for tomcat plus a separate web app CR, packaged via Maven/Jib into a container and deployed to a cluster. The operator watches CRs, creates a Deployment and a Service (exposed as nodePort 30000), pulls and swaps WAR files on update, and deletes resources when CRs are removed. Demo enforces types via OpenAPI schema (invalid types are rejected). Alternatives mentioned: Go operator-sdk, KUDO, or raw client libraries.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:42My interest in Kubernetes operators
- 1:51What is a Kubernetes operator
- 2:09The right talk for you
- 2:42Simplified workflow
- 4:47Control loops
- 5:47Custom resources
- 6:54Custom resource definition
- 7:18Custom resource parts
- 8:48Different types of operators
- 9:54Why use Java
- 10:33Getting started
- 11:42CreateUpdate Resource
- 13:15Package Operator
- 13:36Operator Demo
- 16:03Demo
- 23:44What is an Operator
related talks
38mModernize and Automate your Java Application for Kubernetes
39mDeveloping a Kubernetes Operator in Java, Challenge Accepted!
46mKubernetes Operators in Java - When? Why? How?
43mCreating a Kubernetes Operator in Java
31mWriting a Kubernetes Operator in Java
48mBootiful Kubernetes Operators
31mKubernetes Operators within Reach of Any Developer
42mAutomating the Enterprise with Java-based Kubernetes Operators
