From 0e731c1211cfc480fa800a6c5c8f8beb85a9fa9b Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Wed, 27 May 2020 15:43:34 +0200 Subject: [PATCH] Remove periodSeconds from examples Since knative/serving#4731, periodSeconds also requires failureThreshold and timeoutSeconds to be set. --- docs/serving/samples/knative-routing-go/sample.yaml | 2 -- docs/serving/samples/rest-api-go/sample.yaml | 1 - docs/serving/samples/traffic-splitting/release_sample.yaml | 1 - docs/serving/samples/traffic-splitting/split_sample.yaml | 1 - docs/serving/samples/traffic-splitting/updated_sample.yaml | 1 - 5 files changed, 6 deletions(-) diff --git a/docs/serving/samples/knative-routing-go/sample.yaml b/docs/serving/samples/knative-routing-go/sample.yaml index 1566ae5062..b14ce8d269 100644 --- a/docs/serving/samples/knative-routing-go/sample.yaml +++ b/docs/serving/samples/knative-routing-go/sample.yaml @@ -31,7 +31,6 @@ spec: httpGet: path: / initialDelaySeconds: 3 - periodSeconds: 3 --- apiVersion: serving.knative.dev/v1 kind: Service @@ -52,4 +51,3 @@ spec: httpGet: path: / initialDelaySeconds: 3 - periodSeconds: 3 diff --git a/docs/serving/samples/rest-api-go/sample.yaml b/docs/serving/samples/rest-api-go/sample.yaml index 708a78b6b1..a5e36d0333 100644 --- a/docs/serving/samples/rest-api-go/sample.yaml +++ b/docs/serving/samples/rest-api-go/sample.yaml @@ -30,5 +30,4 @@ spec: httpGet: path: / initialDelaySeconds: 0 - periodSeconds: 3 diff --git a/docs/serving/samples/traffic-splitting/release_sample.yaml b/docs/serving/samples/traffic-splitting/release_sample.yaml index 20b52ea9a1..b0578d180b 100644 --- a/docs/serving/samples/traffic-splitting/release_sample.yaml +++ b/docs/serving/samples/traffic-splitting/release_sample.yaml @@ -31,7 +31,6 @@ spec: httpGet: path: / initialDelaySeconds: 0 - periodSeconds: 3 traffic: - tag: current revisionName: stock-service-example-first diff --git a/docs/serving/samples/traffic-splitting/split_sample.yaml b/docs/serving/samples/traffic-splitting/split_sample.yaml index 3099793635..a499f70c7a 100644 --- a/docs/serving/samples/traffic-splitting/split_sample.yaml +++ b/docs/serving/samples/traffic-splitting/split_sample.yaml @@ -31,7 +31,6 @@ spec: httpGet: path: / initialDelaySeconds: 0 - periodSeconds: 3 traffic: - tag: current revisionName: stock-service-example-first diff --git a/docs/serving/samples/traffic-splitting/updated_sample.yaml b/docs/serving/samples/traffic-splitting/updated_sample.yaml index d32d3c38bb..1f971a862e 100644 --- a/docs/serving/samples/traffic-splitting/updated_sample.yaml +++ b/docs/serving/samples/traffic-splitting/updated_sample.yaml @@ -31,7 +31,6 @@ spec: httpGet: path: / initialDelaySeconds: 0 - periodSeconds: 3 traffic: - tag: current revisionName: stock-service-example-first