Kubernetes
create_cluster_custom_object
Create a cluster wide custom object
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosk8s.crd.actions |
Name | delete_custom_object |
Return | none |
Usage
JSON
{
"name": "delete-custom-object",
"type": "action",
"provider": {
"type": "python",
"module": "chaosk8s.crd.actions",
"func": "delete_custom_object",
"arguments": {
"group": "",
"version": "",
"plural": "",
"name": ""
}
}
}
YAML
name: delete-custom-object
provider:
arguments:
group: ''
name: ''
plural: ''
version: ''
func: delete_custom_object
module: chaosk8s.crd.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
ns | string | “default” | Yes | Namespace | |
group | string | Yes | Group | ||
version | string | Yes | Version | ||
plural | string | Yes | Plural |
Delete a namespaced custom object.
Signature
def delete_custom_object(
group: str,
version: str,
plural: str,
name: str,
ns: str = 'default',
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass