Free audit

View Audit Scope
Aerospike on Kubernetes

Aerospike onKubernetes

In short: Running Aerospike on Kubernetes means using the Aerospike Kubernetes Operator (AKO) to deploy AerospikeCluster custom resources as StatefulSets, backing its hybrid-memory engine (RAM indexes, SSD/NVMe data) with PersistentVolumeClaims, mapping rack awareness to zone topology for HA, and handling rolling upgrades, XDR replication, and Prometheus monitoring declaratively.

Deploy and manage Aerospike real-time databases on Kubernetes with the AKO operator, hybrid memory architecture, and cloud-native auto-scaling for mission-critical workloads.

Executive Direct Answer · Aerospike on Kubernetes Production SLA

JusDB architects enterprise Aerospike on Kubernetes deployments leveraging the Aerospike Kubernetes Operator (AKO). Our DBREs configure raw block NVMe device mapping, multi-rack zone awareness, and Strong Consistency rosters, designed for sub-millisecond p99 latencies, automated rolling upgrades, and no partition loss.

Response Targets: Per Agreement·Latency: Sub-Millisecond p99·Storage: Direct Raw Block NVMe·Operator: Official AKO CRD·ISO 27001 & SOC 2 Type II: aligned, certification in progress
Sub-ms
Latency
Hybrid
Memory
Auto
Scaling

Comprehensive Aerospike on Kubernetes Services

From AKO operator deployment to production monitoring, we provide end-to-end Aerospike on Kubernetes solutions for real-time workloads.

AKO Operator Deployment

Deploy and configure the Aerospike Kubernetes Operator for automated cluster lifecycle management

  • AKO installation and CRD setup
  • AerospikeCluster custom resource configuration
  • RBAC and service account setup
  • Operator upgrade and version management

Helm Chart Management

Production-ready Helm charts for repeatable, version-controlled Aerospike deployments on Kubernetes

  • Helm chart customization and values tuning
  • Chart versioning and release management
  • Multi-environment chart configurations
  • GitOps integration with ArgoCD/Flux

Cluster Management on K8s

Rack-aware cluster topology, namespace configuration, and rolling operations on Kubernetes

  • Rack awareness with zone topology
  • Namespace and set configuration
  • Rolling restart and upgrade orchestration
  • Cluster scaling and rebalancing

Storage & Persistence

Hybrid memory architecture with SSDs, PersistentVolumeClaims, and optimized storage classes on K8s

  • Hybrid memory (RAM index + SSD data)
  • PVC provisioning and storage classes
  • Local NVMe and cloud SSD configuration
  • Data-in-memory and data-on-device tuning

Monitoring on K8s

Full observability with Aerospike Monitoring Stack, Prometheus exporters, and Grafana dashboards

  • Aerospike Prometheus Exporter setup
  • Grafana dashboard deployment
  • Alertmanager rule configuration
  • Namespace and node health monitoring

Backup & DR

Kubernetes-native backup with asbackup CronJobs and cross-datacenter replication via XDR

  • asbackup/asrestore on Kubernetes
  • CronJob-based scheduled backups
  • Object storage integration (S3, GCS)
  • XDR cross-datacenter replication

Why Choose Aerospike on Kubernetes?

Aerospike on Kubernetes combines predictable low latency and hybrid memory architecture with cloud-native orchestration for real-time applications at scale.

Hybrid Memory Architecture

Aerospike's unique hybrid memory engine stores indexes in RAM while data resides on SSDs, delivering in-memory speed at flash storage cost. On Kubernetes, this maps to PVCs backed by high-performance storage classes.

Predictable Low Latency

Sub-millisecond read and write latency at the 99th percentile, even under heavy load. Aerospike's optimized storage engine and parallelized I/O ensure consistent performance on Kubernetes pods, with further gains available through dedicated Aerospike performance tuning.

Cross-Datacenter Replication

Aerospike XDR (Cross-Datacenter Replication) provides asynchronous replication between Kubernetes clusters across regions or clouds, enabling active-active geo-distribution and disaster recovery. Pair this with rack-aware topology for full Aerospike high availability.

