<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)**)<commit_msg>add some more documentations on how to setup things<commit_after># Kubernetes tests

This is based on kubernetes-vagrant-coreos-cluster
```
vagrant up
./setup install
# setup proper env variables in your shell
```

This will setup:
- 1 master node
- 2 minion nodes that pods can be scheduled on
- 1 balancer node that can be used to access external service. This is so that
  we have consistent public IPs that's different from the minions' public IPs.
  This mirrors what we are probably going to have when deploy k8s to prod.

To deploy the pods:

```
kubectl create -f cfexamples/redis-controller.json
kubectl create -f cfexamples/redis-service.json
kubectl create -f cfexamples/guestbook-controller.json
kubectl create -f cfexamples/guestbook-service.json
kubectl create -f cfexamples/nginx-controller.json
kubectl create -f cfexamples/nginx-service.json
```

This setups:
- 1 redis pod
- 3 go pods
- 3 nginx pods that has the balancer public IP

# 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)**)
{'fraction_non_alphanumeric': 0.15759637188208617, 'fraction_numerical': 0.0049130763416477706, 'mean_word_length': 4.8822222222222225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 12, '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': '5842762', 'n_tokens_mistral': 929, 'n_tokens_neox': 863, 'n_words': 234}