Learn Kubernetes the Java way

Oleg Šelajev Developer relations @shelajev github.com/shelajev oleg@atomicjar.com

OUR OPEN ROLES Technical Account Executive Staff Cloud Engineer CONTACT Sidney Miller @SidneyMiller2 Senior Product Designer sidney@atomicjar.com Senior Manager - Product Marketing atomicjar.com/careers Java Engineer WE’RE HIRING

Testcontainers-java • Created 7 years ago (Docker is 8 years old) • github.com/testcontainers/testcontainers-java • Uses docker-java API • Integrates with frameworks, like Spring, JUnit • Works with anything that runs in a Docker container

fi • Container lifecycle & cleanup • Container & service con guration • Integration with frameworks

testcontainers.com/modules/

testcontainers.com/modules/

Kubernetes in Java? K3S Lightweight Single-Binary Kubernetes

Show me the code

Can I run it?

Show me the code

Can I it talk to it?

Show me the code

Config or it didn’t happen!

Show me the code

How to inspect Kubernetes? keyvalue store

Show me the code

How to escape Kubernetes? 😱

Show me the code

Control Plane ■ API server ■ etcd ■ kube-controller-manager ■ kube-scheduler Data Plane ■ kubelet ■ kube-proxy https://kubernetes.io/docs/concepts/overview/components/

• Deployment • Service • ConfigMaps • Secrets • Pods https://kubernetes.io/docs/concepts/overview/components/

What next? https://kubernetes.io/docs/tutorials/kubernetes-basics https://github.com/kelseyhightower/kubernetes-the-hard-way www.testcontainers.org

Visit AtomicJar booth 25!