CustomObjectsApi Using yaml creation error, can give an example?
See original GitHub issue CustomObjectsApi apiInstance = new CustomObjectsApi();
Object result = apiInstance.createNamespacedCustomObject("monitoring.coreos.com", "v1", "monitoring", "prometheusrules", "ops-prometheus-rules", jsonObject.toString());
System.out.println(result);
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
python/CustomObjectsApi.md at master - kubernetes - GitHub
ApiClient(configuration) as api_client: # Create an instance of the API class ... An invalid or unrecognized dryRun directive will result in an error ......
Read more >Python Examples of kubernetes.client.CustomObjectsApi
This page shows Python examples of kubernetes.client.CustomObjectsApi.
Read more >Python Kubernetes Client: equivalent of kubectl get [custom ...
So how do I go about getting the same information back but then with the kubernetes client? Yaml looks like this for example:...
Read more >Experimental: Configure your applications with ZAPP files - IBM
Then, at some point we would like to provide extensibility APIs and open ... ZAPP file as a YAML file or as a...
Read more >My Journey With Spark On Kubernetes... In Python (3/3)
kubectl create -f k8s/python-client-sa-rbac.yaml ... With the Kubernetes Python Client, you can create and manage Kubernetes objects ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yue9944882/java-model-gen Download very slow
error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/07/07c8579cc40a5c7f09add907e55870bfdbaebd6c4cdca204fd1892f7e4f72cd8/data?verify=1572450917-CpD3jJH0srTAUC7df8tEEuTAbUQ%3D: read tcp 172.17.8.17:50370->104.18.124.25:443: read: connection reset by peer
referenceThe YAML loading code doesn’t know how to load custom objects. You would need to manually update the relevant mapping yourself using the function here:
https://github.com/kubernetes-client/java/blob/master/util/src/main/java/io/kubernetes/client/util/Yaml.java#L149
I’m going to close this as I don’t think there is much more we can do. Please feel free to re-open with the
/reopen
command if you have more info or need more help.