<commit_before># kubernetes-vagrant-setup
A vagrant script for setting up a **[Kubernetes](https://github.com/GoogleCloudPlatform/kubernetes)** (0.17.0)
cluster on 
**[CoreOS](https://coreos.com)** [(alpha/681.0.0)](https://coreos.com/releases/). This repository was forked from  [Pires](https://github.com/pires)'s [github repository](https://github.com/pires/kubernetes-vagrant-coreos-cluster) and changed according to Apache Stratos requirements. All the credit goes to [Pires](https://github.com/pires) for implementing this awesome Vagrant module.

## Pre-requisites

 * **[Vagrant 1.7.2+](https://www.vagrantup.com)**
 * **[Virtualbox 4.3.20+](https://www.virtualbox.org)**
 * **[wget] (http://www.gnu.org/software/wget)**

## How to Run

### Set-up Kubernetes Cluster

Disable DHCP server in VirtualBox:
```
VBoxManage dhcpserver remove --netname HostInterfaceNetworking-vboxnet0
```

Execute the following vagrant command to start the Kubernetes cluster, this will start one master node and one minion:

```
vagrant up 
```

If more than one minion is needed, run the below command with the required number of instances:

```
NUM_INSTANCES=2 vagrant up
```

Wait until the minion(s) get connected to the cluster. Once the state of the minions are changed to Ready, the Kubernetes cluster is ready for use. Execute following Kubernetes CLI commands and verify their results:

```
kubectl get minions
```
```
kubectl get services
```

## Clean-up
<commit_msg>Updating README.md<commit_after># kubernetes-vagrant-setup
A vagrant script for setting up a **[Kubernetes](https://github.com/GoogleCloudPlatform/kubernetes)** (0.17.0)
cluster on 
**[CoreOS](https://coreos.com)** [(alpha/681.0.0)](https://coreos.com/releases/). This repository was forked from  [Pires](https://github.com/pires)'s [github repository](https://github.com/pires/kubernetes-vagrant-coreos-cluster) and changed according to Apache Stratos requirements. All the credit goes to [Pires](https://github.com/pires) for implementing this awesome Vagrant module.

## Pre-requisites

 * **[Vagrant 1.7.2+](https://www.vagrantup.com)**
 * **[Virtualbox 4.3.20+](https://www.virtualbox.org)**
 * **[Wget] (http://www.gnu.org/software/wget)**

## How to Run

### Set-up Kubernetes Cluster

Disable DHCP server in VirtualBox:
```
VBoxManage dhcpserver remove --netname HostInterfaceNetworking-vboxnet0
```

Execute the following vagrant command to start the Kubernetes cluster, this will start one master node and one minion:

```
vagrant up 
```

If more than one minion is needed, run the below command with the required number of instances:

```
NUM_INSTANCES=2 vagrant up
```

Wait until the minion(s) get connected to the cluster. Once the state of the minions are changed to Ready, the Kubernetes cluster is ready for use. Execute following Kubernetes CLI commands and verify their status:

```
kubectl get minions
```
```
kubectl get services
```

## Clean-up

{'fraction_non_alphanumeric': 0.13190184049079753, 'fraction_numerical': 0.012269938650306749, 'mean_word_length': 4.881763527054108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, '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': '2507779', 'n_tokens_mistral': 956, 'n_tokens_neox': 879, 'n_words': 297}