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

   ### Requirement
   
   Hi
   As a developer working with camel-k & often knative as well, I'd like to 
ability to set the `terminationGracePeriodSeconds` field on the corresponding 
integration pod. There are several fields regarding security and operations 
that we'd like to set to have fine tuned control of the integrations.
   
   ### Problem
   
   Currently we can set `terminationGracePeriodSeconds` by using a pod template 
however there is a conflict using this field with Knative. The conflict comes 
from a Knative Validatingwebhookconfiguration, 
`validation.webhook.serving.knative.dev` because Knative actually handles the 
`terminationGracePeriodSeconds` field for the integration pod.
   
   ### Proposal
   
   In the Knative codebase it is shown that `terminationGracePeriodSeconds` is 
derived from the corresponding Knative `revision` resource, specifically the 
`TimeoutSeconds` field. We could add a new TimeoutSeconds field to the 
knative-service trait which could then be applied when creating the Revision 
resource. This would ultimately propagate to the corresponding integration 
pod's `terminationGracePeriodSeconds` field as desired.
   
   ### Open questions
   
   _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-unsubscr...@camel.apache.org.apache.org

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

Reply via email to