<p>IS it possible to create custom resource definition by reading the data from yaml file and using <a href="https://github.com/kubernetes-client/java" rel="nofollow noreferrer">Java client</a> for Kubernetes?
I am using the version of library 3.0.0 in sbt and with Scala. But I was not able to find any kind of methods for custom resources creation in the main library repository while there are similar methods for the basic resources (like pods)</p>

<p>Yes, But not only with java client.
So first use some lib to read yaml and convert it to JSON.
And then USe K8s <a href="https://github.com/kubernetes-client/java/blob/master/kubernetes/src/test/java/io/kubernetes/client/apis/CustomObjectsApiTest.java" rel="nofollow noreferrer">api for Custom Resource Object</a> or what ever you want to do.</p>
