Skip to content

Exit on deployment success #52

@hjanuschka

Description

@hjanuschka

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions