ark-setup-cluster
/ark-setup-cluster
Set up and install the Ark platform in a Kubernetes cluster. Supports default mode (existing cluster) and isolated e2e testing mode (dedicated Kind cluster). Use when the user wants to install, deploy, test, or configure Ark.
- Author
- mckinsey ↗
- Repository
- agents-at-scale-ark ↗
- Licence
- Apache-2.0
- Last repository change
- 23.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Set up and install the Ark platform in a Kubernetes cluster. Supports default mode (existing cluster) and isolated e2e testing mode (dedicated Kind cluster). Use when the user wants to install, deploy, test, or configure Ark.
Original author description
Set up and install the Ark platform in a Kubernetes cluster. Supports default mode (existing cluster) and isolated e2e testing mode (dedicated Kind cluster). Use when the user wants to install, deploy, test, or configure Ark.
How it works
- When to use this skill
- Prerequisites
- Step 0: Check existing cluster state
- Step 1: Create cluster
- Step 2: Build ark-cli from source
- Step 3: Install Ark
- Step 4: Verify installation
- Step 5: Cleanup (e2e testing mode)
- Troubleshooting
- Important
SKILL.md preview
---
name: ark-setup-cluster
description: Set up and install the Ark platform in a Kubernetes cluster. Supports default mode (existing cluster) and isolated e2e testing mode (dedicated Kind cluster). Use when the user wants to install, deploy, test, or configure Ark.
---
# Ark Setup Cluster
Set up and install the Ark platform using ark-cli. Supports two modes:
- **Default**: Deploy Ark to an existing cluster
- **Isolated e2e**: Create a dedicated Kind cluster for testing without affecting existing clusters
## When to use this skill
- User wants to install or set up Ark
- Build manager needs an isolated cluster for e2e testing
- User needs to deploy Ark to their local cluster
- User needs to troubleshoot Ark installation issues
## Prerequisites
1. **Docker** - Required for Kind cluster creation
2. **kubectl** - Kubernetes CLI
3. **Helm** - For installing Ark components
4. **Node.js** - For building the ark-cli tool
5. **Kind** - For creating local clusters (`which kind`)
## Step 0: Check existing cluster state
**CRITICAL: Always check before creating or modifying clusters.**
```bash
kubectl cluster-info 2>/dev/null
kubectl get pods -n default 2>/dev/null | head -10
kind get clusters 2>/dev/null
```
### If a cluster is already running
**Never silently destroy an existing cluster.** It may have user data, demos, or in-progress work. Present options:
- **Option A: Reuse existing cluster** — deploy Ark into it. Fastest, but overwrites current Ark state.
- **Option B: Create isolated cluster** (recommended for e2e testing) — `kind create cluster --name ark-e2e-test`. Fully isolated, preserves existing cluster.
- **Option C: Replace existing cluster** — delete and recreate. Only if user explicitly confirms.
Wait for user to choose, or if called by the build manager for e2e testing, default to Option B.
## Step 1: Create cluster
### Default mode (existing cluster or new ark-cluster)
```bash
kind create cluster --name ark-cluster
```
### Isolated e2e testing mode
```bash
kind create cluster --name ark-e2e-test
kubectl config use-context kind-ark-e2e-test
```
### Configure kubeconfig (if running inside Docker/DinD)
```bash
CONTROL_PLANE_IP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <cluster-name>-control-plane)
kind get kubeconfig --name <cluster-name> --internal | sed "s/<cluster-name>-control-plane/$CONTROL_PLANE_IP/g" > ~/.kube/config
kubectl cluster-info
```
On Mac with Docker Desktop, the default kubeconfig works without IP replacement.
## Step 2: Build ark-cli from source
```bash
cd agents-at-scale-ark
npm install
cd tools/ark-cli
npm install
npm run build
```
## Step 3: Install Ark
```bash
node tools/ark-cli/dist/index.js install --yes --wait-for-ready 5m
```
If specific chart versions aren't published yet (e.g., on a feature branch), install components individually:
```bash
helm install ark-controller oci://mckinsey-ark-helm.jfrog.io/ark-helm/ark-controller --version <version>
# ark-broker must precede ark-tenant: the tenant chart refuses a fresh install
# into a namespace with no broker Service.
helm install ark-broker oci://mckinsey-ark-helm.jfrog.io/ark-helm/ark-broker --version <version>
helm install ark-tenant oci://mckinsey-ark-helm.jfrog.io/ark-helm/ark-tenant --version <version>
helm install ark-api oci://mckinsey-ark-helm.jfrog.io/ark-helm/ark-api --version <version>
helm install ark-dashboard oci://mckinsey-ark-helm.jfrog.io/ark-helm/ark-dashboard --version <version>
```
## Step 4: Verify installation
```bash
kubectl get pods -n default
kubectl get services -n default
```
Wait until all pods show **Running** and **Ready**.
## Step 5: Cleanup (e2e testing mode)
After testing is complete:
```bash
kind delete cluster --name ark-e2e-test
```
Restore original kubectl context if needed:
```bash
kubectl config use-context <original-context>
```
## Troubleshooting
### Docker not available
If `docker info` fails, Kind cannot create clusters. Report to user.
### Check pod status
```bash
kubectl get pods -A -o wide | grep -E '(ark|cert-manager)'
kubectl describe pod <pod-name>
```
### View logs
```bash
kubectl logs deployment/ark-api
kubectl logs -n ark-system deployment/ark-controller
```
## Important
- **DO NOT use `scripts/quickstart.sh`** — deprecated. Use ark-cli.
- **DO NOT use `npm install -g @agents-at-scale/ark`** — build from source to match the branch being tested.
- **CI uses K3s** (Linux-only). Local Mac testing uses Kind. Generally compatible but minor differences possible.
Versions
The database has no other skills named ark-setup-cluster.
Database snapshot: 13.11.2026 · package version 6ce201c797e5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90Ark Analysis
Analyze the Ark codebase by cloning the repository to a temporary location. Use this skill when the user asks questions about how Ark works, wants to understand Ark's implementation, or needs to examine Ark source code. - 90Ark Dashboard and UI Testing
Test the Ark Dashboard and UI with Playwright and create PRs with screenshots. Use this skill when testing dashboard UI, taking screenshots for PRs, or validating dashboard changes. - 100eaiapps-guided-install
Guides a user through installing the AI Workbench (AIWB) onto a Kubernetes cluster end-to-end — preflight cluster readiness (access, StorageClass, GPU operator, required operators/CRDs), install the Helm charts in the correct order, and verify the deployment is healthy with… - 95glab-cluster
Manage GitLab Kubernetes clusters and agent integrations. Use when connecting clusters, managing cluster agents, or working with Kubernetes integration. Triggers on cluster, Kubernetes, k8s, cluster agent, connect cluster. - 100deploy-llm-d
Configure and deploy an llm-d stack on an existing Kubernetes and OpenShift cluster using Well-Lit Path guides. Use this skill when users want to deploy, verify, or customize llm-d. - 95ark-console
从零搭建或复刻一套「火山方舟(Ark)视频/生图本地控制台」:零依赖 Node CLI + 单文件网页控制台,覆盖 Seedance 视频生成、Seedream 生图、参考素材公网托管与 ffprobe 预检、白模/绿幕预设,以及一整套「先验证事实、再写代码、最后用结果验收」的工程流程。当用户想搭本地控制台、把生成类 API 封装成 CLI、或复刻 ark-cli 时使用。