Standalone Package Installation
You can install Kubes as a standalone package. The nice thing about this approach is that it is easy. You don’t have to have Ruby installed. You don’t have to worry about compatible Ruby versions, gems, or conflicting system packages.
Kubes provides the pre-built binaries. Other tools such as vagrant, written in ruby, and the aws cli, written in python, also work the same way.
Important: If you’re using rvm or rbenv and already have Ruby installed, you should install kubes as a gem. Otherwise, different gem dependencies from the two installations can be used and cause all kinds of trouble.
Below are quickstart instructions for different OSes.
Mac OSX
brew tap boltops-tools/software
brew install kubes
More info on Mac OSX Install
CentOS/RedHat/Fedora
sudo su
curl -so /etc/yum.repos.d/boltops.repo https://yum.boltops.com/boltops.repo
rpm --import https://yum.boltops.com/boltops-key.public
yum install -y kubes
More info on CentOS Install
Ubuntu/Debian
sudo su
echo "deb https://apt.boltops.com stable main" > /etc/apt/sources.list.d/boltops.list
curl -s https://apt.boltops.com/boltops-key.public | apt-key add -
apt-get update
apt-get install -y kubes
More info on Ubuntu Install
Generated Wrapper
The standalone installer creates a wrapper script in /usr/local/bin
.
/usr/local/bin/kubes
Most users have /usr/local/bin
configured in their PATH. So this wrapper should work immediately.
Important: If you have a wrapper in /usr/local/bin
already, the installer will overwrite it.
How It Works
The standalone installer packages are built within a few minutes of the kubes gem release. Here are also details on how the standalone installer works: Standalone Details.