-
Notifications
You must be signed in to change notification settings - Fork 191
Changes to use capabilities CR on supervisor and guest cluster instead of using deprecated ConfigMap #3279
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
Hi @vdkotkar. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vdkotkar 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 |
@vdkotkar Restarting CSI will add load to the system since it has to recache objects into memory, unnecessary reconcilers running on all CRs, etc. Could you provide some reasoning for why we should restart CSI and not dynamically enable a feature without restart? |
pkg/csi/service/common/commonco/k8sorchestrator/k8sorchestrator.go
Outdated
Show resolved
Hide resolved
pkg/csi/service/common/commonco/k8sorchestrator/k8sorchestrator.go
Outdated
Show resolved
Hide resolved
If feature is able to dynamically enable required things without restart, then that can be done. For new features, we will encourage it. Specifically for workload-domain-isolation feature, we were restarting CSI driver before these changes as well, so I kept the same behaviour (this will happen once in a while in cases of upgrade etc.). I have mentioned it in comments as well. |
257602f
to
f1f1502
Compare
deprecated ConfigMap ==> refers to wcp capability configmap right ? The csi-feature-states configmap will continue to remain in supervisor cluster, correct ? |
pkg/csi/service/common/commonco/k8sorchestrator/k8sorchestrator.go
Outdated
Show resolved
Hide resolved
pkg/csi/service/common/commonco/k8sorchestrator/k8sorchestrator.go
Outdated
Show resolved
Hide resolved
pkg/csi/service/common/commonco/k8sorchestrator/k8sorchestrator.go
Outdated
Show resolved
Hide resolved
f1f1502
to
a34d06b
Compare
/ok-to-test |
Yes, wcp capability ConfigMap is deprecated. csi-feature-states configMap is still required for CSI specific feature changes. |
… deprecated ConfigMap
a34d06b
to
770307e
Compare
What this PR does / why we need it:
Changes to use capabilities CR on supervisor and guest cluster instead of using deprecated ConfigMap for getting FSS values.
Here is the overview of changes:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Testing done:
Verified changes on Supervisor and Guest cluster. Verified that we can fetch capability values by reading Capabilities CR from both supervisor and guest clusters.
CSI controller logs:
Supervisor:
Guest:
WCP pre-check-in pipeline with changes:
https://jenkins-vcf-csifvt.devops.broadcom.net/view/Pre-Checkin-CSI/job/csi-wcp-precheckin/160/
GC pre-check-in pipeline with changes:
https://jenkins-vcf-csifvt.devops.broadcom.net/view/Pre-Checkin-CSI/job/gc-csi-precheckin/157/
Special notes for your reviewer:
Release note: