FlonFl commented on issue #813:
URL:
https://github.com/apache/apisix-ingress-controller/issues/813#issuecomment-1001098559
> > > You can add an ExternalName service.
> >
> >
> > Thanks;
> > However I found: I can create "ExternalName service", but can't add into
the apisix gateway use "kubectl apply - f" 。
>
> I don't understand.
My ApisixRoute "ar.yaml" (Namespace is “default”) :
```
apiVersion: apisix.apache.org/v2beta2
kind: ApisixRoute
metadata:
name: sd
spec:
http:
- name: sd_1
match:
hosts:
- xx.xxx.com
paths:
- /*
backends:
- serviceName: bdsvc # This is ExternalName service
servicePort: 80
```
Used :
kubectl apply - f ar.yaml
But, I can't see route and upstream from the dashboard.
通过配置后,我不能从ApisixGateway控制台看到配置的ApisixRoute,其他的非ExternalName
service却能够看到,且能访问到。
And, I use K3S.
Thanks.
我使用的是K3S环境,非K8S,期待您的解答,谢谢。
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]