Skip to content

jvm-operators/java-example-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-new-operator

Build status License

{ConfigMap|CRD}-based approach for managing the X in Kubernetes and OpenShift.

This operator uses abstract-operator library.

Build

make build

Quick Start

Run the my-new-operator deployment:

kubectl create -f manifest/operator.yaml

Create new ConfigMap from the prepared example:

kubectl create -f examples/cm.yaml

For deployment on OpenShift use the same commands as above, but with oc instead of kubectl.

This operator can also work with CRDs. For OpenShift, we are assuming the admin user is logged in (oc login -u system:admin) and you have switched the project to "default" (oc project default).

you can install the operator with:

kubectl create -f manifest/operator-crd.yaml

and then create the Spark clusters by creating the custom resources (CR).

kubectl create sparkcluster -f examples/cr.yaml

Development

make devel

This will build the image and deploys the operator into OpenShift. It assumes the oc on PATH.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published