<commit_before>Kubernetes and OVN
==================

This contains a Vagrant setup for Kubernetes and OVN integration.

Howto
-----

Pull down Kubernetes (it's big)

* mkdir k8s
* cd k8s
* wget https://github.com/kubernetes/kubernetes/releases/download/v1.3.7/kubernetes.tar.gz
* tar xvzf kubernetes.tar.gz
* mkdir server
* cd server
* tar xvzf ../kubernetes/server/kubernetes-server-linux-amd64.tar.gz

Bringup the Vagrant setup

* vagrant up

Run some containers
-------------------

The Vagrant will create some sample yaml files for configuring a pod
running Apache, as well as yaml for creating an east-west service and
a north-south service. To try these out, follow these instructions.

* cd ~/k8s/server/kubernetes/server/bin
* ./kubectl create -f ~/apache-pod.yaml
* ./kubectl create -f ~/nginx-pod.yaml
* ./kubectl create -f ~/apache-e-w.yaml<commit_msg>vagrant: Add minimum vagrant version requirement.<commit_after>Kubernetes and OVN
==================

This contains a Vagrant setup for Kubernetes and OVN integration.  This needs
a minimum vagrant version of 1.8.5 and is known to atleast work on Mac,
Ubuntu 16.04 and Windows 10.

Howto
-----

From the cloned ovn-kubernetes repo,
* cd vagrant

Pull down Kubernetes (it's big)

* mkdir k8s
* cd k8s
* wget https://github.com/kubernetes/kubernetes/releases/download/v1.3.7/kubernetes.tar.gz
* tar xvzf kubernetes.tar.gz
* mkdir server
* cd server
* tar xvzf ../kubernetes/server/kubernetes-server-linux-amd64.tar.gz

Bringup the Vagrant setup

* vagrant up

Run some containers
-------------------

The Vagrant will create some sample yaml files for configuring a pod
running Apache, as well as yaml for creating an east-west service and
a north-south service. To try these out, follow these instructions.

* cd ~/k8s/server/kubernetes/server/bin
* ./kubectl create -f ~/apache-pod.yaml
* ./kubectl create -f ~/nginx-pod.yaml
* ./kubectl create -f ~/apache-e-w.yaml
{'fraction_non_alphanumeric': 0.1305699481865285, 'fraction_numerical': 0.012953367875647668, 'mean_word_length': 3.501165501165501, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '304428', 'n_tokens_mistral': 672, 'n_tokens_neox': 617, 'n_words': 216}