k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
299 B
18 lines
299 B
[Unit]
|
|
Description=etcd
|
|
|
|
|
|
[Service]
|
|
User=etcd
|
|
EnvironmentFile=/etc/etcd.env
|
|
{% if inventory_hostname in groups['etcd'] %}
|
|
ExecStart={{ bin_dir }}/etcd
|
|
{% else %}
|
|
ExecStart={{ bin_dir }}/etcd -proxy on
|
|
{% endif %}
|
|
Restart=always
|
|
RestartSec=10s
|
|
LimitNOFILE=40000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|