{"id":51176254,"url":"https://github.com/michelderu/mc-lab","last_synced_at":"2026-06-27T04:02:38.716Z","repository":{"id":365251527,"uuid":"1262956941","full_name":"michelderu/mc-lab","owner":"michelderu","description":"Mission Control Lab (1 DB, 3 Racks, 2 DCs) for local KinD","archived":false,"fork":false,"pushed_at":"2026-06-16T13:40:26.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T15:24:24.649Z","etag":null,"topics":["cassandra","datastax","hcd","ibm","mission-control"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michelderu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-08T13:35:38.000Z","updated_at":"2026-06-16T13:42:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/michelderu/mc-lab","commit_stats":null,"previous_names":["michelderu/mc-lab"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/michelderu/mc-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelderu%2Fmc-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelderu%2Fmc-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelderu%2Fmc-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelderu%2Fmc-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michelderu","download_url":"https://codeload.github.com/michelderu/mc-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelderu%2Fmc-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34840901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cassandra","datastax","hcd","ibm","mission-control"],"created_at":"2026-06-27T04:02:37.753Z","updated_at":"2026-06-27T04:02:38.707Z","avatar_url":"https://github.com/michelderu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mission Control lab (KinD + HCD)\n\nLocal lab for **Mission Control** on **KinD** with embedded MinIO and **HCD** clusters pinned to platform/database topology labels.\n\nRun every command from the **repository root**.\n\n## Runbook (in order)\n\n| Step | Guide | What you do |\n|------|--------|-------------|\n| **1** | [**KinD setup**](docs/01-setup-kind.md) | Preflight, cluster `mc`, topology labels |\n| **2** | [**Mission Control setup**](docs/02-setup-mc.md) | Registry, cert-manager, Helm install, UI |\n| **3** | [**HCD setup**](docs/03-setup-hcd.md) | `MissionControlCluster` deploy and rollout |\n| **4** | [**CQL and Data API**](docs/04-cql-data-api.md) | `cqlsh`, UI console, Data API `curl` |\n| **5** | [**Observability**](docs/05-observability.md) | MC UI metrics, Grafana |\n| **6** | [**Backup and restore**](docs/06-backup-restore.md) | Medusa + MinIO walkthrough |\n| **MOP** | [**Restore \u0026 rebuild DC2**](mops/01-restore-and-rebuild.md) | Optional: corrupt DC2 / survivor restore (`two-dcs` only) |\n\n## Lab conventions\n\nPick one topology profile in **`.env`** (same value for steps 1–3):\n\n```bash\ncp .env.example .env   # set PROFILE=two-dcs | three-racks | minimal\nset -a \u0026\u0026 source .env \u0026\u0026 set +a\n```\n\n| Profile | KinD config | HCD manifest | Cassandra pods |\n|---------|-------------|----------------|----------------|\n| **two-dcs** (default) | `kind/kind-cluster-two-dcs.yaml` | `manifests/hcd/mission-control-cluster-two-dcs.yaml` | 6 |\n| **three-racks** | `kind/kind-cluster-three-racks.yaml` | `manifests/hcd/mission-control-cluster-three-racks.yaml` | 3 |\n| **minimal** | `kind/kind-cluster-minimal.yaml` | `manifests/hcd/mission-control-cluster-minimal.yaml` | 1 |\n\n| Item | Value |\n|------|--------|\n| Database namespace | `database` |\n| Mission Control namespace | `mission-control` |\n| `MissionControlCluster` | same as **`PROFILE`** (`two-dcs`, `three-racks`, or `minimal`) |\n| Superuser Secret | `superuser` (namespace `database`) |\n\n\u003e Switching `PROFILE` later: delete the KinD cluster or namespace **`database`** before re-running with a different profile.\n\n## CQL and Data API\n\nSee [**docs/04-cql-data-api.md**](docs/04-cql-data-api.md). Quick start: `./scripts/cqlsh.sh` and port-forward `${PROFILE}-data-api-data-api-cip` on **30080**.\n\n## Repo layout\n\n| Path | Purpose |\n|------|---------|\n| [`docs/`](docs/01-setup-kind.md) | KinD, Mission Control, and HCD setup guides |\n| [`kind/`](kind/README.md) | KinD cluster YAML per profile |\n| [`manifests/mission-control/`](manifests/mission-control/README.md) | Pinned Helm `values.yaml` + lab `overrides.yaml` |\n| [`manifests/hcd/`](manifests/hcd/) | `MissionControlCluster` and optional gateways |\n| [`scripts/`](scripts/) | Preflight, topology labels, `cqlsh` |\n| [`mops/`](mops/README.md) | Advanced procedures (failed DC rebuild) |\n| [`concepts/`](concepts/README.md) | Architecture and wiring reference |\n\n## Concepts (reference)\n\n- [`concepts/deployment-structure.md`](concepts/deployment-structure.md) — Helm + operator flow\n- [`concepts/software-components-wiring.md`](concepts/software-components-wiring.md) — component map\n- [`concepts/understanding-a-deployment-quickly.md`](concepts/understanding-a-deployment-quickly.md) — triage checklist\n\nMission Control is the management plane for DataStax Cassandra/HCD on Kubernetes: UI, APIs, and operators that reconcile `MissionControlCluster` resources into running database topologies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelderu%2Fmc-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichelderu%2Fmc-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelderu%2Fmc-lab/lists"}