Closed jkremser closed 6 years ago
The DaemonSet stuff in 3.0.0 will be in io.fabric8.kubernetes.api.model.apps.DaemonSet;
The client still need to be updated according to the new model, so you'll need to wait.
hey @Jiri-Kremser
DeamonSet has been moved to apps package from extension in openshift 3.9, we did the same thing in kubernetes-model 3.0.0 release. But client is expecting the same in extensions that is not any more avaialble. To fix this thing, I am already working on https://github.com/fabric8io/kubernetes-client/pull/1103 that will fix these errors in client. Hope this clears. Thanks
Closing the issue.
cool, thanks for info. Perhaphs, it would be nice to release both mvn artifacts at the same time, because now it makes the k8s-model@3.0.0
unusable. I am not using the DeamonSet
s anywhere in my code, it just fails w/ this CNFE when initializing the client.
edit: i've just noticed this https://github.com/fabric8io/kubernetes-client/pull/1103#issuecomment-400350358 perhaps this can be handy for you: https://github.com/srcdeps/srcdeps-maven (it's also built by a Red Hatter :)) It can help if you want to test interactions between artifacts that haven't been released yet and you don't want to use SNAPSHOTs (because it's terrible for build reproducibility)
/cc @ppalaga
Thanks a lot, @Jiri-Kremser that is a good thing I was not aware of. Thanks a lot. Will use that further.
just letting you know that model@3.0.0 with client@4.0.0 works well :+1:
When using the latest version of this library, I got this (https://travis-ci.org/Jiri-Kremser/spark-operator/builds/399085700#L2093 ( https://github.com/Jiri-Kremser/spark-operator/pull/48 )):
NCDF exception
Exception in thread "OkHttp Dispatcher" java.lang.NoClassDefFoundError: io/fabric8/kubernetes/api/model/extensions/DaemonSet at io.fabric8.kubernetes.client.handlers.DaemonSetHandler.getKind(DaemonSetHandler.java:38) at io.fabric8.kubernetes.client.Handlers.register(Handlers.java:43) at io.fabric8.kubernetes.client.Handlers.discoverHandlers(Handlers.java:66) at io.fabric8.kubernetes.client.Handlers.I use k8s-client in version
3.2.0
and trying to use k8s-model in3.0.0
(no openshift-client in the picture). Am I missing something obvious here, or is it just a bug?