Now that you’ve added Telemetry, you are ready to re-deploy.
Remove the first deployment:
kubectl delete deployment akka-cluster-example
Rebuild and redeploy the instrumented application:
eval $(minikube docker-env) sbt docker:publishLocal kubectl apply -f akka-cluster-example.yaml
Now, you should be able to see the four pod cluster in the Lightbend Console.
As a reminder, if you don’t have the console open, find the minikube IP:
$ minikube ip
Using the IP, view the Lightbend console at
minikube-ip:30080. The default will be http://192.168.99.100:30080.
Congratulations, you enabled Telemetry for an Akka application!
For your reference, the finished tutorial is available on the
git clone https://github.com/lightbend/console-akka-cluster-example.git cd console-akka-cluster-example git checkout tutorial-done
You can view the entire set of changes from the
tutorial start point:
git diff origin/tutorial..origin/tutorial-done