We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have finished deployment of the APISIX ingress controller, but when i use this demo i get following error:
demo:
kubectl apply -f - <<EOF apiVersion: apisix.apache.org/v1 kind: ApisixRoute metadata: name: httpserver-route namespace: cloud spec: rules: - host: test.apisix.apache.org http: paths: - backend: serviceName: httpserver servicePort: 8080 path: /hello* EOF
ingress controller error log:
E0909 16:07:57.815863 1 ep.go:38] find endpoint cloud/httpserver err%!(EXTRA string=endpoints "httpserver" not found) E0909 16:07:57.817280 1 builder.go:208] solver upstream failed, update upstream to etcd failed, err: http post failed, url: http://10.25.78.50:31700/apisix/admin/upstreams, err: status: 400, body: {"error_msg":"invalid configuration: property \"nodes\" validation failed: object matches none of the requireds"}
I'm sure, the k8s master node hava been saved cofiguration to etcd,i use kubectl get ApisixRoute httpserver-route -n cloud -o yaml got that.
kubectl get ApisixRoute httpserver-route -n cloud -o yaml
[root@k8s-master eplat-yamls]# kubectl get ApisixRoute httpserver-route -n cloud -o yaml apiVersion: apisix.apache.org/v1 kind: ApisixRoute metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"apisix.apache.org/v1","kind":"ApisixRoute","metadata":{"annotations":{},"name":"httpserver-route","namespace":"cloud"},"spec":{"rules":[{"host":"test.apisix.apache.org","http":{"paths":[{"backend":{"serviceName":"httpserver","servicePort":8080},"path":"/hello*"}]}}]}} creationTimestamp: "2020-09-09T08:07:49Z" generation: 1 managedFields: - apiVersion: apisix.apache.org/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:kubectl.kubernetes.io/last-applied-configuration: {} f:spec: .: {} f:rules: {} manager: kubectl-client-side-apply operation: Update time: "2020-09-09T08:07:49Z" name: httpserver-route namespace: cloud resourceVersion: "600363" selfLink: /apis/apisix.apache.org/v1/namespaces/cloud/apisixroutes/httpserver-route uid: 737ca448-88c5-4b34-a80b-6f51d8f980c3 spec: rules: - host: test.apisix.apache.org http: paths: - backend: serviceName: httpserver servicePort: 8080 path: /hello*
The text was updated successfully, but these errors were encountered:
Because there is no corresponding service. So add the corresponding service to fix this.
Sorry, something went wrong.
yes, the httpserver is a demo, There will be misunderstandings. need to point it out in the documentation.
I think need to change the demo, use a public backend image.
We may create a demo by ourselves.
We have fixed the develop.md with the explicit installation guide about the backend http server (use httpbin).
gxthrj
No branches or pull requests
I have finished deployment of the APISIX ingress controller, but when i use this demo i get following error:
demo:
ingress controller error log:
I'm sure, the k8s master node hava been saved cofiguration to etcd,i use
kubectl get ApisixRoute httpserver-route -n cloud -o yaml
got that.The text was updated successfully, but these errors were encountered: