mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 02:00:03 -03:30
Rollback 1.8.3 docker
This commit is contained in:
@@ -6,16 +6,12 @@ After=etcd2.service
|
||||
EnvironmentFile=/etc/network-environment
|
||||
User=root
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre={{ bin_dir }}/calicoctl checksystem --fix
|
||||
{% if inventory_hostname in groups['kube-node'] %}
|
||||
{% if peer_with_router|default(false) %}
|
||||
ExecStart={{ bin_dir }}/calicoctl node --ip=${DEFAULT_IPV4} --as={{ local_as }} --kubernetes
|
||||
ExecStart={{ bin_dir }}/calicoctl node --kubernetes --ip=${DEFAULT_IPV4} --as={{ local_as }}
|
||||
{% else %}
|
||||
ExecStart={{ bin_dir }}/calicoctl node --ip=${DEFAULT_IPV4} --kubernetes
|
||||
ExecStart={{ bin_dir }}/calicoctl node --kubernetes --ip=${DEFAULT_IPV4}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
ExecStart={{ bin_dir }}/calicoctl node --ip=${DEFAULT_IPV4}
|
||||
{% endif %}
|
||||
|
||||
RemainAfterExit=yes
|
||||
Type=oneshot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user