Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisns/k8s-interview
Pre-Interview kubernetes Exercise
https://github.com/chrisns/k8s-interview
Last synced: about 1 month ago
JSON representation
Pre-Interview kubernetes Exercise
- Host: GitHub
- URL: https://github.com/chrisns/k8s-interview
- Owner: chrisns
- License: mit
- Created: 2019-12-23T18:21:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-25T19:16:46.000Z (about 2 months ago)
- Last Synced: 2024-10-03T06:09:35.272Z (about 2 months ago)
- Homepage:
- Size: 85 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Pre-Interview Exercise
## Scenario
You have been given a docker image by a developer but they've unhelpfully not supplied any documentation, it is your responsibility to figure out what on earth they've done in order to start the application.
## Instructions
Make the docker container [chrisns/docker-devtest](https://hub.docker.com/r/chrisns/docker-devtest) run, you'll be told when you've reached the end.
You're expected to capture **your full shell history** while you're working on this, we're mostly interested in seeing your workings rather than the finished end result, so please annotate this with your thinking on what you're exploring and what you learn from the output each time.
Once you've got a working `docker run` you should convert it to `version: 3` [docker-compose](https://docs.docker.com/compose/).
Finally you should then translate it to work in a highly available and scalable implementation with Kubernetes with [minikube](https://github.com/kubernetes/minikube). Hint: `minikube start --addons=ingress` to get an ingress controller.
## Expected outputs
- `shell_history.txt` - annotated shell history.
- `docker-compose.yaml` - a working Docker Compose implementation of the app
- `deployment.yaml` - a working deployment yaml for Kubernetes that can be deployed to minikube
- `service.yaml` - a working service yaml for Kubernetes that can be deployed to minikube
- `ingress.yaml` - a working ingress yaml for Kubernetes that can be deployed to minikube
- `notes.txt` - any thoughts or notes you'd like to share with the assessor
- `web-history` - google/stackoverflow/etc is allowed but we do ask to see your history while you're working on it