Kubernetes
add_latency
Add latency to a network link of a Pod
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosk8s.networking.actions |
Name | remove_allow_dns_access |
Return | none |
Usage
JSON
{
"name": "remove-allow-dns-access",
"type": "action",
"provider": {
"type": "python",
"module": "chaosk8s.networking.actions",
"func": "remove_allow_dns_access"
}
}
YAML
name: remove-allow-dns-access
provider:
func: remove_allow_dns_access
module: chaosk8s.networking.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
ns | string | “default” | Yes | Namespace |
Remove the rule that allowed DNS access.
Signature
def remove_allow_dns_access(ns: str = 'default',
secrets: Dict[str, Dict[str, str]] = None):
pass