You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/10 11:50:55 UTC

[GitHub] [apisix-ingress-controller] GhangZh opened a new issue, #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

GhangZh opened a new issue, #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013

   ### Issue description
   
   What should I do if I want to configure upstream. Configuring it with dashboard causes the ingress-controller to report an error, but there is no such crd
   ![image](https://user-images.githubusercontent.com/92301646/167621762-8a5778a3-b5d8-4b6a-96da-794f6a258ed3.png)
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long):1.4.1
   - your Kubernetes cluster version (output of kubectl version):1.18
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):Linux
   


-- 
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-unsubscribe@apisix.apache.org.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1123117009

   you can create your own ApisixUpstream resource.
   
   plz see https://github.com/apache/apisix-ingress-controller/blob/master/docs/en/latest/concepts/apisix_upstream.md
   


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller
URL: https://github.com/apache/apisix-ingress-controller/issues/1013


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] GhangZh commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
GhangZh commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1124708563

   > could you run
   > 
   > `kubectl get svc --show-labels -n bookinfo`
   It is to use istio's bookinfo to achieve istio's traffic split
   ![image](https://user-images.githubusercontent.com/92301646/168031568-1331f466-b76d-410f-8996-da4bb032aa7a.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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] GhangZh commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
GhangZh commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1124688934

   When I wanted to use traffic-spilit according to the documentation, I found that it did not take effect after creating au. The configuration is as follows
   ```yaml
   apiVersion: apisix.apache.org/v2beta3
   kind: ApisixUpstream
   metadata:
     name: reviews
     namespace: bookinfo
   spec:
     subsets:
     - name: reviews-v1
       labels:
         app: reviews
         version: v1
     - name: reviews-v2
       labels:
         app: reviews
         version: v1
   ---
   apiVersion: apisix.apache.org/v2beta3
   kind: ApisixRoute
   metadata:
     name: bookinfo
     namespace: bookinfo
   spec:
     http:
     - backends:
       - serviceName: reviews
         servicePort: 9080
         subset: reviews-v1
         weight: 50
       - serviceName: reviews
         servicePort: 9080
         subset: reviews-v2
         weight: 50
       match:
         hosts:
         - bookinfo.com
         paths:
         - /*
       name: reviews
   ```
   ![image](https://user-images.githubusercontent.com/92301646/168027717-7dffd28e-b8bf-48b5-833a-98a100d48e66.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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1124688254

   @GhangZh I see you reopened this question, was it a mistake?


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1124704614

   could you run 
   
   `kubectl get svc --show-labels -n bookinfo`


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] GhangZh commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
GhangZh commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1125708478

   > > When I wanted to use traffic-split according to the documentation, I found that it did not take effect after creating au
   > 
   > Did you actually test the results?
   > 
   > Here is a test case for reference https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/suite-features/subset.go
   
   This I tried to configure through ApisixRoute. Will upstream setting weight be supported in the future? I see that apisix can support it


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1125698593

   > When I wanted to use traffic-split according to the documentation, I found that it did not take effect after creating au
   
   Did you actually test the results?
   
   Here is a test case for reference https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/suite-features/subset.go


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1125759007

   > Will upstream setting weight be supported in the future? I see that apisix can support it
   
   Yes, but there is no deadline yet.
   
   We currently have some additional requirements and will be making some adjustments to ApisixUpstream.
   I will consider these.


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1242837600

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1212645425

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] GhangZh commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
GhangZh commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1123131723

   Okay, I understand, I can configure it separately for special needs


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] GhangZh closed issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
GhangZh closed issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller
URL: https://github.com/apache/apisix-ingress-controller/issues/1013


-- 
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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1013: request help: Configure ApisixUpstream by apisix-ingress-controller

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1013:
URL: https://github.com/apache/apisix-ingress-controller/issues/1013#issuecomment-1123134806

   yep


-- 
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-unsubscribe@apisix.apache.org

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