Kubernetes Installation
Deploy Ops Atlas on Kubernetes using Helm.
Prerequisites
- Kubernetes 1.24+
- Helm 3.10+
- kubectl configured
- Ingress controller (nginx-ingress recommended)
Helm Installation
bash
# Add Ops Atlas Helm repository
helm repo add ops-atlas https://charts.opsatlas.io
helm repo update
# Create namespace
kubectl create namespace ops-atlas
# Install with default values
helm install ops-atlas ops-atlas/ops-atlas \
--namespace ops-atlas
# Or install with custom values
helm install ops-atlas ops-atlas/ops-atlas \
--namespace ops-atlas \
-f values.yamlCustom Values
yaml
# values.yaml
replicaCount: 2
image:
repository: opsatlas/ops-atlas
tag: latest
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 3000
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- host: ops.yourdomain.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: ops-atlas-tls
hosts:
- ops.yourdomain.com
postgresql:
enabled: true
auth:
postgresPassword: "your-secure-password"
database: opsatlas
primary:
persistence:
size: 10Gi
redis:
enabled: true
auth:
enabled: false
master:
persistence:
size: 1Gi
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 2000m
memory: 2Gi
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 10
targetCPUUtilizationPercentage: 80Verify Installation
bash
# Check pods
kubectl get pods -n ops-atlas
# Check services
kubectl get svc -n ops-atlas
# Check ingress
kubectl get ingress -n ops-atlas
# View logs
kubectl logs -f deployment/ops-atlas -n ops-atlasUpgrade
bash
# Update repo
helm repo update
# Upgrade release
helm upgrade ops-atlas ops-atlas/ops-atlas \
--namespace ops-atlas \
-f values.yamlUninstall
bash
helm uninstall ops-atlas --namespace ops-atlas
kubectl delete namespace ops-atlas