Skip to content

[release-1.12] Surface cpu and mem requests forbidden errors (and other ones too) in KSVC creation - #14618

Merged
knative-prow[bot] merged 14 commits into
knative:release-1.12from
knative-prow-robot:cherry-pick-14453-to-release-1.12
Nov 14, 2023
Merged

knative-prow[bot] merged 14 commits into
knative:release-1.12from
knative-prow-robot:cherry-pick-14453-to-release-1.12

Conversation

@knative-prow-robot

Copy link
Copy Markdown
Contributor

This is an automated cherry-pick of #14453

🧹 Now the deployment and deployment's replicaset errors surface to the ksvc status correctly

gabo1208 and others added 14 commits November 13, 2023 20:34
…there is something wrong (like low resources request and limits), since it was just beign propagated when the revision status was nil and the deployment existed

trying to surface replicaset creation errors
…can have Ready Inactive Revisions (scale to zero) * added docs and tests for this and the replicaset failure propagation
…, improved propagation logic + left todos regarding revision conditionset
…and it fails fast, so removing the bits where it can go one way or another in the e2e resource_quota_error_test
@knative-prow knative-prow Bot added the area/API API objects and controllers label Nov 13, 2023
@knative-prow knative-prow Bot added area/test-and-release It flags unit/e2e/conformance/perf test issues for product features size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 13, 2023
@codecov

codecov Bot commented Nov 13, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2659cc3) 86.02% compared to head (baa6219) 86.02%.

Additional details and impacted files
@@              Coverage Diff              @@
##           release-1.12   #14618   +/-   ##
=============================================
  Coverage         86.02%   86.02%           
=============================================
  Files               197      197           
  Lines             14916    14922    +6     
=============================================
+ Hits              12831    12837    +6     
  Misses             1776     1776           
  Partials            309      309           
Files Coverage Δ
pkg/apis/serving/v1/revision_helpers.go 100.00% <100.00%> (ø)
pkg/apis/serving/v1/revision_lifecycle.go 93.10% <ø> (-0.06%) ⬇️
pkg/reconciler/revision/reconcile_resources.go 68.18% <100.00%> (+0.84%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ReToCode ReToCode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2023
@knative-prow

knative-prow Bot commented Nov 14, 2023

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knative-prow-robot, psschwei, ReToCode

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 knative-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 14, 2023
@knative-prow
knative-prow Bot merged commit d638f49 into knative:release-1.12 Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers area/test-and-release It flags unit/e2e/conformance/perf test issues for product features lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants