20 lines
783 B
Markdown
20 lines
783 B
Markdown
# Kubernetes Java API Sample Code
|
|
|
|
This module contains sample code used to show how to use the Kubernetes client Java API.
|
|
|
|
Before running those samples, make sure that your environment is correctly configured to access
|
|
a working Kubernetes cluster.
|
|
|
|
An easy way to check that everything is working as expected is issuing any *kubectl get* command:
|
|
|
|
```shell
|
|
$ kubectl get nodes
|
|
```
|
|
If you get a valid response, then you're good to go.
|
|
|
|
### Relevant Articles:
|
|
|
|
- [Paging and Async Calls with the Kubernetes API](https://www.baeldung.com/java-kubernetes-paging-async)
|
|
- [Using Watch with the Kubernetes API](https://www.baeldung.com/java-kubernetes-watch)
|
|
- [Using Namespaces and Selectors With the Kubernetes Java API](https://www.baeldung.com/java-kubernetes-namespaces-selectors)
|