Overview of fabric8-maven-plugin capabilities
masterThe fabric8-maven-plugin (f8-m-p) integrates Maven with Kubernetes and OpenShift. It focuses on two primary tasks:
- Building Docker images: Creating container images containing your application (using
fabric8:build). - Creating resource descriptors: Generating Kubernetes and OpenShift YAML descriptors (using
fabric8:resource).
It supports three configuration models:
- Zero-Config: Uses opinionated defaults based on your
pom.xml(e.g., detecting Spring Boot). - XML Configuration: Provides type-safe configuration within the
pom.xml(partially implemented). - Resource Fragments: Uses external YAML files in
src/main/fabric8that are enriched with build metadata.