Skip to content

Instantly share code, notes, and snippets.

@niquola
Created February 18, 2015 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niquola/6689c114b979f4f88849 to your computer and use it in GitHub Desktop.
Save niquola/6689c114b979f4f88849 to your computer and use it in GitHub Desktop.
Use external fleet to work with coreos cluster
sudo apt-get install golang
cd ~/
git clone https://github.com/HealthSamurai/infrastructure.git
cd ~/
git clone https://github.com/coreos/fleet.git
cd fleet
./build
ssh-agent
export SSH_AUTH_SOCK=/tmp/ssh-oadz3ZCliPgs/agent.27041
chmod 600 ~/infrastructure/coreos/id_rsa_coreos
ssh-add ~/infrastructure/coreos/id_rsa_coreos
export FLEETCTL_TUNNEL=<cluser-machine-ip>
export FLEETCTL_SSH_USERNAME=core
bin/fleetctl list-machines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment