You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I updated a Skaffold and faced the unfortunate issue.
Skaffold doesn't print error from kubernetes deployment.
I had broken CronJob definition (restartPolicy was missing) and tool keeps hiding errors from me. I had to do it manually with kubectl to find the actual error.
The output of skaffold run:
Actual behavior
Starting deploy...
configmap "xxxxx" unchanged
configmap "xxxx" unchanged
deployment "xxx" configured
service "xxxx" unchanged
Error: deploy: deploy step: deploying manifests: exit status 1
Usage:
skaffold run [flags]
Flags:
-f, --filename string Filename or URL to the pipeline file (default "skaffold.yaml")
-h, --help help for run
-p, --profile stringArray Activate profiles by name
-t, --tag string The optional custom tag to use for images which overrides the current Tagger configuration
--toot Emit a terminal beep after the deploy is complete
Global Flags:
-v, --verbosity string Log level (debug, info, warn, error, fatal, panic (default "warning")
### Information
Expected behavior
Starting deploy...
configmap "xxxx" unchanged
configmap "xxxx" unchanged
deployment "xxx" configured
service "xxxx" unchanged
Error: deploy: deploy step: deploying manifests: exit status 1
The CronJob "xxxxx" is invalid: spec.jobTemplate.spec.template.spec.restartPolicy: Unsupported value: "Always": supported values: "OnFailure", "Never"
Skaffold version: 0.6.0
Steps to reproduce the behavior
Deploy broken CronJob definition
The text was updated successfully, but these errors were encountered:
Hello,
I updated a Skaffold and faced the unfortunate issue.
Skaffold doesn't print error from kubernetes deployment.
I had broken CronJob definition (
restartPolicy
was missing) and tool keeps hiding errors from me. I had to do it manually withkubectl
to find the actual error.The output of
skaffold run
:Actual behavior
Expected behavior
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: