본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)21k · #10366

debug-openshell-cluster

하는 일

이 스킬은 시작되지 않거나, 접근할 수 없거나, 샌드박스를 만들 수 없는 OpenShell 게이트웨이를 AI가 진단하도록 안내합니다. Docker, Podman, Kubernetes 또는 VM에서 OpenShell을 운영하는 운영자를 위한 스킬입니다.

사용하는 경우

  • ✓OpenShell 게이트웨이가 비정상으로 보이거나 접근할 수 없을 때.
  • ✓OpenShell 게이트웨이에서 샌드박스가 시작되지 않을 때.
  • ✓Helm, TLS, 인증 문제로 OpenShell 게이트웨이가 막힐 때.

스킬 링크

https://github.com/NVIDIA/OpenShell/blob/main/skills/debug-openshell-cluster/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/NVIDIA/OpenShell/blob/main/skills/debug-openshell-cluster/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 OpenShell 게이트웨이에 접근할 수 없고 새 샌드박스도 시작되지 않습니다. 이유를 찾도록 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 먼저 CLI가 어떤 게이트웨이를 쓰는지 확인한 다음, Docker, Podman, kubectl, VM 로그 같은 플랫폼별 도구를 보고 실패한 부분을 찾습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Debug OpenShell Gateway Deployment

Diagnose a gateway and its selected compute platform. Do not assume OpenShell provisions Kubernetes or runs a k3s container. OpenShell targets a reachable gateway endpoint backed by Docker, Podman, Kubernetes, the experimental VM driver, or an operator-managed out-of-tree compute driver.

Use openshell first to identify the active endpoint. Then use the platform tools that match the gateway's compute driver: docker, podman, kubectl/helm, or VM driver logs.

Overview

The target deployment flow is:

  1. Operator starts or deploys the gateway with system packages, systemd, or Helm. The CLI does not start, stop, or destroy gateway services.
  2. Operator configures the compute driver.
  3. Operator provides the CLI and supervisor authentication material required by the deployment mode: edge or OIDC user auth, optional CLI mTLS, and gateway-minted sandbox JWTs.
  4. The CLI registers a reachable gateway endpoint with openshell gateway add.
  5. The gateway creates sandboxes through the selected compute driver.

The openshell-gateway composition crate explicitly installs its compiled Docker, Podman, Kubernetes, and VM registrations at startup; openshell-server does not link compute-driver crates. Custom gateway binaries may include a subset of those registrations. With no configured driver, the gateway probes only installed registrations in priority order (Kubernetes, Podman, then Docker); VM has no probe and remains opt-in. Confirm the binary's registered drivers when auto-detection reports that no suitable driver is available. If configuration selects a driver that was not compiled in, the gateway treats the name as an external driver and reports a missing socket_path unless an endpoint is configured.

On Windows, custom binaries can include MXC independently. Registrations for Docker, Podman, Kubernetes, and VM are rejection stubs when included; they do not enable those runtimes on Windows.

See the compute driver reference for selective-build options and external-driver configuration.

For local evaluation only, TLS may be disabled and the gateway can be reached through http://127.0.0.1:<port>.

Prerequisites

  • The openshell CLI must be available for endpoint checks.
  • Know the active gateway name and endpoint, or be able to inspect local gateway metadata.
  • Know the compute platform: Docker, Podman, Kubernetes, VM, or an out-of-tree driver.
  • For Kubernetes: kubectl must target the cluster that hosts OpenShell and Helm version 3 or later must be available.
  • For Docker or Podman: the runtime socket must be reachable from the gateway host.

Use openshell --help and nested --help output as the authority for the installed CLI version. Use the published installation guide, compute-driver reference, gateway configuration reference, and Kubernetes setup guide as the authority for deployment and configuration behavior.

Workflow

Run diagnostics in order and stop once the root cause is clear.

Step 1: Check CLI Reachability

openshell gateway list --output json
openshell gateway info
openshell status

For a one-off endpoint check that bypasses stored gateway selection and metadata:

openshell --gateway-endpoint <url> status

Common findings:

  • No active gateway: register one with openshell gateway add <endpoint>.
  • gateway has no user authentication configured: configure OIDC, mTLS user or operator authentication, or gateway JWTs using the published gateway configuration reference. For trusted local development, explicitly set [openshell.gateway.auth] allow_unauthenticated_users = true; the gateway otherwise refuses to bind any ports.
  • Connection refused: gateway process is not running, service exposure is wrong, or a port-forward/proxy is not active.
  • TLS/certificate errors: the endpoint scheme or trust chain is wrong, a CLI mTLS bundle does not match the gateway CA, a supervisor is missing the gateway CA, or TLS termination does not match the gateway listener. Workloads and supervisors should not contain a user TLS client certificate or private key.
  • Fresh snap
자주 묻는 질문

이 스킬이 게이트웨이를 설치하거나 시작하나요?

아닙니다. 이미 배포된 게이트웨이의 문제를 찾는 것을 돕습니다. CLI 자체는 게이트웨이 서비스를 시작하거나 멈추지 않습니다.

어떤 플랫폼을 다루나요?

Docker, Podman, Kubernetes, 실험적인 VM 드라이버, 사용자 지정 컴퓨팅 드라이버를 다룹니다.

TLS나 로그인 문제도 도와주나요?

네. TLS, 인증, 샌드박스 시작 문제를 진단하는 문제 목록에 포함됩니다.

상세 정보

작성자의 원본 설명

Debug why an OpenShell gateway deployment is unhealthy, unreachable, or unable to create sandboxes. Use for gateway health failures, Docker/Podman runtime issues, Helm failures, Kubernetes scheduling, TLS or auth, gateway interceptors, supervisor middleware startup or runtime failures, external compute-driver sockets, VM drivers, or sandbox startup. Trigger keywords - debug gateway, gateway failing, deployment failing, helm install failing, cluster health, gateway health, gateway not starting, health check failed, sandbox pending, docker driver, podman driver, kubernetes driver, external drive

repo: NVIDIA/OpenShell

인기도

GitHub 스타
21k
순위
#10366
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