To make it easier on you copy your kube config file to the root of this project and name it kubeconfig.conf. Then just remember to run source `scripts/profile` to start using the kubectl command. I am just setting the KUBECONFIG envar to the kubeconfig.conf file for the bash session.
## Accessing a pod from your laptop
Portforwarding
```
kubectl port-forward <podname><port>:<pod_port>
```
## Basic logging
```
kubectl logs <podname>
```
Stream logs with `-f`
```
kubectl logs -f <podname>
```
To view logs from the previous pod. Useful if the pod instances keep restarting.
Here is an example of using the cgroups access to limit container resources to 200mb of ram and 1G of swap. If these resources are exceed, which you can test with the kuard application, the container will be terminated.