How to deploy ASP.NET Core Web API to Kubernetes
In this article, we'll discuss about Kubernetes, a popular container orchestration engine and learn how we can deploy an ASP.NET Core Web API to it.
To view logs for running containers, we can use LOG command.
> docker logs --follow
The --follow flag will continue streaming the new output from the container's STDOUT and STDERR onto the terminal.
docker restart policies dictate how a container should behave when it is shutted down by some factor.
There are four restart-policies: