Skip to content

Instantly share code, notes, and snippets.

@cescoferraro
Last active March 22, 2016 14:01
Show Gist options
  • Save cescoferraro/945d25a9ba310077488a to your computer and use it in GitHub Desktop.
Save cescoferraro/945d25a9ba310077488a to your computer and use it in GitHub Desktop.
All necessary binaries to run Kubernetes on CoreOS from https://github.com/cescoferraro/kube/ because the original releases link keep crashing on Digital Ocean
# this clone the repo at /opt/bin which is under the $PATH buy may conflict \
with existing copies of these binaries on core os machines \
while on a shell environment. Service files should use absolute path anyway. \
Keep that in mind when sshing into the servers
TODO : Create a service that remove the installation binaries
- name: binaries.service
command: start
content: |
[Unit]
Description=retrieve binaries
[Service]
Type=forking
User=root
WorkingDirectory=/home/core
ExecStart=/usr/bin/git clone https://github.com/cescoferraro/kube.git /opt/bin/
Restart=on-failure
SuccessExitStatus=128
RemainAfterExit=yes
RestartPreventExitStatus=128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment