Name: Arnold KOUEVI Date: 12/2/2025
This repository has been created as part of the DevOps intern final assessment project.
It contains all relevant files, configurations, and documentation required to demonstrate the skills and practices learned during the training.
- Structured for clarity and ease of navigation
- Demonstrates DevOps principles and workflows using open-source tools I've learned (Linux, GitHub, Docker, CI/CD, Nomad, Monitoring)
- Serves as a final assessment submission
README.md– Project overview and documentation- Additional files and configurations related to the assessment
git clone https://github.com/Pwdak/devops-intern-final.git
cd devops-intern-finalpython3 hello.pyScript will print:
Hello, DevOps!
chmod +x sysinfo.sh
./sysinfo.sh docker build -t devops-hello .docker run -d --rm --name devops-hello-container devops-helloOutput:
Hello, DevOps!
Ensure you have Nomad installed and your Docker image built locally.
docker build -t devops-hello .nomad job run nomad/hello.nomadCreate a folder monitoring/ and inside it add loki_setup.txt:
# Grafana Loki Setup
1. Start Loki locally using Docker:
docker run -d --name=loki -p 3100:3100 grafana/loki:2.9.0
2. Forward container logs to Loki:
Example using Docker driver:
docker logs <container_id> --follow | curl -XPOST \
-H "Content-Type: application/json" \
--data-binary @- http://localhost:3100/loki/api/v1/push
3. View logs:
You can query logs via Loki’s API:
curl "http://localhost:3100/loki/api/v1/query?query={job=\"hello\"}"
Or connect Grafana to Loki (add Loki as a data source in Grafana UI).
---
## 📂 Repository Structure
. ├── README.md # Project overview, usage instructions, and setup guide ├── hello.py # Python script └── hello.sh # Bash script
---
## 🙌 Acknowledgments
Special thanks to mentors and colleagues who provided guidance throughout the internship.
