# 使用 Homebrew, Nix, zypper, winget 安装 ingress2gateway

查看 ingress2gateway 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ingress2gateway
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ingress2gateway
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ingress2gateway
```

  证据: nixpkgs package indexes: pkgs/by-name/in/ingress2gateway/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install ingress2gateway
```

  证据: openSUSE Tumbleweed package metadata: ingress2gateway from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Kubernetes.ingress2gateway -e
```

  证据: Windows Package Manager source index: Kubernetes.ingress2gateway from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:ingress2gateway
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ingress2gateway>
- **版本:** 1.2.0
- **来源摘要:** Convert Kubernetes Ingress resources to Kubernetes Gateway API resources
- **主页:** <https://github.com/kubernetes-sigs/ingress2gateway>
- **仓库:** <https://github.com/kubernetes-sigs/ingress2gateway>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/kubernetes-sigs/ingress2gateway/archive/refs/tags/v1.2.0.tar.gz>
- **最后更新:** 2026-07-26T04:07:49+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ingress2gateway (cli)
- ingress2gateway (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/kubernetes-sigs/ingress2gateway
- 检测到的最新版本: v1.2.0 (当前)
## 项目历史与用法

ingress2gateway is a Kubernetes SIG Network tool for translating Kubernetes Ingress and provider-specific resources into Gateway API resources.

### 项目历史

The project sits inside kubernetes-sigs and is managed by the Gateway API SIG Network subproject. Its README defines a focused migration scope: read Ingress resources and provider-specific CRDs, convert them into an intermediate representation, and emit Gateway API resources.

The changelog records an initial release candidate followed by an official 0.1.0 release, then a steady expansion of providers and conversion behavior. Later releases added APISIX, Istio, GCE, Cilium, NGINX, Traefik, notifications, kyaml output, provider storage, and an emitter framework.

### 采用历史

ingress2gateway's adoption follows Kubernetes Gateway API adoption. Teams that accumulated Ingress resources and controller-specific annotations use it to inventory and translate routing configuration while learning which fields and annotations cannot be expressed directly.

Package-manager distribution through Homebrew, Nix, Winget, and zypper makes the tool convenient for migration workstations, platform-engineering scripts, and CI checks that inspect manifests without embedding the converter in an application.

### 使用方式

The primary command reads resources from a cluster through kubeconfig or from YAML/JSON input files, then prints Gateway API YAML, JSON, or kyaml to stdout. Users choose providers such as ingress-nginx, GCE, Istio, Kong, NGINX, Traefik, APISIX, Cilium, or OpenAPI.

It does not own credentials files; Kubernetes access follows normal kubeconfig behavior. Its warnings and notifications are part of the migration workflow because unsupported annotations and lossy conversions are often the real work.

### 为什么软件包爱好者会关心

ingress2gateway is significant as a transition package: it exists because Kubernetes networking moved from a widely deployed older API to a richer successor API, and the ecosystem needed a CLI bridge.

It also turns messy controller-specific annotation culture into explicit provider modules, making package installation a way to audit how portable an ingress estate really is.

### 时间线

- 2022: Early project discussion asked for documentation of how Ingress fields and annotations would be interpreted.
- 2023: Version 0.1.0-rc1 was tagged as the initial release candidate.
- 2024: Version 0.2.0 added providers including Istio and APISIX and moved ingress fetching into provider storage.
- 2026: Version 1.0.0 added an emitter framework, expanded ingress-nginx annotation support, and upgraded Gateway API support to v1.5.
- 2026: Version 1.1.0 added Traefik provider support and more provider-specific translations.

### Related projects

- Related projects include Kubernetes Gateway API, Kubernetes Ingress, ingress-nginx, NGINX Ingress Controller, GKE Gateway, Envoy Gateway, kgateway, agentgateway, APISIX, Cilium, Istio, Kong, and Traefik.

### 来源

- <https://gateway-api.sigs.k8s.io/>
- <https://github.com/kubernetes-sigs/ingress2gateway>
- <https://github.com/kubernetes-sigs/ingress2gateway/blob/main/CHANGELOG.md>
- <https://github.com/kubernetes-sigs/ingress2gateway/issues/4>
- <https://github.com/kubernetes-sigs/ingress2gateway/releases>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ingress2gateway
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - ingress2gateway: normalized package name match | nixpkgs package indexes: pkgs/by-name/in/ingress2gateway/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - ingress2gateway - 1.2.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ingress2gateway from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Convert Ingress resources to Gateway API resources | https://github.com/kubernetes-sigs/ingress2gateway
- zypper - ingress2gateway-bash-completion - 1.2.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ingress2gateway-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for ingress2gateway | https://github.com/kubernetes-sigs/ingress2gateway
- zypper - ingress2gateway-fish-completion - 1.2.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ingress2gateway-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for ingress2gateway | https://github.com/kubernetes-sigs/ingress2gateway
- zypper - ingress2gateway-zsh-completion - 1.2.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: ingress2gateway-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for ingress2gateway | https://github.com/kubernetes-sigs/ingress2gateway
- winget - Kubernetes.ingress2gateway: normalized package name match | Windows Package Manager source index: Kubernetes.ingress2gateway from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [velero](https://pkg.so/zh-hans/brew/velero/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes, migration.
- [egctl](https://pkg.so/zh-hans/brew/egctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, gateway-api, kubernetes.
- [cloud-provider-kind](https://pkg.so/zh-hans/brew/cloud-provider-kind/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, gateway-api, kubernetes.
- [gwctl](https://pkg.so/zh-hans/brew/gwctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, gateway-api, kubernetes.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [helm](https://pkg.so/zh-hans/brew/helm/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [colima](https://pkg.so/zh-hans/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [k9s](https://pkg.so/zh-hans/brew/k9s/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [cf-terraforming](https://pkg.so/zh-hans/brew/cf-terraforming/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, migration.
- [kn](https://pkg.so/zh-hans/brew/kn/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, kubernetes.

## Combined YAML source

View the package source record on GitHub. [combined/ingress2gateway.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ingress2gateway.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