Cloud-Native Auto-Scaling

Scale Aerospike clusters horizontally on Kubernetes by adding pods. The AKO operator handles data migration and rebalancing automatically, with support for HPA and cluster autoscaler integration.

Aerospike on K8s Key Metrics

Read Latency (p99)(Hybrid memory)
<1ms
Write Latency (p99)(Optimized I/O)
<1ms
Storage Efficiency(lower RAM vs. all-in-memory, varies by record/index size)
~10x
Rack Awareness(Zone-level fault tolerance)
Yes
Rolling Upgrades(Downtime upgrades)
Zero
XDR Replication(Multi-cluster, multi-region)
Active

Our Aerospike on Kubernetes Implementation Process

A proven methodology for deploying production-ready Aerospike clusters on Kubernetes with comprehensive testing and validation. Moving an existing cluster onto K8s? See our Aerospike migration services, part of our full Aerospike consulting practice.

1

Assessment & Planning

Analyze workload characteristics, data model, latency requirements, and infrastructure. Design cluster topology, storage classes, rack awareness mapping, and namespace configuration.

2

Operator & Cluster Deployment

Install the AKO operator, configure AerospikeCluster CRDs, provision storage, and deploy the cluster with Helm charts. Set up RBAC, network policies, and secrets management.

3

Integration & Validation

Connect applications, validate client configurations, run performance benchmarks, test failover and recovery scenarios, and verify rack-aware replica distribution.

4

Production & Observability

Go live with full monitoring stack (Prometheus, Grafana), alerting rules, backup CronJobs, XDR replication, and runbooks. Provide training and ongoing support, with 24x7 on-call available.

How JusDB Aerospike Kubernetes Architecture compares to alternative models.

Generic Kubernetes administrators and legacy outsourced agencies lack deep Aerospike Kubernetes Operator (AKO) lifecycle management, raw block NVMe device mapping, and Strong Consistency roster orchestration. Here is how our DBREs compare:

