skaffold
skaffold copied to clipboard
Skaffold should output a more clear message when deployStatus check exceeds the timelimit
trafficstars
Expected behavior
- when deployStatusCheck exceeds the time limit, skaffold logs should show something like status check failed
Actual behavior
- skaffold logs shows that deployment failed
Log:
Generating tags...
- skaffold-example -> skaffold-example:v1.38.0-145-g75eabca67-dirty
Checking cache...
- skaffold-example: Found Locally
Starting test...
Tags used in deployment:
- skaffold-example -> skaffold-example:0d72cf6042a04559e8664cb46c1d46d3c2dec8da2e33899f382cf2432e9fd604
Starting deploy...
- pod/getting-started configured
Waiting for deployments to stabilize...
1/1 deployment(s) failed
Information
- Skaffold version: v2 main
- Operating system: MacOS
- Installed via:
- Contents of skaffold.yaml:
apiVersion: skaffold/v2beta29
kind: Config
build:
artifacts:
- image: skaffold-example
deploy:
kubeContext: "minikube"
statusCheckDeadlineSeconds: 1
kubectl:
manifests:
- k8s-*
Steps to reproduce the behavior
- in example/getting-started project run
skaffold runcommand with the above yaml file should be able to see deployment failed . - run kubectl get pod.. should be able to seeing that the pod is actually running.. not failed.