Class CustomResourceCreateDemoTypeless
- java.lang.Object
-
- io.fabric8.kubernetes.examples.kubectl.equivalents.CustomResourceCreateDemoTypeless
-
public class CustomResourceCreateDemoTypeless extends Object
This example is Java equivalent to `kubectl create -f test-customresource.yaml`. It applies the specified Custom Resource. It assumes that CustomResourceDefinition for the particular CustomResource is already created. Note that with this approach, you don't need to provide POJOs for your custom types but you're also losing type safety since it would be upto the user to manipulate raw CustomResource as HashMaps.
-
-
Constructor Summary
Constructors Constructor Description CustomResourceCreateDemoTypeless()
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
-