mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-04 11:08:16 -03:30
Fix systemd reload and calico unit
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
dest: /usr/bin/calicoctl
|
||||
state: link
|
||||
|
||||
- wait_for:
|
||||
- name: Calico | wait for etcd
|
||||
wait_for:
|
||||
port: 2379
|
||||
when: inventory_hostname in groups['kube-master']
|
||||
|
||||
@@ -68,6 +69,8 @@
|
||||
when: init_system == "sysvinit" and ansible_os_family == "RedHat"
|
||||
notify: restart calico-node
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
- name: Calico | Enable calico-node
|
||||
service: name=calico-node enabled=yes state=started
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Description=Calico per-node agent
|
||||
Documentation=https://github.com/projectcalico/calico-docker
|
||||
Requires=docker.service
|
||||
After=docker.service etcd2.service
|
||||
After=docker.service etcd.service
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
|
||||
Reference in New Issue
Block a user