Skip to content

nutanix-cloud-native/kubectl-betterwait

Repository files navigation

kubectl-betterwait

The motivation for this project is an old outstanding kubectl feature request.

This can be used either as kubectl plugin or as container. The plugin uses the arguments from kubectl wait to first wait for the specified resources to exist by running kubectl get and then runs kubectl wait.

kubectl plugin

kubectl betterwait --for=condition=established --timeout=1m crds/clusters.cluster.x-k8s.io

container image

docker run -it                                \
  -v $KUBECONFIG:/kubeconfig                  \
  --env KUBECONFIG=/kubeconfig                \
  ghcr.io/nutanix-cloud-native/kubectl-betterwait:v1.35.0 \
  --for=condition=established --timeout=1m crds/clusters.cluster.x-k8s.io

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages