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/crd/k8s.nginx.org_virtualserverroutes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,7 @@ The `.spec` object supports the following fields:
209
209
|`upstreams[].queue.timeout`|`string`| The timeout of the queue. A request cannot be queued for a period longer than the timeout. The default is 60s. |
210
210
|`upstreams[].read-timeout`|`string`| The timeout for reading a response from an upstream server. The default is specified in the proxy-read-timeout ConfigMap key. |
211
211
|`upstreams[].send-timeout`|`string`| The timeout for transmitting a request to an upstream server. The default is specified in the proxy-send-timeout ConfigMap key. |
212
-
|`upstreams[].service`|`string`| The name of a service. The service must belong to the same namespace as the resource. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported . |
212
+
|`upstreams[].service`|`string`| The name of a service. If the Service belongs to a different namespace than the VirtualServer or VirtualServerRoute, you need to include the namespace. For example, tea-namespace/tea. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported in the same namespace. |
213
213
|`upstreams[].sessionCookie`|`object`| The SessionCookie field configures session persistence which allows requests from the same client to be passed to the same upstream server. The information about the designated upstream server is passed in a session cookie generated by NGINX Plus. |
214
214
|`upstreams[].sessionCookie.domain`|`string`| The domain for which the cookie is set. |
215
215
|`upstreams[].sessionCookie.enable`|`boolean`| Enables session persistence with a session cookie for an upstream server. The default is false. |
Copy file name to clipboardExpand all lines: docs/crd/k8s.nginx.org_virtualservers.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -244,7 +244,7 @@ The `.spec` object supports the following fields:
244
244
|`upstreams[].queue.timeout`|`string`| The timeout of the queue. A request cannot be queued for a period longer than the timeout. The default is 60s. |
245
245
|`upstreams[].read-timeout`|`string`| The timeout for reading a response from an upstream server. The default is specified in the proxy-read-timeout ConfigMap key. |
246
246
|`upstreams[].send-timeout`|`string`| The timeout for transmitting a request to an upstream server. The default is specified in the proxy-send-timeout ConfigMap key. |
247
-
|`upstreams[].service`|`string`| The name of a service. The service must belong to the same namespace as the resource. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported . |
247
+
|`upstreams[].service`|`string`| The name of a service. If the Service belongs to a different namespace than the VirtualServer or VirtualServerRoute, you need to include the namespace. For example, tea-namespace/tea. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported in the same namespace. |
248
248
|`upstreams[].sessionCookie`|`object`| The SessionCookie field configures session persistence which allows requests from the same client to be passed to the same upstream server. The information about the designated upstream server is passed in a session cookie generated by NGINX Plus. |
249
249
|`upstreams[].sessionCookie.domain`|`string`| The domain for which the cookie is set. |
250
250
|`upstreams[].sessionCookie.enable`|`boolean`| Enables session persistence with a session cookie for an upstream server. The default is false. |
Copy file name to clipboardExpand all lines: pkg/apis/configuration/v1/types.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ type PolicyReference struct {
119
119
typeUpstreamstruct {
120
120
// The name of the upstream. Must be a valid DNS label as defined in RFC 1035. For example, hello and upstream-123 are valid. The name must be unique among all upstreams of the resource.
121
121
Namestring`json:"name"`
122
-
// The name of a service. The service must belong to the same namespace as the resource. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported .
122
+
// The name of a service. If the Service belongs to a different namespace than the VirtualServer or VirtualServerRoute, you need to include the namespace. For example, tea-namespace/tea. If the service doesn’t exist, NGINX will assume the service has zero endpoints and return a 502 response for requests for this upstream. For NGINX Plus only, services of type ExternalName are also supported in the same namespace.
123
123
Servicestring`json:"service"`
124
124
// Selects the pods within the service using label keys and values. By default, all pods of the service are selected. Note: the specified labels are expected to be present in the pods when they are created. If the pod labels are updated, NGINX Ingress Controller will not see that change until the number of the pods is changed.
0 commit comments