Skip to main content

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

Check if ConfigMap and Secret configurations are correct:
Verify database service and connection configuration:
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:
  1. Visit the GitHub project
  2. Submit Issues or Pull Requests
  3. Share your deployment experience
Your contributions will help more users successfully deploy MCP Gateway in K8s environments! ❤️