Skip to content

hora-prediction/kubernetes-recipes-rss

Repository files navigation

kubernetes-recipes-rss

Configuration files for deploying RSS Recipes on Kubernetes.

System requirements

How to deploy RSS Recipes

RSS Recipes can be deployed by executing the following steps on the master node:

  1. Deploy ActiveMQ server
    • kubectl create -f https://raw.githubusercontent.com/hora-prediction/kubernetes-recipes-rss/master/activemq.yaml
  2. Deploy Kieker Logging Server
    • kubectl create -f https://raw.githubusercontent.com/hora-prediction/kubernetes-recipes-rss/master/kls.yaml
  3. Deploy RSS Recipes application
    • kubectl create -f https://raw.githubusercontent.com/hora-prediction/kubernetes-recipes-rss/master/rssreader.yaml for the application without instrumentation or
    • kubectl create -f https://raw.githubusercontent.com/hora-prediction/kubernetes-recipes-rss/master/rssreader-kieker.yaml for the application instrumented with Kieker
  4. Initialize cassandra keyspace
    • curl -s https://raw.githubusercontent.com/hora-prediction/kubernetes-recipes-rss/master/initialize-cassandra.cql -o initialize-cassandra.cql
    • kubectl cp initialize-cassandra.cql $(kubectl get po | grep ^cassandra- | head -n 1 | cut -d ' ' -f1):/.
    • kubectl exec $(kubectl get po | grep ^cassandra- | head -n 1 | cut -d ' ' -f1) -- cqlsh -f /initialize-cassandra.cql $(kubectl get nodes | head -n 2 | tail -n 1 | cut -d ' ' -f1) 31002 Note: This step may need to be executed many times until it returns success.
  5. Deploy Locust for load testing
    • kubectl create -f https://raw.githubusercontent.com/hora-prediction/kubernetes-recipes-rss/master/locust-master.yaml
    • kubectl create -f https://raw.githubusercontent.com/hora-prediction/kubernetes-recipes-rss/master/locust-worker.yaml

After deploying all components, the following web-ui can be accessed:

About

Configuration files for deploying RSS Recipes on Kubernetes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published