mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-07-08 06:48:11 -02:30
Add etcd-events cluster for kube-apiserver (#2385)
Add etcd-events cluster for kube-apiserver
This commit is contained in:
committed by
Matthew Mosesohn
parent
af7edf4dff
commit
67ffd8e923
16
roles/etcd/templates/etcd-events-host.service.j2
Normal file
16
roles/etcd/templates/etcd-events-host.service.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=etcd
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
User=root
|
||||
EnvironmentFile=/etc/etcd-events.env
|
||||
ExecStart={{ bin_dir }}/etcd
|
||||
NotifyAccess=all
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
LimitNOFILE=40000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user