laurens-gross-mw opened a new issue, #543:
URL: https://github.com/apache/pekko-management/issues/543
Hello,
we discovered that the
`org.apache.pekko.coordination.lease.kubernetes.internal.AbstractKubernetesApiImpl.scala`
only loads the api-token on initialization. Our K8s setup has a key rotation
and therefore mounts new keys in api-token path after a certain time.
Since the key is only read at initialization which is only done once in our
case, the lease management is unable to obtain a lease after the token that is
read on initialization is expired, because it will not read the api-token
again. This will cause a 401 Response from K8s API and result in SBR downing
all cluster members.
Is this an issue or more or less works as designed?
Best regards
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]