probe Deployment

deployment_fully_available

Wait until the deployment gets into a state where all expected replicas are available.

Run it now
View details
Typeprobe
Modulechaosk8s.deployment.probes
Namedeployment_fully_available
Returnbool

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

NameTypeDefaultRequiredTitleDescription
namestringYesNameName of the deployment
nsstring”default”YesNamespace
label_selectorstringnullNoLabel SelectorUse label selector instead of the name

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