Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remote storage class #2693

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Conversation

lkingland
Copy link
Member

Adds the --remote-storage-class flag which allows specifying a storage class name for the PVC used for on-cluster builds.

/kind enhancement

Release Note

- Adds the ability to specify a storage class for remote build volumes with --remote-storage-class

Copy link

knative-prow bot commented Feb 17, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@knative-prow knative-prow bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/enhancement approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 17, 2025
@knative-prow knative-prow bot requested review from dsimansk and nainaz February 17, 2025 04:28
@knative-prow knative-prow bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 17, 2025
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 65.31%. Comparing base (bc6fad7) to head (a047b21).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
pkg/k8s/persistent_volumes.go 40.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2693      +/-   ##
==========================================
+ Coverage   64.05%   65.31%   +1.26%     
==========================================
  Files         131      131              
  Lines       15583    15591       +8     
==========================================
+ Hits         9982    10184     +202     
+ Misses       4651     4418     -233     
- Partials      950      989      +39     
Flag Coverage Δ
e2e-test 35.90% <50.00%> (+0.01%) ⬆️
e2e-test-oncluster 34.13% <75.00%> (+1.34%) ⬆️
e2e-test-oncluster-runtime 28.57% <75.00%> (?)
e2e-test-runtime-go 26.47% <50.00%> (?)
e2e-test-runtime-node 25.88% <50.00%> (?)
e2e-test-runtime-python 25.85% <50.00%> (?)
e2e-test-runtime-quarkus 26.03% <50.00%> (?)
e2e-test-runtime-rust 24.96% <50.00%> (?)
e2e-test-runtime-springboot 25.02% <50.00%> (?)
e2e-test-runtime-typescript 25.98% <50.00%> (?)
integration-tests 51.93% <75.00%> (+2.32%) ⬆️
unit-tests 50.90% <58.33%> (?)
unit-tests-macos-latest ?
unit-tests-ubuntu-latest ?
unit-tests-windows-latest ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@lkingland lkingland marked this pull request as ready for review February 18, 2025 15:31
@knative-prow knative-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 18, 2025
Copy link
Contributor

@gauron99 gauron99 left a comment

Choose a reason for hiding this comment

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

Nice, just a nit about a comment otherwise
/lgtm
/hold for potential update

@@ -141,6 +141,10 @@ type BuildSpec struct {
// when using deployment and remote build process (only relevant when Remote is true).
PVCSize string `yaml:"pvcSize,omitempty"`

// RemoteStorageClass specifies the storage class to use for the volume used
// on-cluster during when built remotely.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// on-cluster during when built remotely.
// on-cluster when built remotely.

i guess this is a left-over word?

@knative-prow knative-prow bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 18, 2025
@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 18, 2025
Copy link

knative-prow bot commented Feb 18, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gauron99, lkingland

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

The pull request process is described here

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

@lkingland lkingland removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 19, 2025
@knative-prow knative-prow bot merged commit 1d26629 into knative:main Feb 19, 2025
39 checks passed
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. kind/enhancement lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants