-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Missing k8s liveness and readiness probes support #1586
Comments
/kind feature |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten |
@vdemeester: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Could you have any plan to support liveness and readiness for tekton controller? |
After a bit of research, I think adding liveness and readiness for Tekton webhook is straight forward as there is a port provided and I think can be used for readiness and liveness: Line 119 in 9b2a92c
For the controller, we don't have a port setup yet, but I think it is necessary. Asking @bobcatfish if there is any down side for adding such port in the controller. |
I'm trying to add the probes to the controller as well, but encountered port issues. |
/close |
@ywluogg: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Expected Behavior
Pipeline controller and webhook containers have liveness and readiness probes (https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) defined.
Actual Behavior
Probes are missing:
https://github.com/tektoncd/pipeline/blob/v0.8.0/config/controller.yaml
https://github.com/tektoncd/pipeline/blob/v0.8.0/config/webhook.yaml
Steps to Reproduce the Problem
Additional Info
I managed to use
/metrics
endpoint for controller as a fix for now but webhook doesnt seem to support any GET that could be used?The text was updated successfully, but these errors were encountered: