본문으로 건너뛰기
cccskills
무료GitHub에 공개

kind:cluster

Manage Kind clusters for local Rossoctl testing. Create, destroy, deploy platform, and run E2E tests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl스타 303(GitHub 303 + cccskills 0)
연동 도구DockerKubernetes

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Kind Cluster Management Skill

Manage Kind (Kubernetes in Docker) clusters for local Rossoctl development and testing.

When to Use

  • Creating a new local test cluster
  • Destroying an existing cluster
  • Deploying Rossoctl platform to Kind
  • Running E2E tests locally
  • User asks "create cluster", "deploy locally", or "run tests"

Quick Start

# Full workflow: create cluster -> deploy platform -> run tests
./.github/scripts/local-setup/kind-full-test.sh

Individual Scripts

Create Cluster

# Create with default name (rossoctl)
./.github/scripts/kind/create-cluster.sh

# Create with custom name
./.github/scripts/kind/create-cluster.sh my-cluster

# Or with environment variable
CLUSTER_NAME=my-cluster ./.github/scripts/kind/create-cluster.sh

Destroy Cluster

# Destroy cluster by name
./.github/scripts/kind/destroy-cluster.sh

# Destroy specific cluster
./.github/scripts/kind/destroy-cluster.sh my-cluster

Deploy Platform

# Deploy full Rossoctl platform to existing cluster
./.github/scripts/kind/deploy-platform.sh

This deploys:

  • Rossoctl platform via bash installer
  • All platform components (Istio, Keycloak, SPIRE, etc.)
  • Ollama LLM (pulls qwen2.5:0.5b model)
  • Weather agent and tool demo

Run E2E Tests

# Run E2E tests against deployed platform
./.github/scripts/kind/run-e2e-tests.sh

Tests include:

  • Platform deployment health
  • Agent conversation via A2A protocol
  • MCP tool invocation
  • Ollama LLM integration

Access UI

# Show access information and port-forward commands
./.github/scripts/kind/access-ui.sh

Then run the suggested command and visit:

Full Test Workflows

Kind Full Test

# Full test: create -> deploy -> test (keeps cluster)
./.github/scripts/local-setup/kind-full-test.sh

# Destroy cluster after test
./.github/scripts/local-setup/kind-full-test.sh --include-cluster-destroy

Manual Step-by-Step

# 1. Create cluster
./.github/scripts/kind/create-cluster.sh

# 2. Deploy platform (~15-20 minutes)
./.github/scripts/kind/deploy-platform.sh

# 3. Run tests
./.github/scripts/kind/run-e2e-tests.sh

# 4. Access UI
./.github/scripts/kind/access-ui.sh

Prerequisites

  • Docker Desktop/Rancher Desktop/Podman (12GB RAM, 4 cores minimum)
  • Kind: brew install kind
  • kubectl: brew install kubectl
  • helm: brew install helm
  • Python 3.11+ with uv

Cluster Configuration

Default Kind config: scripts/kind/kind-config-registry.yaml

Custom config:

KIND_CONFIG=/path/to/config.yaml ./.github/scripts/kind/create-cluster.sh

Environment Variables

VariableDefaultDescription
CLUSTER_NAMErossoctlKind cluster name
KIND_CONFIGkind-config-registry.yamlKind configuration file
SKIP_OLLAMAfalseSkip Ollama installation
SKIP_AGENTSfalseSkip agent deployment

Debugging

Check Cluster Status

# List clusters
kind get clusters

# Check nodes
kubectl get nodes

# Check all pods
kubectl get pods -A

View Logs

# Agent logs
kubectl logs -n team1 deployment/weather-service --tail=100 -f

# Tool logs
kubectl logs -n team1 deployment/weather-tool --tail=100 -f

# Platform operator
kubectl logs -n rossoctl-system deployment/rossoctl-platform-operator --tail=100 -f

Check Events

kubectl get events -A --sort-by='.lastTimestamp' | tail -50

Ollama Status

# Check if running
ps aux | grep ollama

# List models
ollama list

# Test API
curl http://localhost:11434/api/tags

Troubleshooting

Cluster Creation Fails

# Check Docker resources
docker info | grep -E "CPUs|Total Memory"

# Increase Docker Desktop resources to 12GB+ RAM, 4+ CPUs

Platform Deployment Timeout

# Check pod status
kubectl get pods -A | grep -v Running

# Check events
kubectl get events -A --sort-by='.lastTimestamp' | tail -30

# Retry
./.github/scripts/kind/destroy-cluster.sh
./.github/scripts/kind/create-cluster.sh
./.github/scripts/kind/deploy-platform.sh

E2E Tests Fail

# Check agent health
kubectl get pods -n team1

# View agent logs
kubectl logs -n team1 deployment/weather-service --tail=100

# Check Ollama
ollama list | grep qwen

UI Not Accessible

# Check gateway pod
kubectl get pods -n rossoctl-system -l app=http-istio

# Restart port-forward
kubectl port-forward -n rossoctl-system svc/http-istio 8080:80

Related Skills

  • local:testing: Detailed local testing guide
  • rossoctl:deploy: Alternative deployment via Python installer
  • k8s:pods: Debug pod issues
  • k8s:logs: Query logs

Related Documentation

  • .github/scripts/local-setup/README.md - Local setup documentation
  • deployments/README.md - Deployment guide

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

auth

무료

Authentication and authorization patterns for Rossoctl services

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Create confidential OAuth2 clients in Keycloak for server-to-service authentication

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Configure OpenTelemetry Collector with OAuth2 authentication for trace export

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

ci

무료

CI pipeline monitoring, status checks, and PR validation workflows

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Monitor running CI jobs, wait for completion, create tasks for results

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

rossoctl의 스킬 모두 보기

이 스킬의 문제 신고