LeaderElector
does not work with Kubernetes Mock Server in 6.5.0 because of Unsupported Media Type
#4965
Labels
Milestone
Describe the bug
When trying to use the Fabric8
LeaderElector
for leadership election, it does not seem to work against the Kubernetes Mock Server. It is able to claim the leadership, but it seems not be unable to patch theLease
resource due to following exception:Fabric8 Kubernetes Client version
6.5.0
Steps to reproduce
The following reproducer should reproduce the issue. The test does not fail as it does not test anything (it is just used to run against the Mock Server), but you should see the error:
Expected behavior
The
LeaderElector
keeps running and does not fail.Runtime
other (please specify in additional context)
Kubernetes API Server version
other (please specify in additional context)
Environment
macOS
Fabric8 Kubernetes Client Logs
You can see the exception there as well as the Mock Server returning some
415 Client Error
codes.The text was updated successfully, but these errors were encountered: