K8s, DevOps-ified version of the Akka.Cluster WebCrawler code sample.
First, we need to build the Docker images:
PS> ./build.cmd Docker
PS> ./build.sh Docker
Use docker-compose
to run the seed-node based discovery demo:
PS> docker-compose -f ./docker/docker-compose.yml up
From there, you can use Petabridge.Cmd to connect to Lighthouse to view the status of the cluster:
PS> pbm 127.0.0.1:9110 cluster show
Use docker-compose
to run the seed-node based discovery demo:
PS> docker-compose -f ./docker/docker-compose-config.yml up
From there, you can use Petabridge.Cmd to connect to Lighthouse to view the status of the cluster:
PS> pbm 127.0.0.1:9110 cluster show
Use the provided command script to run the demo:
PS> ./k8s/deployAll.cmd
From there, you can use Petabridge.Cmd to connect to Lighthouse to view the status of the cluster:
PS> pbm 127.0.0.1:9110 cluster show
To stop the cluster, use the provided command script:
PS> ./k8s/destroyAll.cmd
To monitor the status of the cluster, use the provided command script:
PS> ./k8s/status.cmd
To see the Kubernets cluster events, use the provided command script:
PS> ./k8s/events.cmd