You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations.md
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,3 +60,35 @@ spec:
60
60
- There's currently no built-in mechanism to delay this initial scaling.
61
61
- A PR is in progress to add this support: [https://github.com/kedacore/keda/pull/5478](https://github.com/kedacore/keda/pull/5478)
62
62
- As a workaround, keep `minReplica` initially as 1 and update it to 0 after the desired delay.
63
+
64
+
---
65
+
66
+
## Azure Front Door
67
+
68
+
### Configuration Steps
69
+
70
+
1. **Service Setup in Front Door:**
71
+
- Set up Azure Front Door to route traffic to your AKS cluster.
72
+
- Ensure that the `Origin Host` header matches the actual AKS host. Front Door enforces case-sensitive routing, so configure the `Origin Host` exactly as the AKS host name.
73
+
74
+
2. **KEDA HTTP Add-on Integration:**
75
+
- Use an `HTTPScaledObject` to manage scaling based on incoming traffic.
76
+
- Front Door should route traffic to the KEDA HTTP Add-on interceptor service in your AKS cluster.
77
+
78
+
3. **Case-Sensitive Hostnames:**
79
+
- Be mindful that Azure Front Door treats the `Origin Host` header in a case-sensitive manner.
80
+
- Ensure consistency between the AKS ingress hostname (e.g., `foo.bar.com`) and Front Door configuration.
81
+
82
+
### Troubleshooting Tips
83
+
84
+
- **404 Error for Hostnames with Different Case:**
85
+
- Requests routed with inconsistent casing (e.g., `foo.Bar.com` vs. `foo.bar.com`) will trigger 404 errors. Make sure the `Origin Host` header matches the AKS ingress host exactly.
86
+
- If you encounter errors like `PANIC=value method k8s.io/apimachinery/pkg/types.NamespacedName.MarshalLog called using nil *NamespacedName pointer`, verify the `Origin Host` header configuration.
87
+
88
+
### Expected Behavior
89
+
90
+
- Azure Front Door routes traffic to AKS based on a case-sensitive host header.
91
+
- The KEDA HTTP Add-on scales the workload in response to traffic, based on predefined scaling rules.
0 commit comments