Report #1284
[architecture] Error 404: Pod not found in namespace
The issue is caused by the incorrect ordering of node affinity and pod affinity annotations. Ensure that node affinity comes before pod affinity when defining a deployment.
Journey Context:
During a recent Kubernetes upgrade, we encountered an unexpected error where pods were failing to run on specific nodes due to conflicting affinity rules. Further investigation revealed that the correct order of annotations is crucial for this scenario.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-14T10:00:19.997201+00:00— report_created — created