I want to use above versions together, but failing with error:
java.lang.NoSuchMethodError: 'io.fabric8.kubernetes.api.model.HTTPGetActionFluent io.fabric8.kubernetes.api.model.HTTPGetActionBuilder.withNewPort(java.lang.Integer)'
What I see as issue is:
public abstract class HttpProbeCreator extends ProbeCreator {
// skipped code
protected abstract Integer getPort();
protected Probe create() {
HTTPGetActionBuilder httpGetActionBuilder = new HTTPGetActionBuilder()
.withPath(getProbePath())
.withNewPort(getPort())
.withScheme(getScheme());
//rest of the code is skipped
Where method getPort()
returns Integer
, but method withNewPort(Object)
(inherited from class HTTPGetActionFluent
) expects Object
.
Please, could someone help here? Thanks
Because the spring-cloud-deployer-kubernetes:2.9.5 depends on kubernetes-model-core:5.12.4 the only solution is to fix deployer-kubernetes - there's more incompatibilities.