澄潭
澄潭
> > 目前其实已经支持了多模型的fallback,不过是通过 envoy custom-response filter实现的。 > > 目前要使用到多模型的 fallback,需要做哪些配置吗?在官网上只找到这个注解配置,你指定是这个 fallback 吗? 不是 ai fallback能力会在2.0.0版本开源
https://github.com/istio/istio/issues/36301#issuecomment-983413360 可以试下这个方式,需要先安装 istio crd,并开启 higress 的 istio api 支持,可以参考:https://higress.io/zh-cn/docs/ops/deploy-by-helm#%E6%94%AF%E6%8C%81-istio-crd%E5%8F%AF%E9%80%89
@chaoyoung 试一下这个enovyfilter ```yaml apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: enable-secp384r1 spec: configPatches: - applyTo: CLUSTER match: cluster: # 例如 service: foobar.default.svc.cluster.local service: context: GATEWAY patch: operation: MERGE value: transport_socket: name:...
@chaoyoung 可以提供下 freeswitch-uas 这个服务的镜像吗,我这边测试复现下
@chaoyoung 抱歉 这段时间比较忙 还没来得及复现问题,你先试一下这个envoyfilter能否解决 ```yaml apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: freeswitch-uas-enable-secp384r1 namespace: default spec: configPatches: - applyTo: CLUSTER match: cluster: service: freeswitch-uas.default.svc.cluster.local context: GATEWAY patch: operation: MERGE value: transport_socket:...
你进网关的pod 执行下 curl localhost:15000/config_dump ,把内容发一下
 你的配置中只有这些服务,并没有 freeswitch-uas.default.svc.cluster.local,所以上面的envoyfilter没有生效
 envoyfilter 的 patch 看上去没有生效,你看下 gateway 的 pod 日志,有没有报错信息
@chaoyoung 默认支持 v1.2 的
> @johnlanni gateway log > > ``` > 2023-09-13T07:39:50.831678Z info xdsproxy connected to upstream XDS server: higress-controller.higress-system.svc:15012 > 2023-09-13T08:09:55.505991Z info xdsproxy connected to upstream XDS server: higress-controller.higress-system.svc:15012 > {"authority":"uas-test.dev2.com","bytes_received":"0","bytes_sent":"0","downstream_local_address":"10.244.23.205:80","downstream_remote_address":"10.244.232.2:35436","duration":"2450","istio_policy_status":"-","method":"GET","path":"/ws","protocol":"HTTP/1.1","request_id":"1d83ba78-f6d1-4d19-8df2-e70d8cc9ee31","requested_server_name":"-","response_code":"0","response_flags":"DC","route_name":"default/uas-test","start_time":"2023-09-13T08:11:51.969Z","trace_id":"04beea3fbcc5e24f2571adcdda5584bb","upstream_cluster":"outbound|80||uas-test.default.svc.cluster.local","upstream_host":"-","upstream_local_address":"-","upstream_service_time":"-","upstream_transport_failure_reason":"-","user_agent":"curl/7.29.0","x_forwarded_for":"10.244.232.2"} >...