Workstation Logo
AI Solutions
AI WorkstationsAI SME PackagesPrivate AIGPU ClustersEdge AIEnterprise AI LabAI by IndustryWSL ProxyRing Promoter
Products
AI SME PackagesCRMMarketingOpenAI AgentsWSL ProxyRing Promoter
About Us
PartnersCustomer Stories
Articles
Documentation
Blog
Contact UsLogin
Workstation

AI workstations, AI Multi Agentic Software, GPU infrastructure, and intelligent agent solutions for modern businesses.

UK Office: 77-79 Marlowes, Hemel Hempstead HP1 1LF - Directions - Take Junction 20 off M25 Outer London
Company No: 11641870
Mon - Fri: 9:00 AM - 6:00 PM GMT
+44 7515 356 146

Belgium Office: Workstation SRL, Rue Vanderkindere 34, 1180 Uccle, Brussels
BE 0751.518.683
Mon - Fri: 9:00 AM - 6:00 PM CET
+32 492 45 67 46

AI Solutions

AI WorkstationsAI SME PackagesPrivate AIGPU ClustersEdge AIEnterprise AIWSL ProxyRing Promoter

Resources

ArticlesDocumentationBlogSearch

Company

About UsPartnersContact

© 2026 Workstation AI. All rights reserved.

PrivacyCookies
Home / Articles / Technology
DatabaseKubernetesDevOpsSRE

Couchbase Server Rolling Upgrade Under CAO (Paced + Pause Gate)

A copy/paste runbook for support and SRE teams: preflight, node-by-node swap-rebalance, XDCR strategy, rollback triggers, and sign-off checks

April 22, 2026Technology2 min read

Upgrades are where database reliability is either proven or broken. This article provides a paced, support-friendly runbook for upgrading Couchbase Server under the Couchbase Autonomous Operator (CAO), using the native spec.paused field to gate progress between nodes. The result: one node at a time, a stabilization window between swaps, clearer signals, and a larger rollback window.

Reference topology

Typical Couchbase on AKS topology

The paced upgrade loop

Paced upgrade loop

Goals

  • Upgrade Couchbase Server with minimal risk.
  • Keep a deliberate pause + stabilize + health check window between nodes.
  • Maintain rollback options for as long as practical.

Pre-upgrade checklist (do not skip)

  • All green: cluster phase Available, no active rebalance, no warning events.
  • Backups current and restorable: full backup completed; restore drill completed or time understood.
  • Rollback tag recorded: verify the old image still exists and can be pulled.
  • XDCR decision recorded: disable during prod upgrades for a clean signal (recommended), or keep running in pre-prod to exercise behaviour.

Quick verification commands

export ENV=dev
export REGION=west
export NS=couchbase-${ENV}-${REGION}

kubectl -n "$NS" get couchbasecluster -o wide
kubectl -n "$NS" get pods -l app=couchbase
kubectl -n "$NS" get events --field-selector type=Warning | tail -20
kubectl -n "$NS" get couchbasecluster "$NS" -o jsonpath='paused={.spec.paused} phase={.status.phase} rebalance={.status.rebalanceProgress}{"\n"}'

Execution paths

  • Preferred: run the upgrade from your CI workflow (dry-run first, then real run).
  • Fallback: run the paced upgrade script from a workstation (dry-run first, then real run).

Monitoring signals (what support should watch)

  • Pod images: shifting old → new; one swap at a time is ideal.
  • Pause state: spec.paused toggles true during stabilization; never left true unattended.
  • Rebalance: returns to none between swaps; investigate persistent rebalances.
  • XDCR: changes_left spikes during rebalance and drains during stabilization; failure to drain is an incident signal.
  • Restarts: any unexpected restarts post-swap are a red flag.

Rollback triggers

  • Node fails to become healthy within your timeout window.
  • Rebalance fails and does not resolve with a single retry after investigation.
  • Application error rate exceeds the agreed tolerance.
  • XDCR fails to recover after the agreed recovery window.
  • Any bucket becomes unavailable (missing vbuckets) — treat as P1.

Post-upgrade validation (sign-off)

  • All pods on the target image
  • Cluster phase Available
  • No new warning events for 30+ minutes
  • Backup succeeded post-upgrade
  • XDCR steady-state recovered (if used)
  • Application dashboards green for 30+ minutes

Tip: If you want a shorter narrative version first, start with the blog overview: Couchbase upgrades with CAO pause gates.

Share this article

More in Technology

Uncovering LLM Bottlenecks: Observability, OTEL & Cost Control

Uncovering LLM Bottlenecks: Observability, OTEL & Cost Control

Technical brief: OTEL span schemas, collectors, FinOps PromQL, agent budgets, scoring, and LLM platforms for production agents

Read more
Turbocharging LLMs

Turbocharging LLMs

Technical brief: OS-style KV paging, near-zero-waste serving, agent debug loops, workstation token generation, and embedding-gated latent attention

Read more
Rust Async Blocking, Rayon & Modern Applications

Rust Async Blocking, Rayon & Modern Applications

Technical brief: cooperative scheduling, spawn_blocking vs Rayon vs dedicated threads, and Workstation polyglot guidance for modern application estates

Read more