Last active
August 29, 2015 14:06
-
-
Save bketelsen/bce5634b80045608601e 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
[Unit] | |
After=network-online.target | |
Description=Download Kubernetes Binaries | |
Documentation=https://github.com/GoogleCloudPlatform/kubernetes | |
Requires=network-online.target | |
[Service] | |
ExecStart=/usr/bin/wget http://xxx.cf5.rackcdn.com/apiserver -O /opt/bin/apiserver | |
ExecStart=/usr/bin/wget http://xxx.cf5.rackcdn.com/fleetctl -O /opt/bin/fleetctl | |
ExecStart=/usr/bin/wget http://xxx.cf5.rackcdn.com/kubecfg -O /opt/bin/kubecfg | |
ExecStart=/usr/bin/wget http://xxx.cf5.rackcdn.com/controller-manager -O /opt/bin/controller-manager | |
ExecStart=/usr/bin/wget http://xxx.r63.cf5.rackcdn.com/kubelet -O /opt/bin/kubelet | |
ExecStart=/usr/bin/wget http://xxxcf5.rackcdn.com/proxy -O /opt/bin/proxy | |
ExecStart=/usr/bin/wget http://xxxcf5.rackcdn.com/scheduler -O /opt/bin/scheduler | |
ExecStart=/usr/bin/chmod +x /opt/bin/apiserver | |
ExecStart=/usr/bin/chmod +x /opt/bin/controller-manager | |
ExecStart=/usr/bin/chmod +x /opt/bin/kubecfg | |
ExecStart=/usr/bin/chmod +x /opt/bin/kubelet | |
ExecStart=/usr/bin/chmod +x /opt/bin/proxy | |
ExecStart=/usr/bin/chmod +x /opt/bin/scheduler | |
ExecStart=/usr/bin/chmod +x /opt/bin/fleetctl | |
RemainAfterExit=yes | |
Type=oneshot | |
[X-Fleet] | |
Global=true |
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
[Unit] | |
ConditionFileIsExecutable=/opt/bin/kubelet | |
Description=Kubernetes Kubelet | |
Documentation=https://github.com/GoogleCloudPlatform/kubernetes | |
After=minion-download-kubernetes@<ID>.service | |
[Service] | |
ExecStart=/opt/bin/kubelet \ | |
--address=0.0.0.0 \ | |
--port=10250 \ | |
--hostname_override=10.176.9.196\ | |
--etcd_servers=http://127.0.0.1:4001 \ | |
--logtostderr=true | |
Restart=always | |
RestartSec=2 | |
[Install] | |
WantedBy=multi-user.target | |
[X-Fleet] | |
MachineID=8244401b |
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
- command: start | |
content: | | |
[Unit] | |
After=network-online.target | |
After=etcd.service | |
Description=Run Fleetd | |
Requires=network-online.target | |
[Service] | |
ExecStart=/opt/bin/fleetd | |
name: fleet.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment