Marco-Zheng commented on issue #423: URL: https://github.com/apache/apisix-ingress-controller/issues/423#issuecomment-836469087
> > ``` > > apiVersion: v1 > > data: > > config.yaml: | > > # log options > > log_level: "info" > > log_output: "stderr" > > http_listen: ":8080" > > enable_profiling: true > > kubernetes: > > kubeconfig: "" > > resync_interval: "60s" > > app_namespaces: > > - "*" > > apisix: > > base_url: "http://xxxxxx:9180/apisix/admin" > > admin_key: "edd1c9f034335f136f87ad84b625c8f1" > > kind: ConfigMap > > metadata: > > annotations: > > meta.helm.sh/release-name: apisix-ingress-controller > > meta.helm.sh/release-namespace: ingress-apisix > > creationTimestamp: "2021-05-08T08:09:34Z" > > labels: > > app.kubernetes.io/instance: apisix-ingress-controller > > app.kubernetes.io/managed-by: Helm > > app.kubernetes.io/name: apisix-ingress-controller > > app.kubernetes.io/version: 0.4.0 > > helm.sh/chart: apisix-ingress-controller-0.3.0 > > name: apisix-ingress-controller-configmap > > namespace: ingress-apisix > > resourceVersion: "7545638850" > > selfLink: /api/v1/namespaces/ingress-apisix/configmaps/apisix-ingress-controller-configmap > > uid: 74524651-7a57-4d6d-a894-2f0b4715e11a > > ``` > > I add the change for the watching version of ingress. > > ``` > apiVersion: v1 > data: > config.yaml: | > # log options > log_level: "info" > log_output: "stderr" > http_listen: ":8080" > enable_profiling: true > kubernetes: > kubeconfig: "" > resync_interval: "60s" > ingressVersion: networking/v1beta1 > app_namespaces: > - "*" > apisix: > base_url: "http://xxxxxx:9180/apisix/admin" > admin_key: "edd1c9f034335f136f87ad84b625c8f1" > kind: ConfigMap > metadata: > annotations: > meta.helm.sh/release-name: apisix-ingress-controller > meta.helm.sh/release-namespace: ingress-apisix > creationTimestamp: "2021-05-08T08:09:34Z" > labels: > app.kubernetes.io/instance: apisix-ingress-controller > app.kubernetes.io/managed-by: Helm > app.kubernetes.io/name: apisix-ingress-controller > app.kubernetes.io/version: 0.4.0 > helm.sh/chart: apisix-ingress-controller-0.3.0 > name: apisix-ingress-controller-configmap > namespace: ingress-apisix > resourceVersion: "7545638850" > selfLink: /api/v1/namespaces/ingress-apisix/configmaps/apisix-ingress-controller-configmap > uid: 74524651-7a57-4d6d-a894-2f0b4715e11a > ``` > > ``` > > apiVersion: v1 > > data: > > config.yaml: | > > # log options > > log_level: "info" > > log_output: "stderr" > > http_listen: ":8080" > > enable_profiling: true > > kubernetes: > > kubeconfig: "" > > resync_interval: "60s" > > app_namespaces: > > - "*" > > apisix: > > base_url: "http://xxxxxx:9180/apisix/admin" > > admin_key: "edd1c9f034335f136f87ad84b625c8f1" > > kind: ConfigMap > > metadata: > > annotations: > > meta.helm.sh/release-name: apisix-ingress-controller > > meta.helm.sh/release-namespace: ingress-apisix > > creationTimestamp: "2021-05-08T08:09:34Z" > > labels: > > app.kubernetes.io/instance: apisix-ingress-controller > > app.kubernetes.io/managed-by: Helm > > app.kubernetes.io/name: apisix-ingress-controller > > app.kubernetes.io/version: 0.4.0 > > helm.sh/chart: apisix-ingress-controller-0.3.0 > > name: apisix-ingress-controller-configmap > > namespace: ingress-apisix > > resourceVersion: "7545638850" > > selfLink: /api/v1/namespaces/ingress-apisix/configmaps/apisix-ingress-controller-configmap > > uid: 74524651-7a57-4d6d-a894-2f0b4715e11a > > ``` > > I add the change for the watching version of ingress. > > ``` > apiVersion: v1 > data: > config.yaml: | > # log options > log_level: "info" > log_output: "stderr" > http_listen: ":8080" > enable_profiling: true > kubernetes: > kubeconfig: "" > resync_interval: "60s" > ingressVersion: networking/v1beta1 > app_namespaces: > - "*" > apisix: > base_url: "http://xxxxxx:9180/apisix/admin" > admin_key: "edd1c9f034335f136f87ad84b625c8f1" > kind: ConfigMap > metadata: > annotations: > meta.helm.sh/release-name: apisix-ingress-controller > meta.helm.sh/release-namespace: ingress-apisix > creationTimestamp: "2021-05-08T08:09:34Z" > labels: > app.kubernetes.io/instance: apisix-ingress-controller > app.kubernetes.io/managed-by: Helm > app.kubernetes.io/name: apisix-ingress-controller > app.kubernetes.io/version: 0.4.0 > helm.sh/chart: apisix-ingress-controller-0.3.0 > name: apisix-ingress-controller-configmap > namespace: ingress-apisix > resourceVersion: "7545638850" > selfLink: /api/v1/namespaces/ingress-apisix/configmaps/apisix-ingress-controller-configmap > uid: 74524651-7a57-4d6d-a894-2f0b4715e11a > ``` I followed your action, update the configmap as below ![image](https://user-images.githubusercontent.com/52538259/117638724-b9d6ef80-b1b5-11eb-9f27-7f6c7c0001c5.png) here is my route.yaml ![image](https://user-images.githubusercontent.com/52538259/117638978-03273f00-b1b6-11eb-8f08-fd9fe71e0fd1.png) Then i send request again, still failed ![image](https://user-images.githubusercontent.com/52538259/117639046-12a68800-b1b6-11eb-87cd-ce7e9834fb8c.png) -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org