Skip to main content
Wait for a workload resource to reach a condition. The —for condition is required. The —timeout flag defaults to 5m. Set —timeout=0s to evaluate the current resource snapshot only and exit without watching for changes. Supported resources and conditions:
  • pod: started, ready, complete, deleted
  • sandbox: started, ready, deleted
  • job: started, complete, deleted
  • deployment: started, ready, deleted
  • replicaset: started, ready, deleted
Resource aliases match the rest of the CLI:
  • deployment, deployments, deploy
  • replicaset, replicasets, rs
  • pod, pods
  • job, jobs
  • sandbox, sandboxes

Usage

idyl wait <resource> <name>|<resource>/<name>

Commands

CommandDescription
idyl wait deploymentWait for a deployment condition
idyl wait jobWait for a job condition
idyl wait podWait for a pod condition
idyl wait replicasetWait for a replicaset condition
idyl wait sandboxWait for a sandbox condition

Flags

FlagDescription
--for <string>Required. Condition to wait for
--timeout <duration>Maximum time to wait; 0s checks the current resource snapshot only Default: 5m0s.

Inherited flags

FlagDescription
-a <string>, --account-id <string>Account ID to use (overrides context)
-c <string>, --context <string>Use specific context
--homedir <string>Override config directory (default: ~/.idyl)
-n <string>, --namespace <string>Namespace to use
-o <string>, --output <string>Output format (json|yaml)
-p <string>, --profile <string>Override profile
--realm <string>Override realm
--subnet <string>Override context subnet for this command

Examples

idyl wait pod web-abc --for=ready
idyl wait sandbox/dev --for=ready --timeout=2m
idyl wait job migrate --for=complete --timeout=10m
idyl wait deployment api --for=ready
idyl wait replicaset api-rs --for=ready
idyl wait sandbox dev --for=deleted --timeout=0s

Subcommand reference

idyl wait deployment

Wait for a deployment condition

Usage

idyl wait deployment <name>

Aliases

  • deployments
  • deploy

idyl wait job

Wait for a job condition

Usage

idyl wait job <name>

Aliases

  • jobs

idyl wait pod

Wait for a pod condition

Usage

idyl wait pod <name>

Aliases

  • pods

idyl wait replicaset

Wait for a replicaset condition

Usage

idyl wait replicaset <name>

Aliases

  • replicasets
  • rs

idyl wait sandbox

Wait for a sandbox condition

Usage

idyl wait sandbox <name>

Aliases

  • sandboxes