O'Reilly logo

Docker and Kubernetes for Java Developers by Jaroslaw Krochmalski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example calls

In the following examples, we will be using a command-line HTTP client, curl. You are not limited to curl, you can freely use the HTTP client you find convenient. Using the HTTP client with the user interface is often very handy, they usually present the HTTP response in a structured form and sometimes also do some request validation, if it's well formed. My recommended GUI clients will be Postman (for Windows, Linux, or Mac), or PAW for Mac.

Before making any calls, let's first start a proxy to the Kubernetes API server. The kubectl needs to be configured first, to be able to communicate with your cluster. In our local Kubernetes installation with minikube, the kubectl command will be automatically configured. To start a proxy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required