You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "squakez (via GitHub)" <gi...@apache.org> on 2024/04/24 08:14:59 UTC

[I] Knative accepted port names [camel-k]

squakez opened a new issue, #5409:
URL: https://github.com/apache/camel-k/issues/5409

   ### What happened?
   
   As described in https://github.com/knative/specs/blob/main/specs/serving/runtime-contract.md#protocols-and-ports Knative is not accepting the usage of `http` as container port name. This was fixed with https://github.com/apache/camel-k/pull/5291 but it creates certain regression when other traits are trying to use such container port (which cannot be found as it misses the name). For example Prometheus trait would fail to work in conjunction with Knative.
   
   ### Steps to reproduce
   
   _No response_
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   _No response_


-- 
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.apache.org

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


Re: [I] Knative accepted port names [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5409:
URL: https://github.com/apache/camel-k/issues/5409#issuecomment-2074355310

   The most immediate workaround is to use `container.port-name=http1` or `container.port-name=h2c` trait configuration.


-- 
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


Re: [I] Knative accepted port names [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5409:
URL: https://github.com/apache/camel-k/issues/5409#issuecomment-2076593440

   > The most immediate workaround is to use `container.port-name=http1` or `container.port-name=h2c` trait configuration.
   
   Apologies, but this won't work unfortunately. Having another look at the code it seems there is no workaround available at the time being. We'll work to have a patch release soon.


-- 
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


Re: [I] Knative accepted port names [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #5409: Knative accepted port names
URL: https://github.com/apache/camel-k/issues/5409


-- 
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