You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "tao12345666333 (via GitHub)" <gi...@apache.org> on 2023/03/31 09:19:10 UTC
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1753: feat: As a user, I want to completely customize and control the endpoints of this upstream and its corresponding weight through the crd of ApisixUpstream
tao12345666333 commented on issue #1753:
URL: https://github.com/apache/apisix-ingress-controller/issues/1753#issuecomment-1491612431
```yaml
# httpbin-upstream.yaml
apiVersion: apisix.apache.org/v2
kind: ApisixUpstream
metadata:
name: httpbin-upstream
spec:
externalNodes:
- type: Domain
name: httpbin.org
```
ApisixUpstream has a `externalNodes` field, we can add `externalNodes[].type=IP` or `externalNodes[].type=EndpointIP`
ref: https://apisix.apache.org/docs/ingress-controller/tutorials/external-service/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org