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

helm - add livenessprobe to apache #3807

Closed
wants to merge 1 commit into from
Closed

Conversation

szaimen
Copy link
Collaborator

@szaimen szaimen commented Nov 23, 2023

No description provided.

@szaimen szaimen added 2. developing Work in progress enhancement New feature or request labels Nov 23, 2023
@szaimen szaimen added this to the next milestone Nov 23, 2023
Comment on lines +67 to +73
livenessProbe:
exec:
command:
- bash
- /healthcheck.sh
failureThreshold: 1
periodSeconds: 10
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be added via script. and I guess it will not work yet due to

nc -z "$NEXTCLOUD_HOST" 9000 || exit 0
which is exactly what we want to catch here...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I wonder if we would basically need liveness probes for all containers so that they get restarted if some other container got missing in the meantime...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another solution would be to put everything into one pod but doesnt sound like the best solution either...

@szaimen szaimen closed this Nov 23, 2023
@szaimen szaimen deleted the enh/noid/livenessprobe branch November 23, 2023 16:53
@szaimen szaimen removed this from the next milestone Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant