mogenius / punq

A slim open-source workload manager for Kubernetes with team collaboration, WebApp, and CLI.
https://punq.dev
Apache License 2.0
68 stars 3 forks source link

Error While Configuring and Selecting KUBECONFIG #24

Closed kumarankit999 closed 6 months ago

kumarankit999 commented 8 months ago

I have an issue while running the below commands which are for installing punq: image

There have been some issues while selecting $Kubeconfig

image

To resolve this we have to change or Update the documentation of punq which we are using without ingress as per our need.

beneiltis commented 6 months ago

Sorry for waiting so long for a reply. The error message was not good enough and did not help you. I have replaced it with:

logger.Log.Fatalf("Error: $KUBECONFIG is not set, and the default Kubernetes context cannot be loaded. The $KUBECONFIG environment variable specifies the kubeconfig file path, which is essential for connecting to your Kubernetes cluster. To resolve this, please set $KUBECONFIG by using 'kubectx' for easier context switching or by manually specifying the path to your kubeconfig file. For detailed instructions on configuring your kubeconfig, please refer to https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/.")

This should provide more detailed information how to handle this situation.

kumarankit999 commented 6 months ago

That's great @beneiltis!