cloudviz / agentless-system-crawler

A tool to crawl systems like crawlers for the web
Apache License 2.0
117 stars 44 forks source link

Feature: Kubernetes Pods Crawling #245

Open tatsuhirochiba opened 7 years ago

tatsuhirochiba commented 7 years ago

Description

This proposal enables crawler user to collect Kubernetes managed Pod metrics. In Kubernetes, one or more containers are grouped into a Pod, so this feature collects/materializes/emits the metrics per Pod.

Here is a list for all related PRs and TODO items for PRs.

How to Reproduce

Here is an example command to get redis pod metrics on Kuberenetes. The pod and crawler run on the same machine. python crawler/crawler.py --feature redis --crawlmode K8S --frequency 10 --numprocess 1 --url file:///tmp/crawler/log/t --format csv

Log Output

nadgowdas commented 7 years ago

@tatsuhirochiba We have a manifest to deploy crawler as a deamonset