Kubernetes
delete_nodes
Delete nodes gracefully
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosk8s.node.actions |
Name | create_node |
Return | kubernetes.client.models.v1_node.V1Node |
Usage
JSON
{
"name": "create-node",
"type": "action",
"provider": {
"type": "python",
"module": "chaosk8s.node.actions",
"func": "create_node"
}
}
YAML
name: create-node
provider:
func: create_node
module: chaosk8s.node.actions
type: python
type: action
Arguments
Name | Type | Default | Required |
---|---|---|---|
meta | mapping | null | No |
spec | mapping | null | No |
Due to the way things work on certain cloud providers, you won’t be able to use this meaningfully on them. For instance on GCE, this will likely fail.
Signature
def create_node(
meta: Dict[str, Any] = None,
spec: Dict[str, Any] = None,
secrets: Dict[str, Dict[str, str]] = None
) -> kubernetes.client.models.v1_node.V1Node:
pass