Open jenting opened 2 years ago
The PVC feature currently is an experimental/beta feature in the SaaS solution. Probably the self-hosted customer would never enable this PVC feature in the end until all our code by default ships to use PVC in the end.
I'm considering that this issue could be implemented after we ship to use PVC by default. Or we could check the CSI is working as expected once the user's installer config configures the storageClass and snapshotClass.
WDYT? @kylos101
Hi @jenting ,
May I ask a favor? Could you brainstorm this with @Pothulapati to see what pattern might make sense to do cluster validation for CSI? I ask because I know the installer does some prechecks, but so does KOTS/replicated, and I'm not sure what makes the most sense. For example, can we do in one spot (installer), and have it work in both (kots too), or does it need to be coded separately for both?
Either way, yes, I think this could be implemented later, closer to when we are thinking about making PVC default. To be honest though, I think that is far away (probably 3-6 months). For example, we're not sure how fast CSI is in AWS or Azure, and would need months to update those drivers (potentially) if they are slow.
👋🏼
Just had a closer look at the issue. Recently, Any kind of tests that we want to surface to the user have been buil in kots
, as they are surfaced in a much more user friendly way! We already have a check for the default storage class.
The tests that are added in the installer
should also be surfaced through the kots
install but not in a user friendly way, and the user has to figure out on their own on what went wrong.
Either way, yes, I think this could be implemented later, closer to when we are thinking about making PVC default
Totally agree, and in kots
we also have a way to warn users. So, We could even start warning
users ahead before it becomes the default.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe
Add a test to ensure that the CSI is working as expected prior to installing Gitpod
Describe the behaviour you'd like
Have a pre-installed/preflight test to ensure that the CSI is working as expected prior to installing Gitpod The required CSI criteria are similar to #10201, here are the test criteria:
Delete
policy? 🤔Delete
policy? 🤔csi-test-pod
with PVCcsi-test-pvc
, and write some data to the PVCcsi-test-pvc
.csi-test-vs
for the PVCcsi-test-pvc
, it can back up the snapshot success, and the VolumeSnapshotContent be created.csi-test-pod
and PVCcsi-test-pvc
.csi-test-pod-restore
and PVCcsi-test-pvc-restore
with data source as VolumeSnapshotcsi-test-vs
, and check the PVCcsi-test-pvc-restore
with correct data content.Describe alternatives you've considered
N/A
Additional context
10201
7901