Kubernetes service discovery breaking change in version 29.0.0#17529
Kubernetes service discovery breaking change in version 29.0.0#17529m17kea wants to merge 1 commit intoapache:masterfrom
Conversation
|
Likely to have been introduced by #15449 |
this looks good to me, @m17kea can you add a note that the operator might need to delete the configmap multiple times? for example if they have two coordinators or overlords running and are doing a rolling update, and one of the old coordinators/overlords regains leadership after the configmap is deleted |
|
|
||
| #### Changes to date format in kubernetes service discovery | ||
|
|
||
| Druid 29.0.0 includes a breaking change for those using kubernetes service discovery. The date format used in the config maps used for leader election of coordinators and overlords has changed. |
There was a problem hiding this comment.
Please describe the error a little more or maybe include an example of the encountered error message.
|
This pull request has been marked as stale due to 60 days of inactivity. |
|
This pull request/issue has been closed due to lack of activity. If you think that |
Fixes #15942
Description
This PR updates the Apache Druid documentation to highlight a breaking change in Kubernetes service discovery behavior introduced in version 29. Specifically, the format of the timestamps used in the
<cluster-identifier>-leaderelection-coordinatorand<cluster-identifier>-leaderelection-overlordConfigMaps was updated to a new format that was not documented. This change caused errors during leader election and service discovery due to mismatched date parsing expectations.The goal of this PR is to ensure that users upgrading to version 29 are aware of this breaking change and can make the necessary adjustments to avoid issues in their Druid clusters.
Documentation Changes
Added a note in the Upgrade notes documentation for version 29 about the updated date format in ConfigMaps.
Provided an example of the command required to help users update their clusters accordingly.
Release Note
This PR updates the documentation to warn users about a breaking change in Kubernetes service discovery introduced in version 29. The date format in leader election ConfigMaps (
<cluster-identifier>-leaderelection-coordinatorand<cluster-identifier>-leaderelection-overlord) was updated to a stricter ISO-8601-like format. Users should ensure they delete the old config mapss once upgrade to version 29.0.0 and above so they are recreated with the correct date format.Key changed/added classes in this PR Documentation updates only, no code changes.
This PR has: