Skip to content

Remove periodSeconds from examples#2515

Merged
knative-prow-robot merged 1 commit intoknative:masterfrom
antoineco:fix-routing-go-example
Jun 5, 2020
Merged

Remove periodSeconds from examples#2515
knative-prow-robot merged 1 commit intoknative:masterfrom
antoineco:fix-routing-go-example

Conversation

@antoineco
Copy link
Copy Markdown
Contributor

Proposed Changes

  • Fixes broken serving examples.

Since knative/serving#4731, periodSeconds also requires failureThreshold and timeoutSeconds to be set. The best is simply not to set it, otherwise our examples fail with

admission webhook "resource.webhook.serving.knative.dev" denied the request: mutation failed: expected 1 <= 0 <= 2147483647: spec.template.spec.containers[0].readinessProbe.failureThreshold, spec.template.spec.containers[0].readinessProbe.timeoutSeconds

Ref:
knative/serving#4780
knative/serving#5732

Since knative/serving#4731, periodSeconds also requires
failureThreshold and timeoutSeconds to be set.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label May 27, 2020
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 27, 2020
@mpetason
Copy link
Copy Markdown
Contributor

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label May 27, 2020
@csantanapr
Copy link
Copy Markdown
Member

/lgtm

@csantanapr
Copy link
Copy Markdown
Member

/approve

@antoineco
Copy link
Copy Markdown
Contributor Author

/assign @carieshmarie @samodell @RichieEscarez

Copy link
Copy Markdown
Member

@evankanderson evankanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: antoineco, csantanapr, evankanderson

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit c70670e into knative:master Jun 5, 2020
@antoineco antoineco deleted the fix-routing-go-example branch September 4, 2020 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants