Skip to content

Commit 9bbdaec

Browse files
Merge pull request #299694 from JackStromberg/patch-74074
Clarify the service name is a placeholder
2 parents c3a20b6 + 64f05b7 commit 9bbdaec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/application-gateway/for-containers/session-affinity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: application gateway
55
author: greg-lindsay
66
ms.service: azure-appgw-for-containers
77
ms.topic: concept-article
8-
ms.date: 5/9/2024
8+
ms.date: 5/12/2025
99
ms.author: greglin
1010
---
1111

@@ -78,7 +78,7 @@ EOF
7878

7979
Session affinity can be defined in an [IngressExtension](api-specification-kubernetes.md#alb.networking.azure.io/v1.IngressExtensionSpec) resource. You must specify `sessionAffinity` with an `affinityType` of either `application-cookie` or `managed-cookie`. In this example, we use `application-cookie` as the affinityType and explicitly define a cookie name and lifetime.
8080

81-
Example command to create a new IngressExtension with a defined cookie called `nomnom` with a lifetime of 3,600 seconds (1 hour).
81+
Example command to create a new IngressExtension with a defined cookie called `nomnom` with a lifetime of 3,600 seconds (1 hour) targetting a backend service called `echo`.
8282

8383
```bash
8484
kubectl apply -f - <<EOF
@@ -89,7 +89,7 @@ metadata:
8989
namespace: test-infra
9090
spec:
9191
backendSettings:
92-
- service: echo
92+
- service: echo # replace with your service name
9393
sessionAffinity:
9494
affinityType: "application-cookie"
9595
cookieName: "nomnom"

0 commit comments

Comments
 (0)