Skip to content

Conversation

@bindrad
Copy link

@bindrad bindrad commented Nov 20, 2025

Fixes #16249

Proposed Changes

  • Add PROBE_TIMEOUT environment variable to configure activator health check timeout (default: 300ms)
  • Add PROBE_FREQUENCY environment variable to configure activator probe frequency (default: 200ms)

Release Note

Activator probe timeout and frequency are now configurable via PROBE_TIMEOUT and PROBE_FREQUENCY environment variables.

Signed-off-by: Dhruv Bindra <dhruvbindra1510@gmail.com>
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 20, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@knative-prow
Copy link

knative-prow bot commented Nov 20, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bindrad
Once this PR has been reviewed and has the lgtm label, please assign skonto for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 20, 2025
@knative-prow
Copy link

knative-prow bot commented Nov 20, 2025

Hi @bindrad. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-sigs/prow repository.

@knative-prow knative-prow bot requested review from dprotaso and skonto November 20, 2025 10:54
@linkvt
Copy link
Contributor

linkvt commented Nov 21, 2025

/ok-to-test

@knative-prow knative-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 21, 2025
Signed-off-by: Dhruv Bindra <dhruvbindra1510@gmail.com>
@bindrad
Copy link
Author

bindrad commented Nov 22, 2025

/test unit-tests

@bindrad
Copy link
Author

bindrad commented Nov 22, 2025

I'm not sure if istio-latest-no-mesh-tls_serving_main is failing due to my changes. Please suggest.

@linkvt
Copy link
Contributor

linkvt commented Nov 24, 2025

It's likely a flaky test indicated by a webhook deployment not being ready in the E2E test setup. Let's do a simple retest.

/retest

@linkvt
Copy link
Contributor

linkvt commented Nov 24, 2025

@bindrad Seems like the flaky test finished without errors.

I just reviewed the code and think it might make sense to only set/overwrite these values through the config-network ConfigMap instead of allowing an overwrite via environment variables. This would seem more in line with how we configure other parameters, I guess the two fields above (MaxIdleProxyConns, ...) are rather outliers.
Another idea would be a new ConfigMap config-activator, this is IMO too much overhead so I wouldn't do it.

I'm not a long-term contributor/approver though so someone else might have a better idea.

@bindrad
Copy link
Author

bindrad commented Nov 25, 2025

@linkvt Thanks for the feedback. I thought to follow the same pattern as MaxIdleProxyConns and MaxIdleProxyConnsPerHost, which are also set via environment variables. I'm fine with either approach, but I think it would be useful to make these values configurable in some form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add configurable probe timeout for activator to support high-latency environments

2 participants