Fix vagrant with etcd in pod

This commit is contained in:
derekwaynecarr
2015-04-02 16:55:29 -04:00
parent acdce749a3
commit c6bf46acd7
5 changed files with 5 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ Requires=docker.service
[Service]
EnvironmentFile=/etc/sysconfig/kubelet
ExecStart=/usr/local/bin/kubelet "$DAEMON_ARGS"
Restart=on-failure
Restart=always
[Install]
WantedBy=multi-user.target

View File

@@ -6,6 +6,7 @@ sdn:
- source: /kubernetes-vagrant/network_closure.sh
- require:
- pkg: docker-io
- sls: kubelet
- cwd: /
- user: root
- group: root

View File

@@ -45,6 +45,7 @@ base:
{% endif %}
{% if grains['cloud'] is defined and grains['cloud'] == 'vagrant' %}
- docker
- kubelet
- sdn
{% endif %}
{% if grains['cloud'] is defined and grains['cloud'] == 'aws' %}