Forum Discussion
AKS run simulation
I have simulation which is sort of command line node app.
something like node something.js -p1 -p2 etc.
I create docker image of it.
I need to run it in AKS cluster.
Say I create deployment with 2 or 3 replicas . How I can run it so it can take advantage of cluster to process it faster?
I understand web application I can access by public IP. But not understanding how I can run it for such command line application?
Can I just SSH to one of pod and run it?
1 Reply
You cannot simply SSH into an AKS pod to run your Node.js simulation. Instead, workloads like command‑line apps should be run as Jobs or CronJobs rather than interactive sessions. This allows the cluster to schedule multiple replicas across nodes and process tasks in parallel. learn.microsoft.com/en-us/azure/architecture/best-practices/background-jobs