Skip to main content

Kubernetes Deployment

Deploy Release Pilot on Kubernetes.

Prerequisites

  • Kubernetes cluster
  • kubectl configured
  • Helm (optional)

Deployment

Using kubectl

kubectl apply -f k8s/

Using Helm

helm install release-pilot ./helm-chart

Configuration

Configure using ConfigMaps and Secrets:

apiVersion: v1
kind: ConfigMap
metadata:
name: release-pilot-config
data:
DATABASE_URL: "mongodb://mongo:27017/releasepilot"

Services

  • API Service: ClusterIP for internal access
  • UI Service: LoadBalancer for external access
  • Database Service: ClusterIP for database

Ingress

Configure ingress for external access:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: release-pilot-ingress
spec:
rules:
- host: releasepilot.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: release-pilot-ui
port:
number: 80