{"repo":"fabric8io/kubernetes-client","free":true,"listed":false,"github":"https://github.com/fabric8io/kubernetes-client","clone":"git clone https://github.com/fabric8io/kubernetes-client.git","description":"Java client for Kubernetes & OpenShift","language":"Java","stars":3668,"topics":["kubernetes","openshift","java-client","kubernetes-client","mocking-kubernetes","kubernetes-model","openshift-client","dsl","mock-server","java"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Kubernetes & OpenShift Java Client This client provides access to the full Kubernetes & OpenShift REST APIs via a fluent DSL. Module Maven Central Javadoc - :-: :-: kubernetes-client openshift-client Extensions Maven Central Javadoc - :-: :-: knative-client tekton-client chaosmesh-client volumesnapshot-client volcano-client istio-client open-cluster-management-client Contents - Usage - Creating a client - Configuring the client - Loading resources from external sources - Passing a reference of a resource to the client - Adapting a client - Adapting and close - Generating CRD from Java - Generating Java from CRD - Mocking Kubernetes - Who Uses Fabric8 Kubernetes Client? - Kubernetes Operators in Java Written using Fabric8 Kubernetes Client - Kubernetes and Red Hat OpenShift Compatibility - Kubernetes Client CHEAT SHEET - Kubectl Java Equivalents - FAQs - which includes details about project dependencies. Usage Creating a client The easiest way to create a client is: DefaultOpenShiftClient implements both the KubernetesClient & OpenShiftClient interface so if you need the OpenShift extensions, such as Build s, etc then simply do: Configuring the client This will use settings from different sources in the following order of priority: System properties Environment variables Kube config file Service account token & mounted CA certificate System properties are preferred over environment variables. The following system properties & environment variables can be used for configuration","default_branch":null,"files":null,"tree":[],"storefront":"/r/fabric8io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fabric8io/kubernetes-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}