Repository navigation
Conversation
The app container had no probes, so a replica with hung gunicorn workers stayed in the service endpoints and kept getting traffic. All three probes hit GET /servicex (no auth, no db). Each can be overridden or set to null.
ponyisi
reviewed
Nov 19, 2026
| | `app.ingress.tls.secretName` | Name of TLS Secret used for ServiceX API server | `{{.Release.Name}}-app-tls` | | ||
| | `app.ingress.tls.clusterIssuer` | Specify a ClusterIssuer if using cert-manager | - | | ||
| | `app.resources` | Kubernetes pod resource spec for CPU and memory requests/limits | 100m/256Mi requests, 1/1Gi limits | | ||
| | `app.startupProbe` | Startup probe for the app container. Covers the db migrations at boot. Set to null to disable | `GET /servicex`, 10s x 60 | |
Collaborator
There was a problem hiding this comment.
This is a bit confusing re how this is actually altered in values.yaml (except for how to disable). Can the format of a non-null setting be specified?
Author
There was a problem hiding this comment.
Format follows https://kubernetes.io/docs/reference/kubernetes-api/core/pod-v1/#Probe . For example:
httpGet:
path: /servicex
port: 5000
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 60
Author
There was a problem hiding this comment.
Would you want the documentation to just reference the k8s spec here?
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following up on discussion in IRIS-HEP slack (https://iris-hep.slack.com/archives/CJH870SR2/p1795121386441709), adding the probes into servicex will help us determine if the pods are responsive. While as Peter mentioned this doesn't solve the issue for why a pod gets wedged/stuck/unresponsive, it should at least allow for k8s to manage and kick/restart the pod more autonmously than otherwise not. It also gives us a little more visibility for when a pod is not behaving as expected.
For now until 1.9.1 is released with these changes, I've added these as postRenders in kustomize on v1.9.0.
Thanks!