Kubernetes Ingress

Kubernetes Ingress

📖 定义

Ingress is an API object in Kubernetes that manages external access to the cluster, defining HTTP/HTTPS routing rules to route external traffic to Services within the cluster. Ingress Controller is responsible for implementing these routing rules.

🔗 在 Higress 中的应用

Higress is a high-performance Ingress Controller, compatible with Nginx Ingress annotations, supports smooth migration from Nginx Ingress, and provides richer traffic governance capabilities.

💡 示例

  • 1 Ingress routes to different Services based on domain names
  • 2 Configure TLS certificates to enable HTTPS access
  • 3 Configure advanced routing rules through annotations

⚙️ 配置示例

YAML
# Kubernetes Ingress Example
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: example-ingress
spec:
  rules:
  - host: api.example.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: api-service
            port:
              number: 80

🔄 相关术语

常见问题

Kubernetes Ingress 是什么?
Ingress is an API object in Kubernetes that manages external access to the cluster, defining HTTP/HTTPS routing rules to route external traffic to Services within the cluster. Ingress Controller is responsible for implementing these routing rules.
Higress 如何支持 Kubernetes Ingress?
Higress is a high-performance Ingress Controller, compatible with Nginx Ingress annotations, supports smooth migration from Nginx Ingress, and provides richer traffic governance capabilities.

深入了解 Higress

探索更多 Higress 的功能和最佳实践