Swimlane Platform Installer Gu...
Troubleshooting Guide
Enable additional logging using the application runtime environment - aspNetCore
the application runtime environment parameter, "aspnetcoreenvironment" can be set to development, staging, or production for example, once you set to development, you should be able to see an exception stack trace in the response section of the chrome developer tool's network tab important remember to remove it once you're done with debugging the application, especially in production linux swimlane platform installer (spi) on swimlane settings under logging, you can set the asp net hosting environment linux ha (kubernetes / helm) swimlane's kubernetes helm chart version 0 9 0 and above has a parameter, ' aspnetcoreenvironment', in the values yaml for this purpose there are three possible options to update the parameter value option 1 update values yaml update the parameter value for aspnetcoreenvironment to development in the api section run the following command to make the changes helm upgrade \<release name> \<chart name> f swimlane/secret values override yaml option 2 override by set parameter set the value of aspnetcoreenvironment to development as part of the command helm upgrade \<release name> \<chart name> f swimlane/secret values override yaml set api aspnetcoreenvironment=development option 3 older helm chart swimlane helm chart version 0 1 0 doesn’t have the ` aspnetcoreenvironment ` parameter in values yaml it's best to update the chart, otherwise, follow the steps below get the name of the swimlane api deployment kubectl get deployments n swimlane add the environment variable with kubectl set env deployments swimlane api aspnetcore environment=development now check the value of aspnetcore environment inside the swimlane api deployment kubectl describe deployments swimlane api | grep aspnetcore environment restart the api pods the next pod created would pull in that environment variable \# scale down to 0 kubectl scale deployment swimlane api replicas=0 wait for all pods to terminate kubectl get pods n swimlane w scale back to 3 kubectl scale deployment swimlane api replicas=3 wait for all pods to start back up again kubectl get pods n swimlane now check to see if the value of aspnetcore environment has been updated inside the api pod kubectl exec \<api pod name> env n swimlane | grep aspnetcore environment