-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Expected behavior
When using skaffold verify
with the kubernetesCluster
and the pod fails immediately, skaffold should give useful logs in the CLI or the Job and Pod should persist on the cluster so that they can be inspected.
I'd prefer to see the logs in the CLI, but if that is infeasible, it would be nice to have an option to keep skaffold from deleting the job and pod.
Actual behavior
Immediate skaffold verify
failure results in no useful logs and there is no job or pod in the cluster. No logs are found in the GCP cloud logging console.
$ skaffold verify -a artifacts.txt
Tags used in verification:
- <redacted> -> <redacted>:6489f2d-dirty
1 error(s) occurred:
* verify test failed: "<redacted>" running job "<redacted>" errored during run
Information
- Skaffold version: v2.13.0
- Operating system: Linux
- Installed via: skaffold.dev
- Contents of skaffold.yaml: (unfortunately proprietary)
- K8s cluster: GKE
Metadata
Metadata
Assignees
Labels
No labels