-
Notifications
You must be signed in to change notification settings - Fork 27
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
Don't block waiting for individual deployments #83
base: master
Are you sure you want to change the base?
Conversation
Waits until all resources have been created / updated before checking the roll-out of a deployment. This way it is possible to deploy quicker as deployments can roll-out parallel to one another.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would prefer that to be a bool flag option, say skip-watch
or similar. By default watching should be enabled but could be skipped with that flag set.
@marcinc: The PR doesn't actually skip the watching it just defers it until the rest of the Kubernetes resources in a multi-resource YAML file have been created / updated. |
hi @daniel-ac-martin, I like the feature but do kinda agree with @marcinc .. It fundamentally changes deployment behavior and should be gated with a flag .. You go even go the full hog and thread the watchResource .. or perhaps another PR |
Okay. Well I can add a flag if you like. But it's worth pointing out that supporting both behaviours will complicate the code a little. In terms of changing the deployment behaviour it's worth bearing in mind that it wasn't too long ago that multi-resource YAML files didn't support watching. Are many people using multi-resource YAML files? If we do add a flag it also raises the question of what the default behaviour should be? |
hey @daniel-ac-martin ... maybe i'm misreading the code but from a glance ...
throwing aside the yaml splitting .. if I have/had multiple deployments all of them are going to be deployed in one iteration and checked afterwards ... rather than before which was deploy and check, deploy and check .. etc which is a pretty big change |
Ah, I didn't think about multiple files being deployed at once. (Didn't know that was supported!) |
Waits until all resources have been created / updated before checking
the roll-out of a deployment. This way it is possible to deploy quicker
as deployments can roll-out parallel to one another.
Addresses #82.