Run etcd as pod

This commit is contained in:
Antoine Legrand
2015-12-23 23:27:40 +01:00
committed by ant31
parent b45747ec86
commit 5c15d14f12
10 changed files with 70 additions and 99 deletions

View File

@@ -1,3 +1,13 @@
---
- include: install.yml
- include: configure.yml
- name: ETCD2 | Stop etcd2 service
service: name=etcd state=stopped
ignore_errors: yes
- name: ETCD2 | create etcd pod template
template: src=etcd-pod.yml dest=/etc/kubernetes/manifests/etcd-pod.manifest
- name: ETCD2 | Check for etcd2 port
wait_for:
port: 2379
delay: 5
timeout: 20