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

local:testing

Test Rossoctl platform locally using Kind. Scripts for deploy, test, and access.

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

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

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.7 KB

SKILL.md(원문)

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

Local Testing Skill

This skill helps you test Rossoctl platform locally using Kind (Kubernetes in Docker).

Overview

The local-testing/ directory contains scripts that mirror the GitHub Actions CI workflow, allowing you to:

  • Deploy the full Rossoctl platform locally
  • Run E2E tests with Ollama LLM integration
  • Access the Rossoctl UI and services
  • Debug agent and tool deployments

Prerequisites

Ensure you have:

  • Docker Desktop/Rancher Desktop/Podman (12GB RAM, 4 cores minimum)
  • Kind, kubectl, helm installed
  • Python 3.11+ with uv
  • jq for JSON parsing

Available Scripts

1. Cleanup Cluster

Wipes the existing Kind cluster completely:

./local-testing/cleanup-cluster.sh

Use this when you want a fresh start or cluster is in a bad state.

2. Deploy Platform

Deploys the full Rossoctl platform (takes ~15-20 minutes):

./local-testing/deploy-platform.sh

This script:

  • Creates Kind cluster via bash installer
  • Deploys all platform components (Keycloak, PostgreSQL, Istio, SPIRE)
  • Installs Ollama and pulls qwen2.5:0.5b model
  • Deploys weather agent and tool

3. Run E2E Tests

Runs the E2E test suite:

./local-testing/run-e2e-tests.sh

Validates:

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

4. Access UI

Shows access information and port-forward commands:

./local-testing/access-ui.sh

Then run the suggested command:

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

Visit: http://rossoctl-ui.localtest.me:8080

Typical Workflow

Full Redeploy and Test

# 1. Clean up existing cluster
./local-testing/cleanup-cluster.sh

# 2. Deploy platform (wait ~15-20 minutes)
./local-testing/deploy-platform.sh

# 3. Run E2E tests
./local-testing/run-e2e-tests.sh

# 4. Access UI
./local-testing/access-ui.sh

Quick Test Iteration

If platform is already deployed and you just want to rerun tests:

./local-testing/run-e2e-tests.sh

Development Cycle

  1. Make code changes
  2. Run ./local-testing/deploy-platform.sh to redeploy
  3. Run ./local-testing/run-e2e-tests.sh to validate
  4. Use ./local-testing/access-ui.sh to get UI access

Debugging Commands

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 Pod Status

# All pods
kubectl get pods -A

# Specific namespace
kubectl get all -n team1
kubectl get all -n rossoctl-system

View Events

# Recent events in team1 namespace
kubectl get events -n team1 --sort-by='.lastTimestamp' | tail -30

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

Ollama Status

# Check if running
ps aux | grep ollama

# Check models
ollama list

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

Troubleshooting

Platform Not Ready

If deployment times out or components aren't ready:

# Check pod status
kubectl get pods -A

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

# Retry deployment
./local-testing/cleanup-cluster.sh
./local-testing/deploy-platform.sh

Test Failures

If E2E tests fail:

  1. Check agent logs: kubectl logs -n team1 deployment/weather-service --tail=100
  2. Check tool logs: kubectl logs -n team1 deployment/weather-tool --tail=100
  3. Verify Ollama is running: ps aux | grep ollama
  4. Check Ollama has model: ollama list | grep qwen2.5

UI Access Issues

If UI doesn't load:

  1. Verify pod is running: kubectl get pods -n rossoctl-system -l app=rossoctl-ui
  2. Check Istio gateway: kubectl get pods -n rossoctl-system -l app=http-istio
  3. Restart port-forward: kubectl port-forward -n rossoctl-system svc/http-istio 8080:80

Notes

  • These scripts are for local development only (not committed to repo)
  • Scripts are in .gitignore to avoid accidental commits
  • Deployment uses same installer as CI
  • Cluster name is rossoctl (matches CI workflow)
  • Secrets used are test values (not production)

Files Location

All scripts are in: local-testing/

  • cleanup-cluster.sh - Wipe cluster
  • deploy-platform.sh - Deploy platform
  • run-e2e-tests.sh - Run tests
  • access-ui.sh - Access information
  • README.md - Full documentation

Related Skills

  • local:full-test - Complete test workflows for Kind and HyperShift
  • kind:cluster - Create/destroy Kind clusters
  • rossoctl:deploy - Deploy platform

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고