Static content deployment architecture
Deploy SPM Static Content in Azure Kubernetes Services (AKS)
The static content server feature allows static content to be hosted on a separate web server. This feature allows the web server that hosts the static content to be tuned for the static content and reduces the load on the main Merative Social Program Management (SPM) application servers.
Figure 1: SPM on Kubernetes - static content
As outlined in Figure 1, SPM static content runs in its own pod. By running SPM static content in its own pod, the pod can leverage the benefits of flexibility, elasticity, efficiency and the strategic value offered by cloud native architecture.
While it is technically possible to have SPM static content on the ingress controllers (for example, ALBs), this is not a recommended approach. The ingress controller is not designed to serve static content.
Application workloads should be isolated from ingress workloads. The ingress controller should have the unique role of handling the ingress rules that are defined in your cluster, and should be treated as part an infrastructure component of your cloud native architecture.
Serving static content is a fundamental part of your application, and the static content should be served in a pod on your application worker nodes.