fabric8io/kubernetes-client — explained in plain English
Analysis updated 2026-05-18
Write Java code that creates, queries, or deletes Kubernetes resources instead of using kubectl
Automatically load an existing kubeconfig file to connect a Java app to a cluster in one line
Write automated tests for Kubernetes-interacting Java code using the built-in mock server, no real cluster needed
| fabric8io/kubernetes-client | kunminx/linkage-recyclerview | huburt-hu/newbieguide | |
|---|---|---|---|
| Stars | 3,649 | 3,650 | 3,641 |
| Language | Java | Java | Java |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Needs a running Kubernetes or OpenShift cluster (or the mock server) and an existing kubeconfig for real use.
This is a Java library that lets developers write code to control Kubernetes and OpenShift clusters. Kubernetes is a system that manages where and how software applications run across groups of computers. Normally you interact with Kubernetes through command-line tools or configuration files. This library lets Java programs do those same things directly in code: create or delete resources, query what is running, watch for changes, and more. The library provides what the README calls a fluent DSL, meaning the Java code reads almost like a sentence. For example, you can write code that says: get this client, find all deployments in this namespace, list them. You do not have to manually construct HTTP requests or parse JSON responses, the library handles that for you. Creating a connection to a cluster is a single line of code. The library automatically reads your existing Kubernetes configuration file if one is present, so you do not have to specify credentials manually in most cases. Configuration can also be passed through environment variables or system properties. In addition to standard Kubernetes, the library includes extensions for several related platforms and tools: OpenShift (a Kubernetes distribution from Red Hat), Knative (a system for running event-driven workloads), Tekton (a pipeline system), and Istio (a networking layer for services). Each extension ships as a separate module. The repository also includes a built-in mock server for testing. This lets you write automated tests for your Java code that interacts with Kubernetes without needing a real cluster running. The README lists a cheat sheet of equivalents between common kubectl command-line operations and the corresponding Java code in this library. The full README is longer than what was shown.
A Java library with a readable, sentence-like syntax for controlling Kubernetes and OpenShift clusters from code, with extensions for Istio, Knative, and Tekton.
Mainly Java. The stack also includes Java, Kubernetes, OpenShift.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.