Run cAdvisor on all minions.

This commit is contained in:
Victor Marmol
2014-07-01 10:48:29 -07:00
parent d53c56dd29
commit 842907613b
4 changed files with 36 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
{%- set ips = salt['mine.get']('roles:kubernetes-master', 'network.ip_addrs', 'grain').values() %}
DAEMON_ARGS="$DAEMON_ARGS -etcd_servers=http://{{ ips[0][0] }}:4001 -address=$HOSTNAME"
DAEMON_ARGS="$DAEMON_ARGS -etcd_servers=http://{{ ips[0][0] }}:4001 -address=$HOSTNAME -config=/etc/kubernetes/manifests"