Skip to content

operator-framework/java-controller-runtime

Repository files navigation

java-controller-runtime

Steps to run the Example Operator with Controller Locally

  1. First Clone the repository and run the command mvn clean install
  2. This will create an mvn repository for your project. You can check that locally on below path .m2/repository/io/fabric8
  3. After successful compilation of java-controller-runtime, go to the example folder
  4. Before running the operator, first create CRD and CR with command kubectl create -f src/main/resources
  5. Then, run the operator first mvn clean install on example operator and then target folder has .jar file created for it.
  6. Go to target folder and run the application with command
    java -jar memcached-java-operator-1.0-SNAPSHOT-jar-with-dependencies.jar
  7. You can check the number of pods running with command kubectl get pods

About

Repo for the Java controller-runtime.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages