The microbean-kubernetes-controller project contains an idiomatic Java implementation of the Kubernetes controller framework. This lets you write controllers—sometimes known as operators—in Java, using the fabric8 Kubernetes client.
There is a hopefully useful eleven-part series of blog posts on the subject.