<p>I want to run a restapi server, a spring boot app, to kick start other docker containers inside of the same kubernetes cluster. I found these 2 packages:Spring Cloud Kubernetes and Kubernetes API Client. I am confused on what the difference between the two and which one should I use.</p>

topcan5
<p>With Spring cloud cal version (2020.x.x), spring cloud Kubernetes comes with two implementations - Fabric8 and Kubernetes Java Client. See <a href="https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/index.html#starters" rel="nofollow noreferrer">here</a>.</p>
<p>NOTE - Prior to spring-cloud cal version spring-cloud-kubernetes used fabric8 impl</p>
<p>Both implementations works fine. While there are many, here is one of the <a href="https://itnext.io/difference-between-fabric8-and-official-kubernetes-java-client-3e0a994fd4af" rel="nofollow noreferrer">blog comparing the two</a>. In general Fabric8 seems to have more features.</p>
<p>I am not sure if the Spring community prefers any particular impl. Both projects are active.
Spring example <a href="https://github.com/spring-cloud/spring-cloud-kubernetes/tree/main/spring-cloud-kubernetes-examples" rel="nofollow noreferrer">here</a>.</p>
<p>I too have an example using <a href="https://github.com/dhananjay12/spring-microservices-using-spring-kubernetes" rel="nofollow noreferrer">Frabric8 on github</a>.</p>
