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/en/latest/reference/example.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1092,6 +1092,8 @@ spec:
1092
1092
- 10.24.87.13
1093
1093
```
1094
1094
1095
+
Each entry in `statusAddress` can be an IP address or a hostname. The controller automatically sets the address type on the Gateway status — `IPAddress` for valid IPs and `Hostname` for everything else.
1096
+
1095
1097
</TabItem>
1096
1098
1097
1099
<TabItem value="ingress">
@@ -1116,6 +1118,8 @@ spec:
1116
1118
- 10.24.87.13
1117
1119
```
1118
1120
1121
+
Each entry in `statusAddress` can be an IP address or a hostname. The controller automatically sets the `IP` field for valid IPs and the `Hostname` field for everything else in the Ingress load balancer status.
1122
+
1119
1123
To configure the `publishService`:
1120
1124
1121
1125
```yaml
@@ -1133,7 +1137,10 @@ spec:
1133
1137
publishService: apisix-gateway
1134
1138
```
1135
1139
1136
-
When using `publishService`, make sure your gateway Service is of `LoadBalancer` type the address can be populated. The controller will use the endpoint of this Service to update the status information of the Ingress resource. The format can be either `namespace/svc-name` or simply `svc-name` if the default namespace is correctly set.
1140
+
When using `publishService`, the controller will use the endpoint of this Service to update the status information of the Ingress resource. The format can be either `namespace/svc-name` or simply `svc-name` if the default namespace is correctly set.
1141
+
1142
+
- If the Service is of `LoadBalancer` type, the controller uses its external IP or hostname.
1143
+
- If the Service is of `ClusterIP` type, the controller propagates the hostname from any Ingress resources that reference that Service.
0 commit comments