This repository contains interfaces to inspect, interact and manage various Parts of Apache Pekko, primarily Pekko Cluster. Future additions may extend these concepts to other parts of Apache Pekko.
Apache Pekko Management is a fork of Akka Management
The documentation is available at pekko.apache.org.
build.sbt
in this directory)sbt compile
compiles the main source for project default version of Scala (2.13)sbt +compile
will compile for all supported versions of Scalasbt test
will compile the code and run the unit testssbt testQuick
similar to test
but when repeated in shell mode will only run failing testssbt package
will build the jarsdiscovery-aws-api/target/scala-2.13/
sbt publishLocal
will push the jars to your local Apache Ivy repositorysbt publishM2
will push the jars to your local Apache Maven repositorysbt docs/paradox
will build the docs (the ones describing the module features)sbt docs/paradoxBrowse
does the same but will open the docs in your browser when completeindex.html
file will appear in target/paradox/site/main/
sbt unidoc
will build the Javadocs for all the modules and load them to one place (may require Graphviz, see Prerequisites above)index.html
file will appear in target/scala-2.13/unidoc/
sbt sourceDistGenerate
will generate source release to target/dist/
sbt "set ThisBuild / version := \"1.0.0\"; sourceDistGenerate"
version.sbt
to the same directory that has the build.sbt
containing something likeThisBuild / version := "1.0.0"
The integration tests requires an Kubernetes API server running on localhost:8080
. You can run a local Kubernetes cluster using Minikube. You can bind the API server on localhost:8080
using kubectl proxy --port=8080
.
The following scripts can be used to run the integration tests:
./integration-test/kubernetes-api/test.sh
run the integration tests for the Kubernetes API../integration-test/kubernetes-dns/test.sh
run the integration tests related to the Kubernetes DNS-based discovery using the service name../integration-test/kubernetes-dns/test.sh
run the integration tests for the Kubernetes DNS-based discovery using the service name../lease-kubernetes-int-test/test.sh
run the integration tests for the Kubernetes lease implementation.There are several ways to interact with the Apache Pekko community:
Contributions are very welcome. If you have an idea on how to improve Apache Pekko Management, don't hesitate to create an issue or submit a pull request.
See CONTRIBUTING.md for details on the development workflow and how to create your pull request.
With the exception of the experimental modules listed below, version 1.0.0 or later of this library will be ready to be used in production and APIs are stable.
The 1.0.0 release is expected soon. Snapshots are published to https://repository.apache.org/content/groups/snapshots/.
The following modules are considered experimental and require more work and testing to be considered production ready:
Apache Pekko Management is governed by the Apache code of conduct. By participating in this project you agree to abide by its terms.
Apache Pekko Management is available under the Apache License, version 2.0. See LICENSE file for details.