Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit on deployment success #52

Open
hjanuschka opened this issue Apr 25, 2019 · 1 comment
Open

Exit on deployment success #52

hjanuschka opened this issue Apr 25, 2019 · 1 comment
Labels
kind/enhancement Improvements or new features

Comments

@hjanuschka
Copy link

i am trying to use "kubespay" (great tool btw :heart) - to watch multiple deployments.

having the following questions.

kubespy  trace deploy krn-dev/api
[ADDED extensions/v1beta1/Deployment]  krn-dev/api
    Rolling out Deployment revision 4
    ✅ Deployment is currently available
    ✅ Rollout successful: new ReplicaSet marked 'available'

ROLLOUT STATUS:
- [Current rollout | Revision 4] [ADDED]  krn-dev/api-7578c97964
    ✅ ReplicaSet is available [1 Pods available of a 1 minimum]
       - [Ready] api-7578c97964-8glps

i'd like to start multiple threads and run one kubespy per deployment.
kubespy should exit once deployment status is ✅

resulting in the thread to quit, once all threads are gone, i can be sure my deploymentS are done.

is there already a option for that scenario?
if not, can you guide me to the direction where to start, i would love to contribute.

@lblackstone
Copy link
Member

Hi @hjanuschka, thanks for checking out Kubespy! It doesn't currently support the scenario you mention, but you might be interested in our Kubernetes provider for Pulumi. It's based on the same tech, and is purpose-built for scenarios like that. No more struggling to figure out if your Deployments are ready! (We built Kubespy while developing the readiness logic that powers the provider).

deploy
https://github.com/pulumi/examples/tree/master/kubernetes-ts-exposed-deployment

@mnlumi mnlumi added the kind/enhancement Improvements or new features label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants