Skip to content

Commit 3c6459b

Browse files
committed
fix: wait for DNS
Signed-off-by: Jan Pokorný <JenomPokorny@gmail.com>
1 parent 4ed7bd4 commit 3c6459b

File tree

1 file changed

+16
-0
lines changed
  • apps/agentstack-cli/src/agentstack_cli/commands

1 file changed

+16
-0
lines changed

apps/agentstack-cli/src/agentstack_cli/commands/platform.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,22 @@ async def start(
605605
],
606606
"Installing Helm",
607607
)
608+
await run_in_vm(
609+
vm_name,
610+
[
611+
"kubectl",
612+
f"--kubeconfig={_kubeconfig(platform)}",
613+
"wait",
614+
"--for=condition=Ready",
615+
"pod",
616+
"-n",
617+
"openshift-dns",
618+
"-l",
619+
"dns.operator.openshift.io/daemonset-dns=default",
620+
"--timeout=180s",
621+
],
622+
"Waiting for DNS to be ready",
623+
)
608624

609625
# Deploy
610626
await run_in_vm(

0 commit comments

Comments
 (0)