Skip to content

GustavFredrikson/DE2-GithubAnalytics

Repository files navigation

DE2-GithubAnalytics

To start the pods with consumers/producers, run the following commands (with flag --use-mongo to use mongoDB)

./run_all.sh --use-mongo

To get the data from the pods, run the following commands:

microk8s kubectl cp default/frequently-updated-projects-consumer-pod:most_commits.csv most_commits.csv
microk8s kubectl cp default/programming-languages-consumer-pod:top_languages.csv top_languages.csv
microk8s kubectl cp default/devops-consumer-pod:devops.csv devops.csv
microk8s kubectl cp default/test-driven-development-consumer-pod:test_driven_development.csv test_driven_development.csv

Using standard kubectl:

kubectl cp default/main-repo-producer-pod:mrp_time_start mrp_time_start
kubectl cp default/main-repo-producer-pod:mrp_time_end mrp_time_end
kubectl cp default/frequently-updated-projects-consumer-pod:most_commits.csv most_commits.csv
kubectl cp default/programming-languages-consumer-pod:top_languages.csv top_languages.csv
kubectl cp default/devops-consumer-pod:devops.csv devops.csv
kubectl cp default/test-driven-development-consumer-pod:test_driven_development.csv test_driven_development.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published