Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSO2 APIM pod takes a fixed time to be ready due to initialDelaySeconds #608

Open
matoruru opened this issue Dec 22, 2023 · 4 comments
Open

Comments

@matoruru
Copy link

matoruru commented Dec 22, 2023

Description:
I realized that WSO2 pod is taking some fixed time like 3 mins to be ready. And the reason could be readinessProbe.initialDelaySeconds. Can't we have WSO2 Kubernetes manifest have startupProbe instead?

The reason why I suggest this is that, startupProbe should give this problem dynamic and flexible time to be ready just depends on the machine spec and the time that some WSO2 processes actually take.

Reference: playground-prove-initialdelayseconds-is-bad-startupprobe-is-better

Suggested Labels:
Suggestion, Improvement

Suggested Assignees:
@matoruru

Affected Product Version:
Not sure

OS, DB, other environment details and versions:

Steps to reproduce:
Restart the Deployment resource of APIM.

Related Issues:

@matoruru matoruru changed the title WSO2 APIM pod takes a fixed time to be ready due to initialDelaySeconds WSO2 APIM pod takes a fixed time to be ready due to initialDelaySeconds Dec 22, 2023
@matoruru
Copy link
Author

We, user, could extend this manifest by forking but I think it worth to have in this official-provided manifest.

@matoruru
Copy link
Author

If I got assigned to this issue I would be happy to work on this.

@matoruru
Copy link
Author

For notification please forgive me to tag you two as most contributors in this repo @chirangaalwis @prasa7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant