Nginx To Higress Migration
higress-group/higress
Migrate from ingress-nginx to Higress in Kubernetes environments.
Troubleshooting patterns for the NGINX Ingress Controller: reload failures, custom resources that have no effect, controller panics and snapshot test failures.
$ npx skills add nginx/kubernetes-ingress --skill nic-debugging -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nginx/kubernetes-ingress nic-debugging --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/nginx/kubernetes-ingress.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/nic-debugging .claude/skills/nic-debugging && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nic-debugging" agent skill from https://github.com/nginx/kubernetes-ingress/tree/main/.github/skills/nic-debugging into .claude/skills/nic-debugging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nic-debugging", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/nginx/kubernetes-ingress/tree/main/.github/skills/nic-debuggingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add nginx/kubernetes-ingress --skill nic-debugging -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nginx/kubernetes-ingress nic-debugging --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nginx/kubernetes-ingress.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/nic-debugging .agents/skills/nic-debugging && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nic-debugging" agent skill from https://github.com/nginx/kubernetes-ingress/tree/main/.github/skills/nic-debugging into .agents/skills/nic-debugging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nic-debugging", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nginx/kubernetes-ingress --skill nic-debugging -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nginx/kubernetes-ingress nic-debugging --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nginx/kubernetes-ingress.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/nic-debugging .cursor/skills/nic-debugging && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nic-debugging" agent skill from https://github.com/nginx/kubernetes-ingress/tree/main/.github/skills/nic-debugging into .cursor/skills/nic-debugging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nic-debugging", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/nginx/kubernetes-ingress.git --path .github/skills/nic-debugging--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add nginx/kubernetes-ingress --skill nic-debugging -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nginx/kubernetes-ingress nic-debugging --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nginx/kubernetes-ingress.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/nic-debugging .gemini/skills/nic-debugging && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nic-debugging" agent skill from https://github.com/nginx/kubernetes-ingress/tree/main/.github/skills/nic-debugging into .gemini/skills/nic-debugging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nic-debugging", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install nginx/kubernetes-ingress nic-debuggingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add nginx/kubernetes-ingress --skill nic-debugging -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nginx/kubernetes-ingress.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/nic-debugging .github/skills/nic-debugging && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nic-debugging" agent skill from https://github.com/nginx/kubernetes-ingress/tree/main/.github/skills/nic-debugging into .github/skills/nic-debugging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nic-debugging", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add nginx/kubernetes-ingress --skill nic-debugging -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nginx/kubernetes-ingress nic-debugging --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nginx/kubernetes-ingress.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/nic-debugging .opencode/skills/nic-debugging && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nic-debugging" agent skill from https://github.com/nginx/kubernetes-ingress/tree/main/.github/skills/nic-debugging into .opencode/skills/nic-debugging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nic-debugging", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nic-debuggingTroubleshooting patterns for the NGINX Ingress Controller: reload failures, custom resources that have no effect, controller panics and snapshot test failures.
The skill lists the most common failures in the NGINX Ingress Controller, each with a symptom, a diagnosis and a fix pattern. For a reload failure, check the controller logs for the generated config and the `nginx -t` output, which gives the exact syntax error and line. Typical causes are an unsanitized user string missing the `containsDangerousChars()` check, a template guard missing for an optional field, duplicate directives from conflicting policies and an invalid upstream when no endpoints exist. The fix is to validate earlier or repair the guard, then verify with `make test`.
A custom resource that has no effect is traced through `kubectl get vs`, its `.status.message`, controller sync errors, validation rejections, missing TLS, JWT or OIDC secrets, policies not found in the namespace and host or path conflicts. Controller panics are followed from the stack trace, usually into `internal/configs/` or `internal/k8s/`, with nil pointers on optional fields, unchecked map access and races as common causes. A snapshot test failure means template output changed, so you review the diff and either run `make test-update-snaps` or fix the template.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f6d0615. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
makekubectlgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use kubectl and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
NGINX Ingress Controller Debugging loads about 1.7k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 874 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from nginx/kubernetes-ingress at commit f6d0615, republished under its Apache-2.0 licence (© nginx). 874 words, ~1,726 tokens.
.claude/skills/nic-debugging/SKILL.md (or your agent's skills folder).Symptom: Controller logs show "reload failed" or NGINX returns error status.
Diagnosis:
nginx -t output in logs — shows exact syntax error and line numbercontainsDangerousChars() check){{- if }} / {{- with }}) for optional fieldFix pattern:
make test — snapshot tests catch most template output issuesSymptom: User applies VirtualServer/Policy but NGINX config doesn't change.
Diagnosis:
kubectl get vs <name> -o yaml — look at .status.messagestatus.state: Invalid)Symptom: Pod restarts, panic in logs.
Diagnosis:
*bool/*int check).Spec.X fieldinternal/configs/ or internal/k8s/Symptom: make test fails with snapshot mismatch.
Diagnosis:
make test-update-snaps, then re-read git diff -- '**/__snapshots__/**' to confirm only the expected directives movedThe inverse failure is more dangerous: you edited a .tmpl and make test-update-snaps produced no diff. That is not a pass — it means no fixture sets the field your new branch depends on. Add the fixture in template_test.go / templates_test.go and regenerate.
| Context | Location | What to look for |
|---|---|---|
| Controller logs | Pod stdout/stderr | Sync errors, reload status, validation failures |
| NGINX error log | /var/log/nginx/error.log in container | Config syntax errors, upstream failures |
| NGINX access log | /var/log/nginx/access.log in container | Request routing verification |
| Tool | Command | Purpose |
|---|---|---|
| Config test | nginx -t (inside container) | Validate NGINX config syntax |
| CRD status | kubectl get vs,vsr,ts,pol -A | Check resource state |
| Controller logs | kubectl logs <pod> -n nginx-ingress | Runtime errors |
| Describe events | kubectl describe vs <name> | Kubernetes events for the resource |
| Generated config | kubectl exec <pod> -- cat /etc/nginx/conf.d/<file> | Inspect actual generated NGINX config |
status.state: Invalid with reasonmake test passes, snapshot output is correctWhen the generated NGINX config is wrong:
internal/configs/version2/http.go (VS) or internal/configs/version1/config.go (Ingress)internal/configs/virtualserver.go or internal/configs/ingress.go.tmpl file renders it? Check internal/configs/version2/nginx-plus.virtualserver.tmpl or the OSS variant_test.go file with the input that triggers the bug, run make test-update-snaps to capture current (wrong) output, then fix and regenerategeneratePolicies() logiccontainsDangerousChars() failures are validation errors and typically result in status.state: Invalid — check the CRD status message and controller logsWhen debugging an issue that involves user-provided input reaching NGINX config:
;, {, }, $, newlines, backticks in the user-controlled value.containsDangerousChars() or ValidateEscapedString() cover this path? If not, the bug is a security vulnerability.© nginx, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/nic-debugging of nginx/kubernetes-ingress.
Open the folder on GitHubat commit f6d0615
NGINX Ingress Controller Debugging next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| NGINX Ingress Controller Debugging this skillnginx/kubernetes-ingress | 5.1k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Nginx To Higress Migrationhigress-group/higress | 9.5k | — | ~3.9k | Automated safety check: Pass | Apache-2.0 | |
| Intrinsic Core Debuggingintrinsic-ai/intrinsic-core | 552 | — | ~3.8k | Automated safety check: Notes | Apache-2.0 | |
| Frontend Forge Extension Operationskubesphere/kubesphere | 17k | — | ~3.2k | Automated safety check: Pass | Custom licence | |
| Tgf Server Devthkhxm/tgf | 128 | — | ~1.3k | Automated safety check: Notes | MIT | |
| Kubernetes Troubleshooting with Inspektor Gadgetinspektor-gadget/inspektor-gadget | 2.9k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 |
higress-group/higress
Migrate from ingress-nginx to Higress in Kubernetes environments.
intrinsic-ai/intrinsic-core
Meta-level debugging workflows, architectural layer isolation, and progressive disclosure routing across Envoy ingress, Kubernetes pods, Behavior Trees, ObjectWorld synchronization, ICON real-time…
kubesphere/kubesphere
Runs the lifecycle of FrontendExtension resources in a Kubernetes cluster: create, rebuild, package, publish, unpublish, delete and debug stuck states.
thkhxm/tgf
基于 tgf v2(github.com/thkhxm/tgf/v2)用确定性的 tgfctl 工作流创建、验证和维护 Go 游戏服务器项目。
inspektor-gadget/inspektor-gadget
Traces what the kernel is doing for a misbehaving pod using Inspektor Gadget's eBPF tools, tagged with namespace, pod, container and node, without changing workloads.
kubesphere/kubesphere
Operates FrontendIntegration resources and the frontend-forge extension with kubectl: create from YAML, update, enable, disable, delete, inspect and troubleshoot builds.
nginx/kubernetes-ingress
Gives step-by-step checklists for adding Ingress annotations, VirtualServer fields and Helm values to the NGINX Kubernetes Ingress Controller, with common gotchas.
nginx/kubernetes-ingress
Step-by-step checklist for adding a new Policy CRD type to the NGINX Ingress Controller, from the Go types and validation to config generation and templates.
nginx/kubernetes-ingress
Explains how the NGINX Ingress Controller's GitHub Actions workflows, reusable workflows, build matrices and release pipeline fit together across two repositories.
nginx/kubernetes-ingress
Explains the multi-stage Dockerfile, the 25 image variant combinations, and the Makefile targets for building NGINX Ingress Controller images.
nginx/kubernetes-ingress
Maps the NGINX Kubernetes Ingress Controller codebase: repository layout, architectural layers, layer-crossing rules and which files are generated.
nginx/kubernetes-ingress
Testing conventions for the NGINX Ingress Controller repo: Go table-driven tests, mandatory snapshot regeneration, Helm tests and Python pytest integration tests.
Works with
Categories
Troubleshooting patterns for the NGINX Ingress Controller: reload failures, custom resources that have no effect, controller panics and snapshot test failures. The skill lists the most common failures in the NGINX Ingress Controller, each with a symptom, a diagnosis and a fix pattern. For a reload failure, check the controller logs for the generated config and the `nginx -t` output, which gives the exact syntax error and line.
NGINX Ingress Controller Debugging fits situations like: diagnosing an NGINX reload failure in the ingress controller; finding out why a VirtualServer or Policy resource has no effect; tracing a controller panic or pod restart from its logs; resolving snapshot test mismatches after a template change.
Run `npx skills add nginx/kubernetes-ingress --skill nic-debugging -a claude-code`. Or copy the skill folder (.github/skills/nic-debugging in nginx/kubernetes-ingress) into .claude/skills/nic-debugging in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nginx/kubernetes-ingress --skill nic-debugging -a codex`. Or copy the skill folder (.github/skills/nic-debugging in nginx/kubernetes-ingress) into .agents/skills/nic-debugging in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nginx/kubernetes-ingress --skill nic-debugging -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nic-debugging, .gemini/skills/nic-debugging, .github/skills/nic-debugging and .opencode/skills/nic-debugging in your project.
Going by SKILL.md and its folder, NGINX Ingress Controller Debugging needs the command-line tools its instructions call (make, kubectl and git). Our summary lists: A checkout of the nginx/kubernetes-ingress repository; kubectl access to the cluster running the controller; make to run the test suite.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
NGINX Ingress Controller Debugging is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with NGINX Ingress Controller Debugging: Nginx To Higress Migration (higress-group/higress, 9.5k stars), Intrinsic Core Debugging (intrinsic-ai/intrinsic-core, 552 stars), Frontend Forge Extension Operations (kubesphere/kubesphere, 17k stars) and Tgf Server Dev (thkhxm/tgf, 128 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
nginx (a GitHub organization) maintains it in nginx/kubernetes-ingress, which has 5,082 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.
Source: nginx/kubernetes-ingress on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.