action Node

uncordon_node

Uncordon nodes matching the given label name, so that pods can be scheduled on them again

Run it now
View details
Typeaction
Modulechaosk8s.node.actions
Nameuncordon_node
ReturnNone

Usage

JSON

{
  "name": "uncordon-node",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosk8s.node.actions",
    "func": "uncordon_node"
  }
}

YAML

name: uncordon-node
provider:
  func: uncordon_node
  module: chaosk8s.node.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
namestringNoNameSpecifiy a node name or a label selector below
label_selectorstringNoLabel SelectorSelectors to target the appropriate nodes

Signature

def uncordon_node(name: str = None,
                  label_selector: str = None,
                  secrets: Dict[str, Dict[str, str]] = None):
    pass