Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Liveness entrypoint #496

Copy link
Copy link
@felixleo22

Description

@felixleo22
Issue body actions

I’m trying to deploy SATOSA on Kubernetes, and I want to add a liveness probe to my deployment.

I noticed that SATOSA only becomes truly available after it receives data from the identity provider. Therefore, the following Kubernetes liveness probe:

livenessProbe:
  httpGet:
    path: /liveness
    port: 8080
  initialDelaySeconds: 5
  periodSeconds: 10

is not sufficient.

If SATOSA takes a long time to receive data from the identity provider, the server does not start until it has received that data, and the port is therefore not accessible until the server is fully up.

Is it possible to add a /liveness route that returns "ok" or something else only after data has been received from the identity provider?

Thanks

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.