Issue
The App Insights interface in Fusion takes several minutes to load. This performance issue may occur when the underlying insights pod is under-provisioned and terminated by the Kubernetes due to insufficient resources.
Diagnosis
Check if the insights pod is experiencing out-of-memory or CPU throttling issues.
Run the following command:
kubectl describe pod <insights-pod-name> -n <fusion-namespace>Review the output for a line similar to:
Last State: Terminated
Reason: OOMKilledThis indicates the pod was terminated because it exceeded its allocated memory.
Additionally, verify the current CPU and memory settings under Limits and Requests.
Environment
Fusion 5.9.1 & later
Cause
The insights pod was configured with insufficient CPU and memory resources. When the workload exceeded the allocation, the pod was terminated with OOMKilled, causing delays and instability when accessing the App Insights UI.
Resolution
Update the deployment configuration for the insights pod to increase CPU and memory resources as per your setup and requirement. Apply the updated values under resources in your deployment YAML. Below is an example with the following configurations (only for reference):
resources:
limits:
cpu: "2"
memory: 4Gi
requests:
cpu: 200m
memory: 4GiAfter applying the updated configuration:
Restart the
insightspod using the following command:kubectl rollout restart deploy <insights-deployment-name> -n <fusion-namespace>Allow the pod to initialize and test the App Insights UI load time.
If the page loads within an acceptable time frame, the configuration update has resolved the issue.
If the issue persists, run kubectl describe pod again and verify there are no further OOMKilled or similar termination states.