marchlhw opened a new issue #864:
URL: https://github.com/apache/apisix-ingress-controller/issues/864


   ### Issue description
   
   1. 我在使用apisix ingress 
controller的情况下,只创建apisixupstream对象,发现etcd中没有生产对应的upstream,如下:
   
![图片](https://user-images.githubusercontent.com/7006014/153744168-66f0ae55-500a-49b9-bfd0-cdfc8abaa72d.png)
   apisix ingress controller输出如下类似的日志:
   2022-02-13T15:16:29+08:00    warn    apisix/upstream.go:70   upstream not 
found      {"name": "apisix_httpbin_80", "url": 
"http://10.115.21.113:9180/apisix/admin/upstreams/f7a2533e";, "cluster": 
"default"}
   2022-02-13T15:16:29+08:00    warn    ingress/controller.go:653       
upstream is not referenced      {"cluster": "name=default; 
base_url=http://10.115.21.113:9180/apisix/admin";, "upstream": 
"apisix_httpbin_80"}
   
![图片](https://user-images.githubusercontent.com/7006014/153744183-c7247240-1aec-40bc-b663-cce4cd9617d4.png)
   
   2. 
如果我删掉apisixupstream对象后,仅创建apisixroute对象,发现etcd中不仅创建对象了upstream,还创建了route,如下:
   
![图片](https://user-images.githubusercontent.com/7006014/153744199-135c744f-260d-48a9-8dd5-f69b2dbf533c.png)
   
![图片](https://user-images.githubusercontent.com/7006014/153744203-4bbf3f14-19b1-4145-bdfc-153da318ca63.png)
   
![图片](https://user-images.githubusercontent.com/7006014/153744208-2484f0f9-bfd8-41a5-bebf-c7cdd9695f54.png)
   
   3. 
述求:结合我们的实际使用场景,我只想在创建apisixupstream后,控制器调用apisix管理api在etcd中生成相应的upstream,并实时更新,其他的对象比如route、plugin、customer等统一通过dashbord创建,但是按照以上我实际测试出来的情况,满足不了我的诉求,不确定apisix
 ingress controller就是这么设计的,还是有问题
   
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long):
   
![图片](https://user-images.githubusercontent.com/7006014/153744397-06b222da-8791-4c42-8205-03d0c8ab3384.png)
   
   - your Kubernetes cluster version (output of kubectl version):
   
![图片](https://user-images.githubusercontent.com/7006014/153744391-02b90b92-091f-4b88-9f5d-0d9beaf2ab59.png)
   
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (uname -a):
   
![图片](https://user-images.githubusercontent.com/7006014/153744447-b25e4c1a-9586-40ed-9f51-af5f7db51041.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.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to