cooper.wu

Results 125 comments of cooper.wu

Yes , key is required https://apisix.apache.org/docs/apisix/plugins/jwt-auth/

个人感觉,可能的两种方法: 1 用apisix 来处理这个302, 添加一条route, 直接把 / 代理到 /index.html 2. 用response_write, 把302的返回,添加你的 “hdfs” 这段代理头

k8s pod use coredns for dns resolve, so you should check how to set hostsname in coredns , like below: ``` apiVersion: v1 kind: ConfigMap metadata: name: coredns namespace: kube-system...

yes, from the source code, i think filter label only support key. ![image](https://github.com/apache/apisix/assets/7521141/e58a1516-92b0-4282-b47a-0ba8371baf34)

Please check apisix whether reach demo.default.svc.cluster.local ?

The log reveal pod apisix can not reach 172.16.254.208:9010 . So please check pod network whether normal , For example try `curl -I http://172.16.254.208:9010/demo/getConfigName` in a pod .

centos-pod.yaml ``` --- apiVersion: v1 kind: Pod metadata: name: centos-pod spec: containers: - image: centos:7 imagePullPolicy: IfNotPresent name: centos-container command: ["/bin/bash", "-ce", "tail -f /dev/null"] ``` kubectl apply -f centos-pod.yaml...

look like same as #2910

hi @jzhao20230918 , like below json, you can set route Version ``` { "uri": "/test-http-server", "name": "test-server", ....... "labels": { "API_VERSION": "v3", }, "status": 1 } ```