<commit_before># Core Concepts

## Prerequisites

* Have a cluster running and a `kubectl` binary configured to talk to
  that cluster

## Lab

### Mac / Windows

You'll need to know the IP of the `docker-machine` vm that is your docker host:

```
docker-machine ip $(docker-machine active)
```

Use this when browsing to a node IP in place of `localhost` below.

### Pods

First define a single pod, see [pod.yaml](pod.yaml). Start the
Lobsters app from this pod declaration.

```
kubectl create -f ./pod.yaml
```
<commit_msg>local repo needed<commit_after># Core Concepts

## Prerequisites

* Have a cluster running and a `kubectl` binary configured to talk to
  that cluster
* Commands assume that you have a local copy of this git repository, 
  and `core-concepts` is the current directory.

## Lab

### Mac / Windows

You'll need to know the IP of the `docker-machine` vm that is your docker host:

```
docker-machine ip $(docker-machine active)
```

Use this when browsing to a node IP in place of `localhost` below.

### Pods

First define a single pod, see [pod.yaml](pod.yaml). Start the
Lobsters app from this pod declaration.

```
kubectl create -f ./pod.yaml
```

{'fraction_non_alphanumeric': 0.10034013605442177, 'fraction_numerical': 0.0, 'mean_word_length': 3.843621399176955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1512437', 'n_tokens_mistral': 383, 'n_tokens_neox': 356, 'n_words': 166}