Kubernetes
delete_deployment
Delete a deployment
Wait until the deployment gets into an intermediate state where not all expected replicas are available.
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosk8s.deployment.probes |
Name | deployment_fully_available |
Return | bool |
Usage
JSON
{
"name": "deployment-fully-available",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosk8s.deployment.probes",
"func": "deployment_fully_available",
"arguments": {
"name": ""
}
}
}
YAML
name: deployment-fully-available
provider:
arguments:
name: ""
func: deployment_fully_available
module: chaosk8s.deployment.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
name | string | Yes | Name | Name of the deployment | |
ns | string | “default” | Yes | Namespace | |
label_selector | string | null | No | Label Selector | Use label selector instead of the name |
raise_on_fully_available | bool | true | No | Raise on fully available | Raise when fully available, if unchecked returns a boolean |
timeout | integer | 30 | No | Timeout | Timeout before we consider the operation failed |
Signature
def deployment_fully_available(
name: str,
ns: str = 'default',
label_selector: str = None,
timeout: int = 30,
raise_on_not_fully_available: bool = True,
secrets: Dict[str, Dict[str, str]] = None) -> Optional[bool]:
pass