Skip to content

Commit f12b50f

Browse files
kek-Seckahirokunn
authored andcommitted
feat: Update integrations.md to include Azure FrontDoor tips! (kedacore#1137)
Signed-off-by: G. Petrakis <[email protected]>
1 parent cd0b78a commit f12b50f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/integrations.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,35 @@ spec:
6060
- There's currently no built-in mechanism to delay this initial scaling.
6161
- A PR is in progress to add this support: [https://github.com/kedacore/keda/pull/5478](https://github.com/kedacore/keda/pull/5478)
6262
- 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.
92+
93+
94+
---

0 commit comments

Comments
 (0)