Skip to content

Commit

Permalink
[PLAT-16819] Toggle off clock drift check for k8s and runtimeconfig
Browse files Browse the repository at this point in the history
Summary:
We should fully turn off the time drift health check if the cluster is k8s
or if the check itself is disabled. Previously, we only stopped requiring an ntp service,
but the check may want to be disabled for other reasons.

Test Plan: validate the check is not run if the runtime config is off

Reviewers: vkumar, amalyshev, muthu

Reviewed By: muthu

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D42021
  • Loading branch information
shubin-yb committed Feb 19, 2025
1 parent 7fc910d commit 474e111
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ public void checkSingleUniverse(CheckSingleUniverseParams params) {
params.universe, UniverseConfKeys.healthCheckClockSyncServiceRequired));
} else {
nodeInfo.setClockSyncServiceRequired(false);
nodeInfo.setCheckTimeDrift(false);
}
if (params.universe.isYbcEnabled()) {
nodeInfo
Expand Down

0 comments on commit 474e111

Please sign in to comment.