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

support for configuring multi PVs for Function #605

Merged
merged 5 commits into from
Mar 13, 2023

Conversation

tpiperatgod
Copy link
Contributor

(If this PR fixes a github issue, please add Fixes #<xyz>.)

Fixes #603

(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)

Master Issue: #

Motivation

Explain here the context, and why you're making that change. What is the problem you're trying to solve.

Modifications

  • add spec.volumeClaimTemplates to Function CRD
  • remove the default value of spec.replicas
  • add generateEmbeddedObjectMeta=true

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@tpiperatgod tpiperatgod requested review from nlu90, freeznet and a team as code owners March 10, 2023 09:04
@github-actions github-actions bot added the doc-required This pr needs a document label Mar 10, 2023
jiangpengcheng
jiangpengcheng previously approved these changes Mar 11, 2023
@jiangpengcheng
Copy link
Member

@tpiperatgod, please resolve the conflicts

Signed-off-by: laminar <tpiperatgod@gmail.com>
Signed-off-by: laminar <tpiperatgod@gmail.com>
Signed-off-by: laminar <tpiperatgod@gmail.com>
Signed-off-by: laminar <tpiperatgod@gmail.com>
Signed-off-by: laminar <tpiperatgod@gmail.com>
@jiangpengcheng jiangpengcheng merged commit 7b7e15f into streamnative:master Mar 13, 2023
@tpiperatgod tpiperatgod deleted the issue-603 branch March 13, 2023 02:30
jiangpengcheng pushed a commit to jiangpengcheng/function-mesh that referenced this pull request Mar 13, 2023
* support for configuring multi PVs for Function

Signed-off-by: laminar <tpiperatgod@gmail.com>

* remove default `spec.replicas`

Signed-off-by: laminar <tpiperatgod@gmail.com>

* add e2e case

Signed-off-by: laminar <tpiperatgod@gmail.com>

* fix

Signed-off-by: laminar <tpiperatgod@gmail.com>

* fix

Signed-off-by: laminar <tpiperatgod@gmail.com>

---------

Signed-off-by: laminar <tpiperatgod@gmail.com>
@Huanli-Meng Huanli-Meng added doc-added and removed doc-required This pr needs a document labels Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support to config volumeClaimTemplates in Function CRD
4 participants