The following was discovered as part of building this project:
- The original package name 'bootiful.kubernetes-client-example' is invalid and this project uses 'bootiful.kubernetesclientexample' instead.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Native Reference Guide
These additional references should also help you:
This project has been configured to let you generate a lightweight container running a native executable. Docker should be installed and configured on your machine prior to creating the image, see the Getting Started section of the reference guide.
To create the image, run the following goal:
$ ./mvnw spring-boot:build-image
Then, you can run the app like any other container:
$ docker run --rm kubernetes-client-example:0.0.1-SNAPSHOT