
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://www.repostatus.org/badges/latest/active.svg](https://www.repostatus.org/#active) !https://badgen.net/badge/support/commercial/green?icon=awesome
The NGINX Ingress Operator is a Kubernetes/OpenShift component which deploys and manages one or more https://github.com/nginx/kubernetes-ingress which in turn handle Ingress traffic for applications running in a cluster.
Learn more about operators in the https://kubernetes.io/docs/concepts/extend-kubernetes/operator/.
To install a specific version of the NGINX Ingress Controller with the operator, a specific version of the NGINX Ingress Operator is required.
Up until version 0.5.1, this Operator was Go based. Version 1.0.0 marks an incompatible upgrade as this release switched the Operator to being Helm-based, built from the NGINX Ingress Controller Helm chart. The configuration for the Helm chart can be seen in the NGINX Ingress Controller documentation.
The following table shows the relation between the versions of the two projects:
| NGINX Ingress Controller | NGINX Ingress Operator |
|---|---|
| 5.5.x | 3.6.2 |
| 5.4.x | 3.5.4 |
| 5.3.x | 3.4.4 |
| 5.2.x | 3.3.1 |
| 5.1.x | 3.2.3 |
| 5.0.x | 3.1.0 |
| 4.0.x | 3.0.1 |
| 3.7.x | 2.4.2 |
| 3.6.x | 2.3.2 |
| 3.5.x | 2.2.2 |
| 3.4.x | 2.1.2 |
| 3.3.x | 2.0.2 |
| 3.2.x | 1.5.2 |
| 3.1.x | 1.4.2 |
| 3.0.x | 1.3.1 |
| 2.4.x | 1.2.1 |
| 2.3.x | 1.1.0 |
| 2.2.x | 1.0.0 |
| 2.1.x | 0.5.1 |
| 2.0.x | 0.4.0 |
| 1.12.x | 0.3.0 |
| 1.11.x | 0.2.0 |
| 1.10.x | 0.1.0 |
| 1.9.x | 0.0.7 |
| 1.8.x | 0.0.6 |
| 1.7.x | 0.0.4 |
| < 1.7.0 | N/A |
Note: The NGINX Ingress Operator works only for NGINX Ingress Controller versions after 1.7.0.
Install the NGINX Ingress Operator. See docs.
NOTE: To use TransportServers as part of your NGINX Ingress Controller configuration, a GlobalConfiguration resource must be created before starting the Operator - see the notes
Creating the default-server-secret.yaml is optional and it is recommended that users provide their own certificate. An example yaml for this can be found in the https://github.com/nginx/nginx-ingress-helm-operator/blob/main/examples/default-server-secret.yaml
(If using OpenShift) Create the scc resource on the cluster by applying the scc.yaml file found in the resources folder of this repo:
shellkubectl apply -f https://raw.githubusercontent.com/nginx/nginx-ingress-helm-operator/main/resources/scc.yaml
Deploy a new NGINX Ingress Controller using the NginxIngress Custom Resource:
controller.defaultTLS.secret field (needs to be in the form namespace/name)controller.nginxPlus to truecontroller.image.repository and controller.image.tag to the appropriate valuescontroller.serviceAccount.imagePullSecretName if applicablerbac.create should be set to false, and the ServiceAccount and ClusterRole***ding need to be created independently of the deployments. Please note that controller.serviceAccount.imagePullSecretName will also be ignored in this configuration, and will need to be configured as part of the independent ServiceAccount creation.nginx-ingress-operator-nginx-ingress-admin ClusterRole.controller.ingressClass.name should be set to an e***y string and the IngressClass resource needs to be created independently of the deployments.Please note that controller.ingressClass.setAsDefaultIngress will also be ignored in this configuration, and will need to be configured as part of the independent IngressClass creation.See upgrade docs
We publish NGINX Ingress Operator releases on GitHub. See our https://github.com/nginx/nginx-ingress-helm-operator/releases.
The latest stable release is https://github.com/nginx/nginx-ingress-helm-operator/releases/tag/v3.6.2. For production use, we recommend that you choose the latest stable release.
It is possible to run the operator in your local machine. This is useful for testing or during development.
Have access to a Kubernetes/OpenShift cluster.
Apply the IC CRD:
shellmake install
Run make run.
The operator will run in your local machine but will be communicating with the cluster.
If you'd like to contribute to the project, please read our Contributing guide.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 nginx/nginx-ingress-operator 相关的常用 Docker 镜像,适用于 不同场景 等不同场景: