MODULE
PYTEST_HELM_CHARTS.K8S.DAEMON_SET
Functions
wait_for_daemon_sets_to_run(kube_client,daemon_set_names,daemon_sets_namespace,timeout_sec,missing_ok)(list of DaemonSet) — Block until all the DaemonSets are running or timeout is reached.</>
function
pytest_helm_charts.k8s.daemon_set.wait_for_daemon_sets_to_run(kube_client, daemon_set_names, daemon_sets_namespace, timeout_sec, missing_ok=False)
Block until all the DaemonSets are running or timeout is reached.
Parameters
kube_client(HTTPClient) — client to use to connect to the k8s clusterdaemon_set_names(list of str) — a list of DaemonSet names to checkdaemon_sets_namespace(str) — namespace where all the DaemonSets are created (single namespace for all resources)timeout_sec(int) — timeout for the callmissing_ok(bool, optional) — whenTrue, the function ignores that some of the objects listed in thedaemon_set_namesdon't exist in k8s API and waits for them to show up; whenFalse, an ObjectNotFound exception is raised.
Returns (list of DaemonSet)
The list of DaemonSet resources with all the objects listed in daemon_set_names included.
Raises
TimeoutError— when timeout is reached.pykube.exceptions.ObjectDoesNotExist— whenmissing_ok == Falseand one of the objects listed indaemon_set_namescan't be found in k8s API