Evaluation Vector
JusDB DBRE
In-House DBALegacy AgencyDeveloper Generalist
Aerospike Kubernetes Operator (AKO) vs Custom Helm StatefulSetsDeploys official Aerospike Kubernetes Operator (AKO) with declarative AerospikeCluster CRDs, automating cluster formation, rack awareness, dynamic pod scaling, and continuous reconciliation.Relies on generic StatefulSets or community Helm charts that lack Aerospike clustering awareness, causing node discovery failures and split-brain states during rolling restarts.Deploys manual VM-style configurations inside monolithic containers without custom controllers, resulting in static topology drift and manual intervention on pod failure.Treats Aerospike like a stateless app or basic StatefulSet, ignoring AKO lifecycle hooks, volume mounting requirements, and cluster membership protocols.
Raw Block NVMe Storage Device Mapping for Hybrid Memory Architecture (HMA)Directly mounts raw block NVMe persistent volumes (volumeMode: Block) into engine pods, bypassing Linux filesystem overhead to achieve sub-millisecond P99 read/write I/O for HMA.Formats standard cloud block storage with ext4/XFS filesystems, introducing OS page cache contention, double buffering, and unpredictable write amplification spikes.Defaults to slow, network-attached persistent storage (standard gp2/gp3) with arbitrary IOPS limits, throttling real-time transaction throughput under load.Uses ephemeral container storage or default emptyDir volumes without persistent NVMe device binding, risking catastrophic data loss upon pod termination.
Rack-Aware Multi-AZ Partition Distribution & Failure Domain MappingMaps Aerospike rack-id definitions directly to Kubernetes topology failure domains (topology.kubernetes.io/zone), guaranteeing primary and replica partition isolation across availability zones.Configures basic pod anti-affinity without aligning Aerospike namespace rack awareness, causing co-location of master and replica partitions in the same failure domain.Deploys all Aerospike pods into a single availability zone to avoid cross-AZ transfer costs, creating total cluster outage risk during cloud zone disruptions.Leaves zone topology unconfigured, relying on default Kubernetes scheduler round-robin placement that breaks partition quorum during node rebalancing.
Strong Consistency (SC) Roster Validation & Quorum StabilityArchitects Strong Consistency (SC) namespaces with validated static cluster rosters, tuned heartbeat intervals, and automated re-clustering guards to protect committed writes during network partitions.Runs default AP (Available/Partition-tolerant) mode without sizing rosters or validates SC rosters manually via ad-hoc CLI commands, leading to deadlocks during node maintenance.Fails to grasp Aerospike consensus protocols, blaming application drivers for transaction timeouts when pods are evicted without graceful roster handoffs.Attempts SC deployments without configuring cluster rosters or quorum monitoring, causing namespace freezes when pods cycle during cluster autoscaling.
Rolling Stateful Upgrades & Cluster RebalanceOrchestrates partition-aware rolling pod updates with AKO, automating pre-drain migration checks and wait-for-sync cluster rebalance verification to avoid dropped transactions.Executes manual kubectl delete pod commands without checking migration queues (migrate_rx_partitions_remaining), inducing heavy rebalance churn and client timeouts.Schedules wide multi-hour maintenance windows, stopping client traffic to perform offline cluster upgrades due to fear of data corruption.Triggers default StatefulSet rolling updates with maxUnavailable: 1, overwhelming node network interfaces with concurrent partition rebalance migrations.
Prometheus Exporter Telemetry, asadm CLI & Health DiagnosticsInstruments Aerospike Prometheus Exporter sidecar, custom ServiceMonitors, Grafana dashboards, and automated asadm/asinfo telemetry scripts for sub-millisecond latency alerting.Gathers basic container CPU and memory metrics via Kubernetes Metrics Server, missing engine-level tombstone accumulation, stop-writes thresholds, and migration queues.Relies on generic APM agents attached to client applications with no direct cluster node visibility into Aerospike internal transaction latencies.Lacks internal diagnostic toolchains; attempts to debug cluster instability by reading raw stdout container logs with kubectl logs.

Critical Aerospike K8s Outage Modes We Eliminate

Running real-time, hybrid-memory databases on cloud Kubernetes introduces severe degradation vectors during node autoscaling, raw block CSI detaches, and Strong Consistency split-brain churn. Our DBREs preemptively harden against these breakdown modes:

P1 Critical

Raw Block NVMe Device Formatting & IOPS Throttling

Mounting cloud block storage as standard ext4/XFS filesystems or failing to configure direct volumeMode: Block introduces double OS page cache buffering and severe IOPS throttling under high-write workloads.

JusDB Engineering Mitigation:

JusDB configures raw block NVMe device mapping via the AKO operator, bypassing filesystem overhead and tuning queue depths to target predictable sub-millisecond p99 latency.

P1 Critical

Node Eviction Without Strong Consistency (SC) Roster Update

Automated cluster upgrades or node drains evict Aerospike pods while running in Strong Consistency (SC) mode. If the static roster is not updated gracefully, partition deadlocks freeze write transactions.

JusDB Engineering Mitigation:

JusDB deploys custom preStop hooks and automated roster reconciliation controllers that dynamically adjust cluster rosters and enforce min-available quorum before pod evictions.

P2 High

Rack Topology Desynchronization Causing Partition Imbalance

During horizontal scaling or multi-zone node replenishment, pod rack IDs desynchronize from Kubernetes topology failure domains, causing master and replica partitions to co-locate in a single AZ.

JusDB Engineering Mitigation:

JusDB binds Aerospike rack-id definitions directly to Kubernetes topology.kubernetes.io/zone labels via AKO CRD specs, enforcing strict zone-redundant partition distribution.

Telemetry Runbooks · Non-Blocking Aerospike Kubernetes Diagnostics

Our Kubernetes DBREs execute non-blocking CLI telemetry inspections to evaluate operator reconciliation states, pod health, and in-container replication status without disrupting cluster workloads:

