mirror of
https://github.com/alibaba/higress.git
synced 2026-04-22 04:27:26 +08:00
#1736Implement cloudflare e2e test case (#2998)
This commit is contained in:
@@ -260,6 +260,25 @@ spec:
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: wasmplugin-ai-proxy-cloudflare
|
||||
namespace: higress-conformance-ai-backend
|
||||
spec:
|
||||
ingressClassName: higress
|
||||
rules:
|
||||
- host: "api.cloudflare.com"
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: llm-mock-service
|
||||
port:
|
||||
number: 3000
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: wasmplugin-ai-proxy-together-ai
|
||||
namespace: higress-conformance-ai-backend
|
||||
@@ -520,6 +539,16 @@ spec:
|
||||
type: stepfun
|
||||
ingress:
|
||||
- higress-conformance-ai-backend/wasmplugin-ai-proxy-stepfun
|
||||
- config:
|
||||
provider:
|
||||
apiTokens:
|
||||
- fake_token
|
||||
modelMapping:
|
||||
"gpt-3": meta/llama-3.1-8b-instruct
|
||||
"*": meta/llama-3.1-70b-instruct
|
||||
type: cloudflare
|
||||
ingress:
|
||||
- higress-conformance-ai-backend/wasmplugin-ai-proxy-cloudflare
|
||||
- config:
|
||||
provider:
|
||||
apiTokens:
|
||||
|
||||
Reference in New Issue
Block a user