【问题标题】:How to make the ext_authz envoy filter work on the istio cluster?如何让 ext_authz envoy 过滤器在 istio 集群上工作?
【发布时间】:2020-04-16 21:15:20
【问题描述】:

我正在尝试将 ext_authz 过滤器添加到 istio ingress-gateway 以进行请求身份验证。但是当我将此过滤器添加到集群时,它似乎没有添加到特使配置中,即它不起作用。

apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: authn-filter namespace: istio-system spec: filters: - insertPosition: index: FIRST listenerMatch: portNumber: 433 listenerType: GATEWAY listenerProtocol: HTTP filterType: HTTP filterName: "envoy.ext_authz" filterConfig: http_service: server-uri: uri: http://auth.default.svc.cluster.local:8080 cluster: outbound|8080||auth.default.svc.cluster.local timeout: 2s

apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: auth-virtualservice spec: hosts: - "*" gateways: - gateway.default.svc.cluster.local http: - match: - uri: prefix: "/auth" route: - destination: host: auth.default.svc.cluster.local

【问题讨论】:

    标签: istio envoyproxy


    【解决方案1】:

    我发现问题是集群上部署的旧版本的istio引起的

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-07-23
      • 2021-06-22
      • 2018-02-11
      • 1970-01-01
      • 2020-07-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多