7.6.2.32. k8sCreateResource
It creates a resource in the cluster, based on the provided options. It returns a promise that resolves to the response of the resource created. In case of failure promise gets rejected with HTTP error response.
| Parameter Name | Description |
|---|---|
|
| Which are passed as key-value pairs in the map |
|
| k8s model |
|
| Payload for the resource to be created |
|
| Appends as subpath if provided |
|
| The query parameters to be included in the URL. |