Modernize and Automate your Java Application for Kubernetes
summary
Shows how to turn legacy Tomcat into a Kubernetes-native service by adding two CRDs tomcat and webapp and implementing a tomcat operator with java-operator-sdk (fabric8 client). Operator creates Deployments and Services, watches readiness to set readyReplicas in status, supports create/update/delete, downloads WARs into containers via wget, scales from 2 to 3 replicas and rolls Tomcat 9→8, and successfully serves two webapps through a GKE load balancer IP.
AI-written summary · about
chapters (13)
- 0:00Modernizing Java for K8s
- 1:17Limitations of standard deploys
- 2:28Custom resources explained
- 3:57The role of an operator
- 5:14Building Java operators
- 6:52Registering custom resources
- 9:41Implementing the controller
- 12:20Adding automation logic
- 15:33Handling updates and deletes
- 19:11Providing resource status
- 23:15Deploying web applications
- 27:08Operator potential and wrap-up
- 30:40Q&A session
related talks
27mGetting started with Kubernetes Operators in Java
43mKubernetes and Containers for Your Web Application: Step by Step
48mBootiful Kubernetes Operators
01h 59mKubernetes for Java Developers
49mTomcat: From a Cluster to the Cloud
42mAutomating the Enterprise with Java-based Kubernetes Operators
31mWriting a Kubernetes Operator in Java
43mCreating a Kubernetes Operator in Java
