Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e: add testcases for destination annotations #860

Open
johnlanni opened this issue Mar 6, 2024 · 0 comments
Open

e2e: add testcases for destination annotations #860

johnlanni opened this issue Mar 6, 2024 · 0 comments

Comments

@johnlanni
Copy link
Collaborator

Why do you need it?

annotations:

  • higress.io/destination

How could it be?

single destiantion:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    higress.io/destination:  " bar-service.default.svc.cluster.local:5678"
  name: echo
  namespace: default
spec:
  ingressClassName: higress
  rules:
  - http:
      paths:
      - backend:
          resource:
            apiGroup: networking.higress.io
            kind: McpBridge
            name: default
        path: /echo
        pathType: Prefix

multiple destiantions:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    higress.io/destination: |
      33% service-provider.DEFAULT-GROUP.public.nacos
      33% service-provider-gray.DEFAULT-GROUP.public.nacos
      34% bar-service.default.svc.cluster.local:5678
  name: echo
  namespace: default
spec:
  ingressClassName: higress
  rules:
  - http:
      paths:
      - backend:
          resource:
            apiGroup: networking.higress.io
            kind: McpBridge
            name: default
        path: /echo
        pathType: Prefix

Other related information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant