This project is a straightforward movie search API developed using the Django REST framework, designed to practice Docker Compose and Kubernetes concepts. Additionally, Docker Compose is utilized to integrate Kibana, Elasticsearch, and Redis into the project.
-
Kibana
: A data visualization and exploration tool used for log and time-series analytics, application monitoring, and operational intelligence. It is designed to work with Elasticsearch, providing a user-friendly interface for searching, viewing, and interacting with data stored in Elasticsearch indices. -
Elasticsearch
: A highly scalable open-source search and analytics engine used for a variety of applications, including log and event data analysis, full-text search, and more. It stores and indexes data in near real-time, allowing for powerful and fast searches. -
Redis
: An in-memory data structure store that can be used as a database, cache, and message broker. It supports various data structures such as strings, hashes, lists, sets, and more, offering high performance and scalability for caching frequently accessed data.
- Kubernetes Cluster
- kubectl
- Docker and Docker Compose
- Clone the project
- Set Up the Environment
- Create project docker image
docker build . -t main_service
With docker-compose
- Create docker network
docker network create musicnet
- Start docker-compose.yml file
docker-compose up -d
With h8s
- Apply the Kubernetes manifest files to your cluster using kubectl
kubectl apply -f deployment/.
- Verify Deployment
kubectl get pods kubectl get services