Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunE2ETests ¶
RunE2ETests checks configuration parameters (specified through flags) and then runs E2E tests using the Ginkgo runner. This function is called on each Ginkgo node in parallel mode.
func WaitForPMEMDriver ¶ added in v0.5.0
WaitForPMEMDriver ensures that the PMEM-CSI driver is ready for use.
A relatively simple check is to check the nodes: if all nodes with "storage: pmem" also have a PMEM-CSI entry in the "csi.volume.kubernetes.io/nodeid" annotation, then kubelet has found the driver, which in turn implies that the node has been registered with the PMEM-CSI controller, because the node driver only makes its csi.sock available after that.
There's just one loophole: the annotation might be from a previous successful registration of the driver. For a fresh cluster as in the CI the check should be good enough.
Types ¶
This section is empty.