Refer to my github, modified from official github.


by default, ubuntu doens’t have enough vm.max_map_count which causes docker failure when bootstrap elasticsearch. max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] To fix this, add vm.max_map_count = 262144 in /etc/sysctl.conf. Then restart sysctl process: sudo sysctl --system

A better solution of collecting docker container data is to use filebeat, there’s a helm chart for it.


Take a look at official github, run through Guided files

$ kubectl create -f https://github.com/kubernetes/heapster/deploy/kube-config/influxdb/
$ kubectl create -f https://github.com/kubernetes/heapster/deploy/kube-config/rbac/heapster-rbac.yaml

this will install whole monitor components, and use admin/admin to login grafana and check pre-build dashboard.