<commit_before># kubernetes-vagrant-coreos-cluster
Turnkey **[Kubernetes](https://github.com/GoogleCloudPlatform/kubernetes)**
cluster setup with **[Vagrant](https://www.vagrantup.com)** (1.7.2+) and
**[CoreOS](https://coreos.com)**.

####If you're lazy, or in a hurry, jump to the [TL;DR](#tldr) section.

## Pre-requisites

 * **[Vagrant](https://www.vagrantup.com)**
 * a supported Vagrant hypervisor
 	* **[Virtualbox](https://www.virtualbox.org)** (the default)
 	* **[Parallels Desktop](http://www.parallels.com/eu/products/desktop/)**
 	* **[VMware Fusion](http://www.vmware.com/products/fusion)** or **[VMware Workstation](http://www.vmware.com/products/workstation)**
 * some needed userland
 	* **kubectl** (required to manage your kubernetes cluster)
 	* **fleetctl** (optional for *debugging* **[fleet](http://github.com/coreos/fleet)**)

### fleetctl

On **MacOS X** (and assuming you have [homebrew](http://brew.sh) already installed) run

   `brew install wget fleetctl`

## Deploy Kubernetes

Current ```Vagrantfile``` will bootstrap one VM with everything needed to become a Kubernetes _master_ and, by default, a couple VMs with everything needed to become Kubernetes minions. You can however change the number of minions by setting the **NUM_INSTANCES** environment variable (explained below).
```
vagrant up
```

Verify if cluster is up & running
```
fleetctl list-machines
```

You should see something like
```
MACHINE		IP		METADATA
dd0ee115...	172.17.8.101	role=master
74a8dc8c...	172.17.8.102	role=minion
c93da9ff...	172.17.8.103    role=minion
```

Kubernetes is ready. Now we now need to perform a few more steps, such as
* Install `kubectl` binary into */usr/local/bin* - this is needed for interacting with Kubernetes
* Set some environment variables
* Set-up Kubernetes DNS integration

Just run
```
./setup install
source ~/.bash_profile
```

You may specify a different *kubectl* version via the `KUBERNETES_VERSION` environment variable (see [here](#customization) for details).<commit_msg>Minor corrections to the README<commit_after># kubernetes-vagrant-coreos-cluster
Turnkey **[Kubernetes](https://github.com/GoogleCloudPlatform/kubernetes)**
cluster setup with **[Vagrant](https://www.vagrantup.com)** (1.7.2+) and
**[CoreOS](https://coreos.com)**.

####If you're lazy, or in a hurry, jump to the [TL;DR](#tldr) section.

## Pre-requisites

 * **[Vagrant](https://www.vagrantup.com)**
 * a supported Vagrant hypervisor
 	* **[Virtualbox](https://www.virtualbox.org)** (the default)
 	* **[Parallels Desktop](http://www.parallels.com/eu/products/desktop/)**
 	* **[VMware Fusion](http://www.vmware.com/products/fusion)** or **[VMware Workstation](http://www.vmware.com/products/workstation)**
 * some needed userland
 	* **kubectl** (required to manage your kubernetes cluster)
 	* **fleetctl** (optional for *debugging* **[fleet](http://github.com/coreos/fleet)**)

### fleetctl

On **MacOS X** (and assuming you have [homebrew](http://brew.sh) already installed) run

```
brew update
brew install wget fleetctl
```

## Deploy Kubernetes

Current ```Vagrantfile``` will bootstrap one VM with everything needed to become a Kubernetes _master_ and, by default, a couple VMs with everything needed to become Kubernetes minions. You can however change the number of minions by setting the **NUM_INSTANCES** environment variable (explained below).
```
vagrant up
```

Verify if cluster is up & running
```
fleetctl --endpoint=http://172.17.8.101:4001 list-machines
```

NOTE: Once the installation process is complete, you should not have to provide the `--endpoint` argument.

You should see something like
```
MACHINE		IP		METADATA
dd0ee115...	172.17.8.101	role=master
74a8dc8c...	172.17.8.102	role=minion
c93da9ff...	172.17.8.103    role=minion
```

Kubernetes is ready. Now we now need to perform a few more steps, such as
* Install `kubectl` binary into */usr/local/bin* - this is needed for interacting with Kubernetes
* Set some environment variables
* Set-up Kubernetes DNS integration

Just run
```
./setup install
source ~/.bash_profile
```

You may specify a different *kubectl* version via the `KUBERNETES_VERSION` environment variable (see [here](#customization) for details).
{'fraction_non_alphanumeric': 0.14475242833451787, 'fraction_numerical': 0.022506515043828477, 'mean_word_length': 4.847645429362881, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 12, 'xml': 0}, 'pii_count': 7, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '998438', 'n_tokens_mistral': 1458, 'n_tokens_neox': 1314, 'n_words': 420}