Skip to content

Tokens expires after 1 hr on istio based deployments #1

@SuperSecureHuman

Description

@SuperSecureHuman

Hi,

I am currently running the reverse proxy on a istio based cluster. I notice that the token expires after an hour.

{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}

I believe its because of aggressive caching of envoy.

Additionally, having the healthy probe to get the token itself would be a better option, in case if it finds the endpoint dead, it will restart.

Right now I am testing the charts with

podAnnotations:
  traffic.sidecar.istio.io/excludeOutboundPorts: "443"

Having something like might help (?)

livenessProbe:
  httpGet:
    path: /openid/v1/jwks
    port: http

I am going to wait for some time to see if it helps anymore. I would like to hear any thoughts on this. (BTW i am new to istio, and might be wrong somewhere)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions