Skip to content

Commit e9b8dec

Browse files
committed
Add ingress settings doc
1 parent 5654235 commit e9b8dec

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

articles/spring-apps/how-to-configure-ingress.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ The Azure Spring Apps service uses an underlying ingress controller to handle ap
2121
|----------------------|------------------------|---------------|-------------------|--------------------------------------------------------------------------|
2222
| ingress-read-timeout | proxy-read-timeout | 300 | \[1,1800\] | The timeout in seconds for reading a response from a proxied server. |
2323
| ingress-send-timeout | proxy-send-timeout | 60 | \[1,1800\] | The timeout in seconds for transmitting a request to the proxied server. |
24-
| session-affinity | affinity | None | \[Session, None\] | Type of the affinity, set this to Cookie to enable session affinity. |
24+
| session-affinity | affinity | None | Session, None | Type of the affinity, which will make the request come to the same pod replica that was responding to the request before. Set this to Cookie to enable session affinity, in the portal only need to choose the enable session affinity box. |
2525
| session-max-age | session-cookie-max-age | 0 | \[0,7 days\] | Time seconds until the cookie expires, corresponds to the Max-Age cookie directive. If set to 0, the expiration period is equal to the browser session period. |
26-
| backend-protocol | backend-protocol | Default | \[Default, GRPC\] | Sets the backend-protocol to indicate how NGINX should communicate with the backend service. Default means HTTP/HTTPS/WebSocket. The setting is only about client-to-app traffic, for app-to-app traffic within the same service instance, you can use any protoco. |
26+
| backend-protocol | backend-protocol | Default | Default, GRPC | Sets the backend-protocol to indicate how NGINX should communicate with the backend service. Default means HTTP/HTTPS/WebSocket. The setting is only about client-to-app traffic, for app-to-app traffic within the same service instance, you may choose any protocol for app-to-app traffic without modifying this option, that is the protocol here does not restrict your choice of protocol for app-to-app traffic within the same service instance. |
2727

2828
## Prerequisites
2929

@@ -95,8 +95,7 @@ This command will update the ingress read timeout to 600 seconds, ingress send t
9595
- For WebSocket connection limit, the upper limit is 20000, and when you reach that limit the connection will fail.
9696
- You can use RSocket based on WebSocket, as well as you set the backend protocol to `Default`.
9797

98-
- Can I still use the old ingress config settings?
99-
- Yes, you can still use old ingress config in sdk, but once an app has been configured by new ingress settings, the old ingress config will not affect it.
98+
- The `ingress config` still can be used in CLI and sdk, and that setting will apply to all apps within the service instance, but once an app has been configured by `ingress settings`, the `ingress config` will not affect it. We do not recommend new scripts to use "ingress config" any more, since we plan to stop supporting it in the future.
10099

101100
- When ingress settings are used together with App Gateway/APIM, what is the overall effect of timeout when you set the timeout in both ASA ingress and the App Gateway/APIM?
102101
- The shorter timeout should be effective.
148 KB
Loading

0 commit comments

Comments
 (0)