-
Notifications
You must be signed in to change notification settings - Fork 24
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
chore: update node plugin image name and its refs #131
chore: update node plugin image name and its refs #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be some inconsistencies.
pkg/backend/containerd/containerd.go
Outdated
@@ -248,7 +248,7 @@ func (s snapshotMounter) ListSnapshots(ctx context.Context) (ss []backend.Snapsh | |||
} | |||
|
|||
const ( | |||
labelPrefix = "csi-image.warm-metal.tech" | |||
labelPrefix = "container-image.warm-metal.tech" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
labelPrefix = "container-image.warm-metal.tech" | |
labelPrefix = "container-image-csi-driver.warm-metal.tech" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I intentionally kept it container-image
to be consistent with CSIDriver name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, by inconsistency, I meant the whole CSIDriver name itself, anywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works if you want to keep the CSIDriver name container-image.warm-metal.tech
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the CSI developer docs, the CSI driver name is suggested to be of the format mycsidriver.example.com
, in our case the driver name could be container-image
and csi-driver
is a suffix we keep to determine the type of resource/image.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now going ahead with container-image.csi.k8s.io
, check this comment for reference.
@mugdha-adhav only the backwards compatibility build is stuck. That's because we're depending on a tag. Here are the steps that I backtracked and found the issues
|
The backwards compatibility test is stuck, I think the reason is because we are trying to install the older version |
I think there's no way to work around the backwards compatibility test. We could do one of the following -
In the follow up PR we also want to update the helm chart name, which would need re-deployment of the chart. |
I think we should let go of the backwards compatibility test in its current form. |
On a second thought, if we change the CSI driver name, then all the workloads using this driver would need to change their manifests. That would cause significant inconvenience to all our users, especially if it's being used in production. @kitt1987 @vadasambar @MaxFedotov any suggestions on whether we should change the CSI driver and helm chart name? |
Maybe ensure the chart can be installed twice? Once with the old name configured, and once with the new name configured. This allows users to slowly migrate workloads rather then have one big flag day. |
Users could continue using the plugin using the existing name. Once you release the new driver with the new name, and people install the new chart, they'd see a new Driver, which then could be used in PVs, PVCs, or storageClasses. |
Yeah, that makes sense. And as for testing dual installation of the driver, I can make a few changes in our backwards compatibility test to verify that. |
I think you can manually verify once that the driver with different names can be installed side by side. The drivers being installed side by side isn't a continual process and would be one time effort. |
I have been thinking about what's a good name for our CSI driver, I think we should go ahead with |
The current backwards-compatibility tests are failing anyways, we would need to make some changes/fixes to be able to keep them running. I will finish up the fix and request your review once I have my suggested solution working. |
They are failing for a particular reason and that is the name change and they can be fixed in a simple manner:
If the requirement is to fix them well, I think it would be prudent to create a new issue. Otherwise the scope gets blown out of proportion. I would suggest updating the parent issue to reflect the scope of work.
|
Tested the changes by deploying older and newer version of the CSI driver simultaneously. Both the drivers were functional and able to handle the older and newer workloads. Like @mbtamuli mentioned in this comment, if we want to support this test, then we should create a separate issue for it. Hence I am reverting back the changes I made for dual deployment of drivers and disabling backwards-compatibility test. |
@mugdha-adhav Do you plan to block this PR until you receive inputs, indefinitely? Or are you going to go ahead after some date? |
Co-authored-by: Mriyam Tamuli <mbtamuli@gmail.com>
Co-authored-by: Mriyam Tamuli <mbtamuli@gmail.com>
Co-authored-by: Mriyam Tamuli <mbtamuli@gmail.com>
9c96027
to
91b1a91
Compare
Related to #105.
Updating the node plugin image name from
csi-plugin
tocontainer-image-csi-driver
.This change also updates the
storageClass
andCSIDriver
name tocontainer-image.warm-metal.tech
fromcsi-image.warm-metal.tech
.