Higress Terminology

Ingress Annotation (Annotation)

The annotation (Annotation) field in the Ingress resource is a kv dictionary structure, which can implement various routing strategies in a declarative manner. As shown below, annotations are used to enable cross-domain access permission for the Ingress route:

  1. apiVersion: networking.k8s.io/v1
  2. kind: Ingress
  3. metadata:
  4. name: ingress-example
  5. annotations:
  6. higress.io/enable-cors: true
  7. spec:
  8. ingressClassName: nginx-example
  9. rules:
  10. - http:
  11. paths:
  12. - path: /test
  13. pathType: Prefix
  14. backend:
  15. service:
  16. name: test
  17. port:
  18. number: 80

For other annotation configuration methods supported by Higress, please refer to Ingress Annotation Configuration Instructions

Downstream

Downstream refers to the source where Higress receives the request, usually a client such as a browser

Upstream

Upstream refers to the target backend service that Higress forwards the request to