-
Notifications
You must be signed in to change notification settings - Fork 199
Improve RWX volumes with VM service VMs performace during webhook validation #3472
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
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: skogta The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @skogta. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
196734c
to
176995d
Compare
176995d
to
af8ab35
Compare
/ok-to-test |
ok-to-test-wcp |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
ok-to-test-wcp |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
FAILED --- Jenkins Build #57 |
ok-to-test-wcp |
FAILED --- Jenkins Build #58 |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
SUCCESS --- Jenkins Build #59 |
@skogta In this PR, I see you are adding labels for vmname and pvc name on CNSFileAccessConfig CR instanced if they are created by DevOps. and at the time of creating new CNSFileAccessConfig CR instance, we are doing look up using these labels to ensure duplicate CNSFileAccessConfig CR are not created. but the goal here is to ensure no duplicate CNSFileAccessConfig CR should be created on the system. With this approach, I think DevOps will able to create duplicate CNSFileAccessConfig CR even if PVCSI has created CNSFileAccessConfig for particular node vm and PVC. Deleting such CR can end up removing ACL for guest node. Can we prevent this from happening? |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
SUCCESS --- Jenkins Build #66 |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
FAILED --- Jenkins Build #69 |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
SUCCESS --- Jenkins Build #109 |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
FAILED --- Jenkins Build #117 |
FAILED --- Jenkins Build #127 |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
FAILED --- Jenkins Build #133 |
af8ab35
to
17ecba1
Compare
f20da69
to
48a2c70
Compare
ok-to-test-wcp |
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
ok-to-test-tkg |
SUCCESS --- Jenkins Build #301 |
48a2c70
to
553ef68
Compare
Triggering CSI-WCP Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
SUCCESS --- Jenkins Build #146 |
Triggering CSI-TKG Pre-checkin Pipeline for this PR... Job takes approximately an hour to complete |
SUCCESS --- Jenkins Build #1 |
What this PR does / why we need it:
Due to the validation being done in webhook, the CPU performance has degraded quite a bit.
To improve this we can do these 2 things:
Testing done:
Created by PVCSI:
No lables got added.
Created by devops user - valid:
Labels got added.
Tried to created another CR with different name but same VM and PVC:
Error from server: error when creating "cfc.yaml": admission webhook "validation.csi.vsphere.vmware.com" denied the request: CnsFileAccessConfig rwm-vm-1 already exists for VM vm-2 and PVC rwm-pvc.
Deleted the CR successfully.
Created by devops user with TKG VM:
Labels got added but failure observed during ACL configuration.
Successful VKS pipline: #3472 (comment)
WPC precheckin pipeline: #3472 (comment) failure is due to bug: 3560225 - unrelated to this change.