Kubernetes: Aerospike Operator CRD & Pod Topology Status
kubectl
// Inspect AerospikeCluster CRD status, rack distribution, and storage volume bindings
# 1. Verify AerospikeCluster custom resource status kubectl get aerospikeclusters -n aerospike -o wide # 2. Check cluster pod distribution across failure zones and NVMe PVC claims kubectl get pods -n aerospike -l app=aerospike-cluster -o wide # 3. Inspect AKO operator reconciliation events for roster or storage errors kubectl get events -n aerospike --field-selector reason=ReconcileError --sort-by='.metadata.creationTimestamp'
In-Cluster Telemetry: Aerospike Health & Strong Consistency Roster
asadm
// Validate cluster mesh membership, partition migrations, and roster quorum
# 1. Execute non-blocking cluster health and node mesh inspection kubectl exec -it aerospike-cluster-0 -n aerospike -c aerospike-server -- asadm -e "info network" # 2. Check namespace storage device usage, memory, and migration queues kubectl exec -it aerospike-cluster-0 -n aerospike -c aerospike-server -- asadm -e "info namespace" # 3. Verify Strong Consistency (SC) roster status and active partition distribution kubectl exec -it aerospike-cluster-0 -n aerospike -c aerospike-server -- asadm -e "show roster"

Aerospike on Kubernetes — Frequently Asked Questions

Common questions about deploying and managing Aerospike on Kubernetes.

The Aerospike Kubernetes Operator (AKO) is a Kubernetes operator that automates the deployment, scaling, and management of Aerospike clusters on Kubernetes. AKO handles complex operational tasks like rack-aware deployments, rolling upgrades, cluster expansion, and configuration changes through custom resources (AerospikeCluster CRD). It ensures Aerospike best practices are followed automatically, reducing operational overhead and human error compared to managing StatefulSets manually.

Aerospike's hybrid memory architecture on Kubernetes stores indexes in RAM while data can reside on SSDs (persistent volumes) or in memory. On K8s, this is configured through PersistentVolumeClaims (PVCs) backed by high-performance storage classes. You can use local SSDs, cloud-provisioned SSDs (e.g., gp3, pd-ssd), or NVMe devices via device plugins. The AKO operator manages storage lifecycle, ensuring data persists across pod restarts and rescheduling.

Yes, with proper configuration Aerospike on Kubernetes can achieve near bare-metal performance. Key considerations include using local NVMe or high-IOPS persistent volumes, configuring CPU pinning and NUMA-aware scheduling, using host networking or high-performance CNI plugins, and sizing resource requests/limits appropriately. The AKO operator supports node affinity, anti-affinity, and topology spread constraints to optimize placement.

Aerospike's rack awareness on Kubernetes maps to Kubernetes topology domains such as availability zones or node pools. The AKO operator configures rack IDs based on Kubernetes node labels (e.g., topology.kubernetes.io/zone), ensuring data replicas are distributed across failure domains. This provides zone-level fault tolerance — if an entire availability zone goes down, the cluster continues serving with no data loss.

Aerospike on Kubernetes supports multiple backup strategies: asbackup/asrestore tools can be run as Kubernetes CronJobs for scheduled backups to object storage (S3, GCS). For cross-datacenter DR, Aerospike's Cross-Datacenter Replication (XDR) replicates data asynchronously between clusters in different regions or clouds. The AKO operator also supports backup CRDs for declarative backup management.

The Aerospike Monitoring Stack (AMS) integrates with Kubernetes-native monitoring. The Aerospike Prometheus Exporter exposes cluster metrics that can be scraped by Prometheus. Grafana dashboards provide visibility into namespace usage, throughput, latency percentiles, storage utilization, and node health. You can also use the Aerospike tools (asadm, asinfo) via kubectl exec and integrate with Kubernetes-native alerting through Alertmanager.

Ready to Run Aerospike on Kubernetes?

Let our experts deploy and manage Aerospike on Kubernetes with sub-millisecond latency, hybrid memory architecture, and cloud-native auto-scaling for your real-time workloads.