Class PortForwardExample

java.lang.Object
io.kubernetes.client.examples.PortForwardExample

public class PortForwardExample extends Object
A simple example of how to use the Java API

Easiest way to run this: mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.PortForwardExample" from inside $REPO_DIR/examples

Then: curl localhost:8080 from a different terminal (but be quick about it, the socket times out pretty fast...)