mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
print deployment YAML on timeout
This commit is contained in:
parent
2ba2222f4e
commit
8be30879f6
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ monitor_timeout() {
|
|||
echo "Timeout ${timeout} exceeded" >&2
|
||||
kubectl --namespace "${namespace}" get pods
|
||||
docker images | grep "kyverno"
|
||||
kubectl --namespace "${namespace}" describe deployment "${deployment}" -o yaml
|
||||
kubectl --namespace "${namespace}" logs -l app=kyverno
|
||||
kill "${wait_pid}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue