You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/04 20:37:46 UTC

[GitHub] [camel-k] haifzhan opened a new issue #2847: Scaling integration pod, the replicas are not able to receive traffic

haifzhan opened a new issue #2847:
URL: https://github.com/apache/camel-k/issues/2847


   Hi Apache Camel team:
   
   Situation:
   1. I have a integration pod is listening on UDP 8444 and forward it to 30006, and it is configured in `my-integration-service.yaml`
   2. I am trying to scale the integration followed the document [CAMEL K INTEGRATION SCALING
   ](https://camel.apache.org/camel-k/1.7.x/scaling/integration.html)
   
   For instance I have 2 pods running after scale and only the first pod is capable of receiving incoming events.
   
   I see a similar question under Issues [scaling out camel-k integrations are not working correctly #1806](https://github.com/apache/camel-k/issues/1806). The service was enabled as a node port. As far as I know, the service trait only works for TCP not UDP.
   
   Please help.
   
   my-integration-service.yaml
   ```
   apiVersion: v1
   kind: Service
   metadata:
     name: my-integration
   spec:
     type: NodePort
     selector:
       camel.apache.org/integration: my-integration
     ports:
       - protocol: UDP
         port: 8444
         targetPort: 8444
         nodePort: 30006
   ```


-- 
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: commits-unsubscribe@camel.apache.org

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



[GitHub] [camel-k] haifzhan edited a comment on issue #2847: Scaling integration pod and the replicas are not able to receive traffic via UDP port

Posted by GitBox <gi...@apache.org>.
haifzhan edited a comment on issue #2847:
URL: https://github.com/apache/camel-k/issues/2847#issuecomment-1006074431


   Some updates:
   I killed the pod which is capable of receiving events when there's traffic and observed that the replica start receiving events. Now it turns out the settings are working properly.
   
   What am I supposed to modify to make the traffic policy r**ound robin**?


-- 
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: commits-unsubscribe@camel.apache.org

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



[GitHub] [camel-k] haifzhan commented on issue #2847: Scaling integration pod and the replicas are not able to receive traffic via UDP port

Posted by GitBox <gi...@apache.org>.
haifzhan commented on issue #2847:
URL: https://github.com/apache/camel-k/issues/2847#issuecomment-1006074431


   Some updates:
   I killed the pod which is capable of receiving events and observed that the replica start receiving events. Now it turns out the settings are working properly.
   
   What am I supposed to modify to make the traffic policy r**ound robin**?


-- 
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: commits-unsubscribe@camel.apache.org

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