tutuV edited a comment on issue #749:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/749#issuecomment-966950111


   @tokers 
   kubectl create ns apisix
   
   helm install apisix apisix \
   -f apisix/values.yaml \
   --set apisix.replicaCount=1 \
   --set gateway.type=LoadBalancer \
   --set admin.allow.ipList="{0.0.0.0/0}" \
   --set etcd.enabled=true \
   --set etcd.persistence.enabled=false \
   --set ingress-controller.enabled=true \
   --set ingress-controller.config.apisix.serviceNamespace=apisix \
   --set 
ingress-controller.config.kubernetes.apisixRouteVersion="apisix.apache.org/v2beta2"
 \
   --set dashboard.enabled=true \
   --namespace apisix
   
   vim echo.yaml
   #The missing item is echo Server
   apiVersion: apisix.apache.org/v2beta2   #for apisix v2.10
   kind: ApisixRoute
   metadata:
     name: echo-apisixroute
     namespace: echo
   spec:
     http:
     - name: echo-apisixroute
       match:
         paths:
         - "/echo"
       backends:
       - serviceName: echo
         servicePort: 80
       plugins:
       - name: cors
         enable: true
   
   kubectl apply -f echo.yaml
   
   -------------------------
   That's all I did
   
   On Github, yamL has some issues with the display, but the content is fine. 
Previously running on Apisix-Helm-chart: V0.3.6 all is fine.


-- 
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]


Reply via email to