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

update resource/privileged of juicefs #2130

Merged
merged 3 commits into from
Sep 15, 2022

Conversation

zwwhdls
Copy link
Member

@zwwhdls zwwhdls commented Sep 14, 2022

Signed-off-by: zwwhdls zww@hdls.me

Ⅰ. Describe what this PR does

make privileged and resource of juicefs worker setable

Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #2130 (d21d2ce) into master (171b52d) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master    #2130      +/-   ##
==========================================
- Coverage   52.72%   52.69%   -0.03%     
==========================================
  Files         298      298              
  Lines       21726    21712      -14     
==========================================
- Hits        11454    11442      -12     
+ Misses       9048     9043       -5     
- Partials     1224     1227       +3     
Impacted Files Coverage Δ
pkg/ddc/juicefs/transform_resources.go 63.63% <50.00%> (+2.09%) ⬆️
pkg/ddc/juicefs/transform.go 72.72% <100.00%> (+0.85%) ⬆️
pkg/ddc/goosefs/metadata.go 60.98% <0.00%> (-3.30%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -54,6 +54,7 @@ type Configs struct {
}

type Worker struct {
NotPrivileged bool `yaml:"notPrivileged,omitempty"`
Copy link
Member

@TrafalgarZZZ TrafalgarZZZ Sep 14, 2022

Choose a reason for hiding this comment

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

This supposed to be unPrivileged?

Copy link
Collaborator

Choose a reason for hiding this comment

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

How about using privileged ? unPrivileged is not straight forward.

@TrafalgarZZZ
Copy link
Member

@zwwhdls Please fix DCO for the newest commit. The code lgtm.

Signed-off-by: zwwhdls <zww@hdls.me>
Signed-off-by: zwwhdls <zww@hdls.me>
@@ -124,8 +124,10 @@ spec:
- containerPort: 9567
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please update 1. chart version 2. change log , so we can keep them on track.

Signed-off-by: zwwhdls <zww@hdls.me>
Copy link
Member

@TrafalgarZZZ TrafalgarZZZ left a comment

Choose a reason for hiding this comment

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

LGTM

@cheyang cheyang merged commit bcfe350 into fluid-cloudnative:master Sep 15, 2022
cheyang pushed a commit to cheyang/fluid that referenced this pull request Jan 2, 2023
* update resource/privileged of juicefs

Signed-off-by: zwwhdls <zww@hdls.me>

* fix resource

Signed-off-by: zwwhdls <zww@hdls.me>

* update changelog of chart & update privileged

Signed-off-by: zwwhdls <zww@hdls.me>

Signed-off-by: zwwhdls <zww@hdls.me>
cheyang pushed a commit to cheyang/fluid that referenced this pull request Jan 2, 2023
* update resource/privileged of juicefs

Signed-off-by: zwwhdls <zww@hdls.me>

* fix resource

Signed-off-by: zwwhdls <zww@hdls.me>

* update changelog of chart & update privileged

Signed-off-by: zwwhdls <zww@hdls.me>

Signed-off-by: zwwhdls <zww@hdls.me>
Signed-off-by: cheyang <cheyang@163.com>
cheyang added a commit that referenced this pull request Jan 2, 2023
* update resource/privileged of juicefs

Signed-off-by: zwwhdls <zww@hdls.me>

* fix resource

Signed-off-by: zwwhdls <zww@hdls.me>

* update changelog of chart & update privileged

Signed-off-by: zwwhdls <zww@hdls.me>

Signed-off-by: zwwhdls <zww@hdls.me>
Signed-off-by: cheyang <cheyang@163.com>

Signed-off-by: zwwhdls <zww@hdls.me>
Signed-off-by: cheyang <cheyang@163.com>
Co-authored-by: Weiwei <zww@hdls.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants