Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.8 KB

vagrant_kubernetes.md

File metadata and controls

61 lines (44 loc) · 1.8 KB

Installing Romana on Vagrant with Kubernetes

The setup described below has been tested on Ubuntu 14.04 LTS, but should work similarly on other Linux or Mac OS X environments. You may need to install additional development tools.

This should be done on your host. A 'run from a VM' option is being developed, for users that do not wish to install additional tools on the host.

Prepare

To run this installation, you will need

  • Vagrant installed (and tested to be sure it works)
  • ansible v2.1 or higher, and supporting python tools / libraries

Set up Ansible

# Ubuntu
sudo apt-get install git python-pip python-dev
sudo pip install ansible netaddr

# OS X
sudo easy_install pip
sudo pip install ansible netaddr

Install

Check out the Romana repository and run the installer

git clone https://github.com/romana/romana
cd romana/romana-install
./romana-setup -p vagrant -s kubernetes install

See the romana-setup page for details about the command-line options.

The Vagrant installation can take a long time to complete, because of some large downloads that are performed. Please be patient. When installation is complete, information about the cluster should be provided.

Kubernetes Summary
==================

Master
------
IP: 192.168.99.10
ssh -i /.../romana/romana-install/romana_id_rsa [email protected]

Minions
-------
ssh -i /.../romana/romana-install/romana_id_rsa [email protected]

You can now proceed to Using Romana on Kubernetes.

Uninstall

From the same directory, you can perform an uninstall

./romana-setup -p vagrant -s kubernetes uninstall

This will destroy the Kubernetes cluster.