Wait for a service to be ready
kn service wait NAME
# Waits on a service 'svc'
kn service wait svc
# Waits on a service 'svc' with a timeout
kn service wait svc --wait-timeout 10
# Waits on a service 'svc' with a timeout and wait window
kn service wait svc --wait-timeout 10 --wait-window 1
-h, --help help for wait
-n, --namespace string Specify the namespace to operate in.
--wait-timeout int Seconds to wait before giving up on waiting for service to be ready. (default 600)
--wait-window int Seconds to wait for service to be ready after a false ready condition is returned (default 2)
--as string username to impersonate for the operation
--as-group stringArray group to impersonate for the operation, this flag can be repeated to specify multiple groups
--as-uid string uid to impersonate for the operation
--cluster string name of the kubeconfig cluster to use
--config string kn configuration file (default: ~/.config/kn/config.yaml)
--context string name of the kubeconfig context to use
--kubeconfig string kubectl configuration file (default: ~/.kube/config)
--log-http log http traffic
- kn service - Manage Knative services