petabridge / Cluster.WebCrawler

K8s, DevOps-ified version of the Akka.Cluster WebCrawler code sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cluster.WebCrawler

K8s, DevOps-ified version of the Akka.Cluster WebCrawler code sample.

How To Run This Sample

First, we need to build the Docker images:

Windows

PS> ./build.cmd Docker

Linux or OS X

PS> ./build.sh Docker

Running The Seed Node Demo

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

Running The Config Discovery Demo

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

Running The Kubernetes Discovery Demo

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

About

K8s, DevOps-ified version of the Akka.Cluster WebCrawler code sample

License:Apache License 2.0


Languages

Language:JavaScript 54.9%Language:C# 30.9%Language:F# 5.0%Language:PowerShell 4.7%Language:HTML 2.3%Language:Shell 1.1%Language:Dockerfile 0.6%Language:Batchfile 0.4%Language:CSS 0.2%