Kubernetes
delete_deployment
Delete a deployment
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosk8s.deployment.actions |
Name | rollout_deployment |
Return | None |
Usage
JSON
{
"name": "rollout-deployment",
"type": "action",
"provider": {
"type": "python",
"module": "chaosk8s.deployment.actions",
"func": "rollout_deployment"
}
}
YAML
name: rollout-deployment
provider:
func: rollout_deployment
module: chaosk8s.deployment.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
name | string | Yes | Name | Name of the deployment | |
ns | string | “default” | Yes | Namespace |
Signature
def rollout_deployment(name: str = None,
ns: str = 'default',
secrets: Dict[str, Dict[str, str]] = None):
pass