Deployment Overview
MCP Gateway supports deployment in Kubernetes clusters, suitable for large-scale production environments. K8s deployment has the following advantages:High Availability
Supports multi-replica deployment with automatic failover
Elastic Scaling
Automatically adjusts instance count based on load
Service Discovery
Automatic service registration and load balancing
Deployment Architecture
Recommended to use microservice architecture for K8s deployment:Quick Start
Deploy with kubectl
1
Download Deployment Files
Download all K8s related deployment files from GitHub:
2
Create Namespace
3
Deploy Dependency Services
4
Deploy Application Base Services
5
Deploy Gateway Service (Choose One)
Choose the appropriate gateway based on your environment:Using Traefik:Or using Nginx Ingress:
This deployment method supports multi-replica high availability deployment. Other custom configurations can be adjusted in the downloaded YAML files.
Troubleshooting
Common Issues
Pod Startup Failure
Pod Startup Failure
Check if ConfigMap and Secret configurations are correct:
Database Connection Issues
Database Connection Issues
Verify database service and connection configuration:
Inter-Service Communication Issues
Inter-Service Communication Issues
Check Service and network policies:
Contribution Guide
We welcome community contributions to improve Kubernetes deployment documentation and configuration files! If you have experience or suggestions, please:
- Visit the GitHub project
- Submit Issues or Pull Requests
- Share your deployment experience