Add note on build pod timeout (#953)

This commit is contained in:
styblope 2019-03-06 22:42:40 +01:00 committed by Knative Prow Robot
parent f36f33e317
commit faa9ef57a1
2 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,7 @@ container for the application.
arguments: arguments:
- name: IMAGE - name: IMAGE
value: docker.io/{DOCKER_USERNAME}/app-from-source:latest value: docker.io/{DOCKER_USERNAME}/app-from-source:latest
timeout: 10m
revisionTemplate: revisionTemplate:
spec: spec:
container: container:
@ -166,6 +167,8 @@ container for the application.
app-from-source-00001-deployment-6d6ff665f9-xfhm5 3/3 Running 0 11s app-from-source-00001-deployment-6d6ff665f9-xfhm5 3/3 Running 0 11s
``` ```
> **Note:** If the build pod never reaches Completed status and terminates after 10 minutes, Kaniko probably didn't finish pulling the build image within the default timeout period. Try increasing the `timeout` value in `service.yaml`.
1. Once you see the deployment pod switch to the running state, press Ctrl+C to 1. Once you see the deployment pod switch to the running state, press Ctrl+C to
escape the watch. Your container is now built and deployed! escape the watch. Your container is now built and deployed!

View File

@ -20,6 +20,7 @@ spec:
arguments: arguments:
- name: IMAGE - name: IMAGE
value: docker.io/{DOCKER_USERNAME}/app-from-source:latest value: docker.io/{DOCKER_USERNAME}/app-from-source:latest
timeout: 10m
revisionTemplate: revisionTemplate:
spec: spec:
container: container: