Maven archetypes that can speed up the development of other JVM operators for Kubernetes and OpenShift.
- Java operator:
mvn archetype:generate \
-DgroupId=io.acme \
-DartifactId=my-new-operator \
-DarchetypeArtifactId=operator-mvn-archetype \
-DarchetypeGroupId=io.radanalytics \
-DarchetypeVersion=0.0.8
- Scala operator
mvn archetype:generate \
-DgroupId=io.acme \
-DartifactId=my-new-scala-operator \
-DarchetypeArtifactId=operator-scala-mvn-archetype \
-DarchetypeGroupId=io.radanalytics \
-DarchetypeVersion=0.0.8
By issuing the command above, you should be able to see new directory called my-new-operator
(or my-new-scala-operator
) with example operator, example Dockerfile, Makefile, etc.