Workstation Logo
Products
AI LabsOpenAI AgentsCRMMarketingAll Products
AI Solutions
AI WorkstationsAI SME PackagesPrivate AIGPU ClustersEdge AIEnterprise AI LabAI by Industry
Services
Platform ModernisationDigital EngineeringData Foundations & AIAutonomous OperationsAI ConsultancyDevOps AutomationCyber SecuritySoftware DevelopmentAgent BuildingMLOps Setup
About Us
PartnersCustomer Stories
Articles
Documentation
WSL ProxyRing Promoter
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

India Office: #159 Sector 9, Pocket 1, DDA Flats, 110077 Dwarka, New Delhi
+91 98881 98841

Products

All ProductsWSL ProxyRing PromoterAI LabsOpenAI Agents

AI Solutions

AI SolutionsAI WorkstationsPrivate AIGPU ClustersEnterprise AI LabServices

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

Workstation WSL Proxy — Docker Image Optimisation, Build Cache, Full Deploy Workflow, and Shipping It with AI Assistance

Workstation WSL Proxy — Docker Image Optimisation, Build Cache, Full Deploy Workflow, and Shipping It with AI Assistance

Technical brief: prebuilt OpenResty Dockerfile, Buildx/GHA cache, Ansible extract, delivery pipeline DEPLOY_MODE, and an operator+agent loop for finishing pipeline work

Read more
Claude Code, Claude Cowork & ChatGPT for Business Teams

Claude Code, Claude Cowork & ChatGPT for Business Teams

Claude Code vs Claude Cowork vs ChatGPT/OpenAI Agents: team matrix, GPT-5.6/GPT-6 class APIs, MCP OAuth, and approval gates

Read more
Enterprise Agentic Frameworks: LangChain, LangGraph & Airflow 3

Enterprise Agentic Frameworks: LangChain, LangGraph & Airflow 3

LangChain/LangGraph/LangSmith, Apache Airflow 3.x, MCP gates, Ring Promoter, and OTel cost control for enterprise agent workflows

Read more