-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add status-check option to the skaffold.yaml #4904
Comments
I think this is pretty reasonable, and seems easy enough to implement. PRs welcome! :) |
making triage-party happy! |
If this issue is still available to be worked on, please feel free to assign me. Thanks! |
@maggieneterval feel free to take it! |
I looked into this a bit and wanted to confirm the intended behavior before submitting a PR. Existing behavior:
New behavior:
The existing skaffold healthcheck is enabled by default, and must be explicitly disabled by using the Thank you! |
@maggieneterval The above approach looks good to me. |
Hi @tejal29, thanks for the reply! I opened #5706. Upon further investigation, it appears that there is no way to distinguish a true from an unset Updated new behavior:
*The healthcheck will be disabled when the |
* Add StatusCheck field to skaffold.yaml (#4904) * Change StatusCheck field from bool to *bool * Fail if one pipeline has StatusCheck set to true and another has it set to false * Move new statusCheck field from v2beta15.json to v2beta16.json * Short circuit the `enabled && disabled` StatusCheck check
Would like to request that status-check be included in the skaffold.yaml for ease of development. I currently updated to the latest version from a very old version and was confused as to why I had to look at my k8s logs to find out what had happened to my pods until I discovered that the current version of skaffold has status-check set to true by default. I believe this is just fine but now I have to type --status-check=false everytime I want to see a crashed pod log when I am running skaffold dev. It would be great if that flag could be included in the skaffold.yaml so that one can implicitly set it for dev and debug.
The text was updated successfully, but these errors were encountered: