
Java client providing fluent DSL access to Kubernetes and OpenShift REST APIs for managing cloud-native infrastructure, pods, services, and configurations with authentication and TLS support.
This client provides access to the full Kubernetes & OpenShift REST APIs via a fluent DSL.
The easiest way to create a client is:
KubernetesClient client = new DefaultKubernetesClient();
DefaultOpenShiftClient implements both the KubernetesClient & OpenShiftClient interface so if you need the
OpenShift extensions, such as Builds, etc then simply do:
OpenShiftClient osClient = new DefaultOpenShiftClient();
This will use settings from different sources in the following order of priority:
System properties are preferred over environment variables. The following system properties & environment variables can be used for configuration: