Skip to content

Istio/opa external CUSTOM Authorization policy causes knative activator request time out #13518

Answered by tonychue
tonychue asked this question in Q&A
Discussion options

You must be logged in to vote

Found a workaround. The activator probe keeps failing due to the opa policy constantly try to complete a health check as such it needs to confirm that the opa pods are healthy before the activator can send traffic. So disabling the /healthz on the opa CUSTOM policy fixed the issue.

"activator","knative.dev/pod":"activator-dd544f9cc-rbqkf","knative.dev/key":"opa-knative/httpbinary-00001","curDests":
{"ready":"10.244.4.128:8012","notReady":""},"error":"unexpected status code: want [200], got 403"}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dprotaso
Comment options

Answer selected by dprotaso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #13485 on November 28, 2022 22:18.