e2e

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

E2E Testing

E2E test verifies the funcitonality of IBM PowerVS Block CSI Driver in the context of Kubernetes. It exercises driver feature e2e including static provisioning, dynamic provisioning, volume scheduling, mount options, etc.

Notes

Tests marked with [env] require specific environmental variables to be set, if not set these tests will be skipped.

export IBMCLOUD_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Tests marked with [labels] requires specific labels to be set for each node of the cluster, if not set these tests will be skipped.

kubectl label nodes <node-name> powervs.kubernetes.io/cloud-instance-id=<GUID of the workspace>
kubectl label nodes <node-name> powervs.kubernetes.io/pvm-instance-id=<Instance ID of the PowerVS instance>

Set the ProviderID on the cluster nodes as: ibmpowervs://<region>/<zone>/<service_instance_id>/<powervs_machine_id>, for example:

spec:
  providerID: ibmpowervs://syd/syd05/862032d5-xxxx-xxxx-xxxx-c18594456427/2c6cbaec-xxxx-xxxx-xxxx-a6aa35315596

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL