← ClaudeAtlas

yugabytedb-k8s-submarinerlisted

Connect two Kubernetes clusters with Submariner (broker, gateway, Lighthouse service discovery) and deploy one independent YugabyteDB universe per cluster with the yugabyte Helm chart, so the universes can be joined with xCluster replication (source -> target / DR). Covers kind cluster configs with non-overlapping CIDRs, subctl deploy-broker / join (clusterid, cable driver, NAT-T, gateway labelling), Helm values (multicluster.createServiceExports, kubernetesClusterId, masterAddresses, totalMasters), svc.clusterset.local DNS checks, subctl verify/diagnose, and yb-admin xCluster setup. Use when the user mentions Submariner or Lighthouse with YugabyteDB, subctl with yb-masters / yb-tservers, xCluster between Kubernetes clusters without a shared CNI mesh, or clusterset.local addresses with Submariner. For Cilium Cluster Mesh use yugabytedb-k8s-cilium. Does NOT cover the YugabyteDB Kubernetes Operator or YBA-managed DR (use yb-k8s-operator), or a single universe stretched across clusters.
srinivasa-vasu/agent-skills · ★ 3 · DevOps & Infrastructure · score 60
Install: claude install-skill srinivasa-vasu/agent-skills
# YugabyteDB xCluster over Submariner Two Kubernetes clusters (`s1` = source, `s2` = target) joined by Submariner. Each cluster runs its **own** universe. Submariner gives pod-to-pod routing between the clusters through a gateway node on each side, and Lighthouse publishes exported services under `clusterset.local`. xCluster needs both: target tservers pull changes straight from source tservers, so every source pod address must be resolvable and routable from the target. ``` kind-s1 (pods 10.30/16, svc 10.130/16) kind-s2 (pods 10.40/16, svc 10.140/16) broker (submariner-k8s-broker ns) gateway: s1-worker <════ IPsec / WireGuard / VXLAN tunnel ════> gateway: s2-worker yb-master-0.s1.yb-masters.<ns>.svc.clusterset.local <— Lighthouse —> yb-master-0.s2... yb-tserver-0.s1.yb-tservers.<ns>.svc.clusterset.local yb-tserver-0.s2... source universe ─────────────── xCluster ───────────────> target universe ``` Bundled files (paths relative to this skill): | File | Purpose | |---|---| | `assets/kind-s1.yaml`, `assets/kind-s2.yaml` | kind clusters (default kindnet CNI), unique pod/service CIDRs, one worker for the gateway | | `scripts/submariner-up.sh` | Creates both clusters, deploys the broker, labels gateways, joins both clusters (idempotent) | | `assets/rp-filter-ds.yaml` | DaemonSet that keeps `rp_filter` loose on every node (invariant 8) | | `assets/values-s1.yaml`, `assets/values-s2.yaml` | yugabyte Helm values for each