Understanding deployments in Pylee and how to deploy your MCP servers
{ "variables": { "API_BASE_URL": "https://api.production.com", "LOG_LEVEL": "warn", "MAX_CONNECTIONS": "100", "TIMEOUT": "30000" } }
{ "resources": { "cpu": "1000m", "memory": "512Mi", "storage": "1Gi" } }
{ "network": { "ports": [8080, 8443], "protocols": ["http", "https"], "loadBalancer": true } }
{ "scaling": { "minReplicas": 1, "maxReplicas": 10, "targetCPU": 80, "targetMemory": 70 } }
{ "healthChecks": { "startup": { "path": "/health/startup", "timeout": "30s", "interval": "5s" }, "liveness": { "path": "/health/live", "timeout": "5s", "interval": "30s" }, "readiness": { "path": "/health/ready", "timeout": "5s", "interval": "10s" } } }
name: Deploy to Production on: push: tags: - 'v*' jobs: deploy: runs-on: ubuntu-latest steps: - name: Deploy to Pylee run: | pylee server deploy \ --server=${{ env.SERVER_NAME }} \ --version=${{ github.ref_name }} \ --environment=production