MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / kubectl

Function kubectl

misc/python/materialize/cli/orchestratord.py:470–474  ·  view source on GitHub ↗
(*args: str, cluster: str, **subprocess_args)

Source from the content-addressed store, hash-verified

468
469
470def kubectl(*args: str, cluster: str, **subprocess_args):
471 return subprocess.check_output(
472 ["kubectl", "--context", f"kind-{cluster}", *args],
473 **subprocess_args,
474 )
475
476
477T = TypeVar("T")

Callers 3

resetFunction · 0.85
environmentFunction · 0.85
env_kubectlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected