Plugin Documentation
Goals available for this plugin:
Goal | Description |
---|---|
createk8syaml:deploy | Deploys deployment, service and ingress file to a Kubernetes
cluster. By default to connect to the cluster, the app tries to
pick up ~/.kube/config to be able to authenticate. The
location can be overriden by providing a configuration
kubeconfig or by setting an environment variable
KUBECONFIG . If the KUBECONFIG environment
variable, this will override any setting provided via pom. |
createk8syaml:generate | Creates a minimal Kubernetes deployment, service and ingress yaml file. |
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.5.0 |
JDK | 1.8 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
Usage
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>io.github.parj</groupId> <artifactId>createk8syaml-maven-plugin</artifactId> <version>0.0.6-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>io.github.parj</groupId> <artifactId>createk8syaml-maven-plugin</artifactId> <version>0.0.6-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"