Debugging .net core application running in Kubernetes cluster, from visual studio 2017.
Continuing my exploration of containers , i started using Kubernetes(K8) as an orchestrator for container applications. If you want to learn more about K8 you can read here . On exploration i found similar issue which i faced with docker, there was almost no content available on the approach of how to debug your application running in K8 cluster. I understand that generally you should use logs and most of the issues related to application should have been identified during development of application. Ideally that is the use of docker , docker image just runs everywhere . But sometime Murphy may strike , and things can go wrong , to help in those situation this article is written. Following are the tools used by me for exploration Kubernetes as a service running on stratoscale . Docker for windows Visual studio 2017 version 15.3.4 with .net core 2.0 sdk on windows 10 machine. Kubectl I am going to use same sample application and docker which i used in th...