From faa9ef57a1c8fbe50e372132e9ff280e786eed19 Mon Sep 17 00:00:00 2001 From: styblope Date: Wed, 6 Mar 2019 22:42:40 +0100 Subject: [PATCH] Add note on build pod timeout (#953) --- serving/samples/source-to-url-go/README.md | 3 +++ serving/samples/source-to-url-go/service.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/serving/samples/source-to-url-go/README.md b/serving/samples/source-to-url-go/README.md index bc5144386..efa17db65 100644 --- a/serving/samples/source-to-url-go/README.md +++ b/serving/samples/source-to-url-go/README.md @@ -134,6 +134,7 @@ container for the application. arguments: - name: IMAGE value: docker.io/{DOCKER_USERNAME}/app-from-source:latest + timeout: 10m revisionTemplate: spec: container: @@ -166,6 +167,8 @@ container for the application. 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 escape the watch. Your container is now built and deployed! diff --git a/serving/samples/source-to-url-go/service.yaml b/serving/samples/source-to-url-go/service.yaml index 8ced38757..204609684 100644 --- a/serving/samples/source-to-url-go/service.yaml +++ b/serving/samples/source-to-url-go/service.yaml @@ -20,6 +20,7 @@ spec: arguments: - name: IMAGE value: docker.io/{DOCKER_USERNAME}/app-from-source:latest + timeout: 10m revisionTemplate: spec: container: