Created
September 13, 2014 16:27
-
-
Save bketelsen/bd82b0ad02a466f14437 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/lib64/systemd/system/etcd.service | |
[Unit] | |
Description=etcd | |
[Service] | |
User=etcd | |
PermissionsStartOnly=true | |
Environment=ETCD_DATA_DIR=/var/lib/etcd ETCD_NAME=default | |
ExecStart=/usr/bin/etcd | |
Restart=always | |
RestartSec=10s | |
[Install] | |
WantedBy=multi-user.target | |
# /run/systemd/system/etcd.service.d/10-oem.conf | |
[Service] | |
Environment=ETCD_PEER_ELECTION_TIMEOUT=1200 | |
# /run/systemd/system/etcd.service.d/20-cloudinit.conf | |
[Service] | |
Environment="ETCD_ADDR=10.176.132.176:4001" | |
Environment="ETCD_BIND_ADDR=0.0.0.0:4001" | |
Environment="ETCD_DISCOVERY=https://discovery.etcd.io/2fb4b4927171f2fca7d46cdd0242ed83" | |
Environment="ETCD_NAME=kubernetes-minion-0" | |
Environment="ETCD_PEER_ADDR=10.176.132.176:7001" | |
Environment="ETCD_PEER_BIND_ADDR=10.176.132.176:4001" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment