Run Kubernetes Job on network request (aka socket-based activation)

5/28/2018

I have a server nodes and powerful expensive worker nodes. Worker nodes are set to be autoscaled from/to zero and run few hours per week.

When server creates HTTP request to worker Service (where corresponding Job resides on worker nodes) I want that worker node to bring up, start Job pod and process this request. Something similar to systemd service socket-based activation.

-- user1780084
autoscaling
google-kubernetes-engine
kubernetes

1 Answer

5/29/2018

Probably you need to create your own Custom Resource Definition (CRD) and write the trigger you need.

You may find useful this link: https://kubeless.io/docs/implementing-new-trigger/

-- Nicola Ben
Source: StackOverflow