IBM / k8s-storage-perf

This git repo will host the playbooks for collecting performance metrics for a Kubernetes persistent storage for IBM Cloud Paks
Apache License 2.0
9 stars 18 forks source link

debug: Solve the problem that kubeconfig is not found. #38

Open Ghostwritten opened 4 months ago

Ghostwritten commented 4 months ago

Hi, In my openshift cluster, I ran k8s-storage-perf through the container and found that kubeconfig was not found. An error was reported during the execution process:#37 and there is no configuration about kubeconfig in the code and manual. Therefore, this may be a bug. I passed I solved this problem by adding the mount kubeconfig directory and declaring the variable KUBECONFIG in the running container.