Writing a Kubernetes Operator in Java
summary
Live code shows a Java operator built with Quarkus and the fabric8 Kubernetes Client that lists and watches resources, handles namespace via /var/run/secrets/kubernetes.io/serviceaccount/namespace, and respects resourceVersion to ignore stale events. Demo deploys three nginx pods on a local kind cluster, compiles a native binary with GraalVM into a small Docker image, and adds a CRD plus Java Jackson-mapped model to receive create/modify/delete events. The operator runs successfully and the Instana instana-agent-operator source is on GitHub.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 2:50Installer Agent Operator
- 3:22Framework
- 12:51Compile
- 16:30Testing
- 20:12Custom Resources
- 23:47Code
- 27:01Demonstration
related talks
18mBuilding a Kubernetes Operator in Quarkus
43mCreating a Kubernetes Operator in Java
27mGetting started with Kubernetes Operators in Java
31mKubernetes Operators within Reach of Any Developer
48mBootiful Kubernetes Operators
39mDeveloping a Kubernetes Operator in Java, Challenge Accepted!
46mKubernetes Operators in Java - When? Why? How?
37mThey tell you it’s impossible, but it isn't: Building K8s Operators using Java and Jakarta EE
