Overview
There are some known issues in which a Konvoy cluster that is attached to Kommander may encounter problems related to Kubecost requests not returning successfully. You may see errors in Kommander like the following:
Error fetching workspaces Network error: Unexpected token B in JSON at position 0
2020-10-19T17:20:12.610Z [warn]: API call returned 504. ERROR 504: Gateway Time-out 2020-10-19T17:20:12.611Z [warn]: Could not get daily costs for kommander-cluster-lw6nw with offset 1
Workaround
If these issues are related to failed Kubecost requests, you can try disabling it by changing the Kommander UI pod's environment variable with this command:
kubectl set env deployment/kommander-kubeaddons-kommander-ui -n kommander SHOW_COSTS="false"