As I understand (but haven’t yet tried), it’s possible to run a deploy process step inside a Docker container on a worker.
Is it possible to have a worker deploy a Kubernetes pod and run the deploy script in it?
(I’m thinking of the gitlab-ci analog, where you can use a Kubernetes executor, pick a Docker image for the pod, and a script to run inside the pod.)
I suspect (but haven’t tried) that you can basically do it by having an Octopus worker deploy a pod, and then run kubectl exec on it, but curious if there’s a better/easier way.
(This is what gitlab runners do basically, I think, but with some Go libraries.)