MLKC Managed Local Kubernetes Kind Cluster
This is a web-based application for managing Kubernetes clusters using Kind (Kubernetes in Docker). It provides a user-friendly interface to create, list, and delete Kind clusters, as well as view cluster information such as deployments, pods, and services.
- Create Kind clusters with specified name, Kubernetes version, and number of nodes
- List existing Kind clusters and their details
- Delete Kind clusters
- View cluster information, including deployments, pods, and services
- Attractive loading popup during cluster creation process
Before running the application, ensure that you have the following dependencies installed:
- Python (version X.X.X)
- Flask (version X.X.X)
- Kind (version X.X.X)
- kubectl (version X.X.X)
- Clone the repository:
- Navigate to the project directory:
- Install the required Python packages:
- Set up the necessary environment variables (if applicable).
-
Start the Flask application: python3 kind_ui.py
-
Open a web browser and navigate to
http://localhost:5000. -
Use the provided interface to create, list, and delete Kind clusters.
-
Click on a cluster name to view detailed information about the cluster, including deployments, pods, and services.
The application uses a SQLite database to store cluster details. The database file is automatically created when the application starts.
You can customize the application by modifying the following files:
kind_ui.py: Main Flask application file containing route definitions and cluster management logic.templates/: Directory containing HTML templates for different pages of the application.static/: Directory containing static assets such as CSS and JavaScript files
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- Kind - Kubernetes in Docker
- Flask - Python web framework
- Bootstrap - CSS framework for responsive web design
For any questions or inquiries, please contact csemanit2015@gmail.com
#commands to install docker-compose
sudo curl -SL https://github.com/docker/compose/releases/download/v2.32.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose