Prerequisites
Before deploying Gate to Kubernetes, ensure you have:Kubernetes Cluster
Running cluster (kind, minikube, k3s, k3d, GKE, EKS, AKS, etc.)
kubectl
Kubernetes CLI tool installed and configured
Kustomize
(Optional) For advanced manifest management
Lens Desktop
(Optional) Kubernetes IDE for easier management
Quick Start: All-in-One Example
Deploy a complete Gate proxy with two Minecraft servers in one command:- Gate proxy deployment
- Two Minecraft server pods (StatefulSet)
- NodePort service on port 32556
- ConfigMaps for configuration
View complete bundle.yaml manifest
View complete bundle.yaml manifest
The bundle includes everything needed for a complete Minecraft network:
Using Kustomize (Recommended)
Kustomize provides a structured way to manage Kubernetes manifests. Gate’s examples use Kustomize for easier customization.Review the structure
The example includes:
kustomization.yaml- Main Kustomize configurationdeploy.yaml- Gate deploymentsvc.yaml- Gate serviceconfig.yml- Gate configurationservers/- Minecraft server manifests
Overlay Your Own Kustomize
Create your own Kustomize that extends Gate’s example:kustomization.yaml
patch.yaml
Manual Deployment
For more control, deploy Gate components individually:Service Types
Choose the appropriate service type for your environment:- LoadBalancer
- NodePort
- Ingress
Best for: Cloud providers (GKE, EKS, AKS)Automatically provisions a cloud load balancer with external IP.
Bedrock Edition Support
For Bedrock Edition support, use the JRE variant image:Monitoring and Troubleshooting
Check pod status
Check pod status
View logs
View logs
Check service endpoints
Check service endpoints
Test connectivity inside cluster
Test connectivity inside cluster
ConfigMap not updating
ConfigMap not updating
After updating a ConfigMap, restart the deployment:Or use ConfigMap versioning in Kustomize with
configMapGenerator.Production Best Practices
Use resource limits
Set memory and CPU limits to prevent resource exhaustion:
Enable readiness probes
Ensure traffic only goes to ready pods:
Use multiple replicas
Run multiple Gate instances for high availability:
Pin image versions
Avoid unexpected changes with specific versions:
Next Steps
Configuration
Customize Gate for your network
Scaling
Scale Gate for high player counts

