Laird Nelson
Laird Nelson
For background on the patterns involved here, have a look at this: https://stackoverflow.com/questions/31041766/what-does-edge-based-and-level-based-mean So Kubernetes in general is biased towards level-based. That is, rather than relying on the reception of...
I believe this code: https://github.com/kubernetes/client-go/blob/dcf16a0f3b52098c3d4c1467b6c80c3e88ff65fb/tools/cache/reflector.go#L226-L274 …is actually implemented by the fabric8 client, more or less: https://github.com/fabric8io/kubernetes-client/blob/cee8550053e671bb0b3489e37196924f4c949a3f/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchConnectionManager.java#L293-L333 …so the problem may simply reduce to the body of the `start()` method needing...
Ah, wait; this is already handled: https://github.com/microbean/microbean-kubernetes-controller/blob/ee05d9ece9f591bc7052a2569a6422e804be42e8/src/main/java/org/microbean/kubernetes/controller/Reflector.java#L1031-L1057 There could be better logging here. I'll add logging and then close this issue.
Need to also review the Go code to see if the "full replace" operation occurs in the event of a failure-and-retry occurrence.
I've been holding off because judging by the various bug reports the 4.x line is more unstable than the 3.x line. If you want to try yourself, you can use...
I've published a mostly untested `SNAPSHOT` (`0.2.3-SNAPSHOT`) to [Sonatype snapshots](https://oss.sonatype.org/content/repositories/snapshots/) that upgrades the Kubernetes client to 4.1.1. I'd be curious to see what you think.
I seem to recall that it does not.
Interesting; particularly given that the class involved is from a package with `internal` in the name.
OK, sounds like using this `internal` class is considered not to be a hack (!). See https://github.com/fabric8io/kubernetes-client/issues/1285 as well. Strictly speaking, the `microbean-kubernetes-controller` library doesn't itself need to use this...
Hi, guys; thanks for your feedback. I'll look into this issue; I'm sure it has to do with the way that scannotation interacts with the new version of Javassist that...