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