🧑Namespace
Default version: v1
Example
$ns = $this->cluster
->namespace()
->setName('staging')
->create();
Namespace Status
The Status API is available to be accessed for fresh instances:
$ns->refresh();
if ($ns->isActive()) {
//
}
You can also check if the namespace is terminating:
if ($ns->isTerminating()) {
//
}
Last updated
Was this helpful?