I couldn't able to apply design via cli command

I’m trying mesheryctl design apply but it returns a 500 error saying “no cluster available”, even though **minikube and Meshery are running fine. I took the design file from e2e-test fixture file.

My setup:

OS ~ linux

Cluster ~ minikube

Error output:

./mesheryctl design apply -f ~/lile.yaml
⣯ Applying design Error: Response Status Code 500. Server emitted an error: Meshery server failed to interact with the Kubernetes cluster due to the cluster not being available. | Short Description: Kubernetes cluster is unavailable for . | Probable Cause: There might be a network disruption or the Meshery server does not have valid credentials. | Suggested Remediation: Try uploading a new kubeconfig..Check the network connection and Kubernetes cluster status..Verify that the Meshery server has valid and updated credentials to access the Kubernetes cluster. | Short Description: Unable to deploy the selected design "%s". | Probable Cause: Connection Error: There was an error connecting to the selected target platform (i.e. Kubernetes cluster(s))..This connection might not be assigned to the selected environment. | Suggested Remediation: Verify that the Kubernetes connection status is 'Connected' or try uploading a new kubeconfig..Assign the current Kubernetes connection to the selected environment.
 | Short Description: Failed response server error | Probable Cause: Invalid API call | Suggested Remediation: Check your network connection and the status of Meshery Server via `mesheryctl system status`.

Meshery notification:

I checked system status and all pods are running fine

./mesheryctl system status
NAME              READY  STATUS   RESTARTS  AGE
meshery           1/1    Running  0         1h11m2s
meshery-broker    2/2    Running  0         1h10m52s
meshery-meshsync  1/1    Running  0         1h10m52s
meshery-operator  2/2    Running  0         1h10m58s

Meshery endpoint is http://192.168.49.2:30584

Also in connections it shows minikube is connected

@Pragalva_Sapkota Might offer some help here