Dashboard

Kubernetes Deployment

Deploy Fluxgate to Kubernetes for high availability, autoscaling, and enterprise-grade operations.

Prerequisites

  • Kubernetes cluster (1.24+) — EKS, GKE, AKS, or self-managed
  • kubectl configured to access your cluster
  • Helm 3 (for KEDA installation)
  • Container registry for custom images

Deployment Steps

1

Create Namespace

Isolate Fluxgate resources.

kubectl create namespace acp
2

Apply ConfigMaps & Secrets

Configure environment variables and sensitive data.

kubectl apply -f k8s/configmap.yaml -n acp
kubectl apply -f k8s/secrets.yaml -n acp
3

Deploy Database

Deploy TimescaleDB with persistent volume.

kubectl apply -f k8s/timescaledb.yaml -n acp
4

Deploy Redis & Kafka

Deploy cache and message broker.

kubectl apply -f k8s/redis.yaml -n acp
kubectl apply -f k8s/kafka.yaml -n acp
5

Deploy Services

Deploy API, Gateway, Dashboard, and Workers.

kubectl apply -f k8s/api.yaml -n acp
kubectl apply -f k8s/gateway.yaml -n acp
kubectl apply -f k8s/dashboard.yaml -n acp
kubectl apply -f k8s/workers.yaml -n acp
6

Configure KEDA (Optional)

Install KEDA for event-driven autoscaling.

helm repo add kedacore https://kedacore.github.io/charts
helm install keda kedacore/keda -n keda --create-namespace
kubectl apply -f k8s/keda-scalers.yaml -n acp
7

Apply Network Policies

Restrict internal communication.

kubectl apply -f k8s/network-policies.yaml -n acp

Verify Deployment

Verifybash
# Check all pods are running
kubectl get pods -n acp

# Check services
kubectl get svc -n acp

# View API logs
kubectl logs -f deployment/api -n acp

K8s Manifests

All Kubernetes manifests are in the k8s/ directory of the repository. Customize resource limits, replica counts, and storage classes for your cluster.