AMPL in K8s pods

  1. What is the official AMPL-recommended pattern for containerized Kubernetes workloads?

  2. Dynamic Activation vs. Static lic file: Is running modules.activate(uuid=...) at pod startup supported/recommended at scale, or should we migrate to mounting a static ampl.lic client configuration file (e.g., pointing to an AMPL License Server / Cloud Floating License) via Kubernetes Secrets?

    Is there any limit in calling the activation as the HPA will scale the pods up or down and this activation command will be called at start of each pods.

  3. If using ampl.lic / Floating Server: What is the recommended way to configure amplpy inside the container so it picks up the mounted license seamlessly (e.g., setting AMPL_LICFILE=/etc/licenses/ampl.lic) without calling modules.activate()?