Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)21 mil · #10366

debug-openshell-cluster

O que ela faz

Esta skill guia a IA no diagnóstico de um gateway do OpenShell que não inicia, não pode ser acessado ou não consegue criar sandboxes. É para operadores que executam o OpenShell no Docker, Podman, Kubernetes ou em uma VM.

Quando usar

  • ✓Quando o seu gateway do OpenShell aparecer como não saudável ou não puder ser acessado.
  • ✓Quando sandboxes falharem ao iniciar no seu gateway do OpenShell.
  • ✓Quando um problema de Helm, TLS ou de autenticação bloquear o seu gateway do OpenShell.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/NVIDIA/OpenShell/blob/main/skills/debug-openshell-cluster/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Meu gateway do OpenShell está inacessível e novos sandboxes não iniciam. Me ajude a descobrir o motivo.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA primeiro verifica qual gateway a CLI está usando e depois examina as ferramentas dessa plataforma, como Docker, Podman, kubectl ou os logs da VM, para encontrar a parte que falha.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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
Perguntas frequentes

Esta skill instala ou inicia o gateway?

Não. Ela ajuda a encontrar problemas em um gateway que já está implantado. A própria CLI não inicia nem para serviços do gateway.

Quais plataformas ela cobre?

Cobre Docker, Podman, Kubernetes, o driver experimental de VM e drivers de computação personalizados.

Ela ajuda com problemas de TLS ou de login?

Sim. Ela inclui problemas de TLS, de autenticação e de inicialização de sandbox entre os que diagnostica.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
21 mil
Posição no ranking
#10366
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas