How to: Lab 6.6. Resource limitation
You may use the [official container resource example manifest](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#example-1) or generate a manifest file with `kubectl set resources`.

1. Create a Pod with the following spec:
   - runs in `dev` namespace
   - runs two containers, MongoDB database and webserver frontend
   - restart only on failure, see `pod.spec.restartPolicy`
   - both containers starts with 0.25 CPU, 64 mebibytes RAM
   - both containers does not exceed 1 CPU, 256 mebibytes RAM
2. List created pods
3. Review pod details and confirm the specified resource quotas are applied
4. Edit the Pod manifest as follows:
   - both containers starts with an insufficient amount RAM, e.g 4 mebibytes
   - both containers does not exceed 8 mebibytes RAM
5. Apply the manifest and review behaviour
6. Review logs for both containers
7. Compare the logs output in [6] to details from `kubectl describe`
8. Edit the Pod manifest as follows:
   - both containers starts with an amount of RAM equal to host RAM (run `cat /proc/meminfo` or `free -h`)
   - both containers starts with an amount CPU equal to host CPU (run `cat /proc/cpuinfo` or `lscpu`)
   - both containers does not exceed x2 the amount of host RAM
9. Apply the manifest and review behaviour
10. Delete created resources
11. Review the Pod spec fields related to limits and requests
lab6.6 solution
```sh
kubectl create ns dev --dry-run=client -o yaml >> lab6-6.yaml
echo --- >> lab6-6.yaml