Creating an 'exec-host' deployment for running one-off commands: Deploying ASP.NET Core applications to Kubernetes - Part 10

added by DotNetKicks
11/3/2020 10:39:24 AM


In this post I describe a pattern that lets you run arbitrary commands for your application in your Kubernetes cluster, by having a pod available for you to exec into. You can use this pod to perform ad-hoc maintenance, administration, queries-all those tasks that you can't easily schedule, because you don't know when you'll need to run them, or because that just doesn't make sense.