This project is designed for DevOps interview preparation, offering hands-on labs and exercises. It's a collection of Docker and Kubernetes-based tasks to test and enhance DevOps skills.
- Docker and Docker Compose
- Basic understanding of Kubernetes
- Clone the repository
git clone https://github.com/47deg/devops_interview_labs.git
- Navigate to the cloned directory:
cd devops_interview_labs
The project consists of several key directories:
coder
: Contains Dockerfiles and scripts for setting up the coding environment.
dind
: Docker in Docker related files.
exercises
: Lab exercises for hands-on practice.
To start the labs, run:
docker compose up --build
After running, access the coding environment at http://0.0.0.0:5801. The password is displayed on the terminal.
This project uses a specific naming convention for its labs when deployed on Google Cloud Platform (GCP). The convention is as follows:
- Prefix: All lab instances are prefixed with
xf-lab
. - Purpose: This naming ensures easy identification and management of lab resources within GCP.
- Script Compatibility: The
delete-xf-labs.bash
script relies on this naming convention to identify and delete only the relevant lab VMs, avoiding interference with other resources.
Adhering to this naming convention is crucial for effective resource management and clean-up processes in the GCP environment.
Contributions to enhance or extend lab exercises are welcome. Please follow the standard GitHub pull request process.
This project is open-sourced under the Apache License.
For questions or feedback, please open an issue in the GitHub repository.