[jbosstools-issues] [JBoss JIRA] (JBIDE-24868) Server adapter: Switch off pod livenessProbe.periodSecond property and router timeout during debug session

Jeff MAURY (JIRA) issues at jboss.org
Wed Aug 30 04:14:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455853#comment-13455853 ] 

Jeff MAURY commented on JBIDE-24868:
------------------------------------

[~adietish] So far we have three problems:

# the timeout for the Java debug connection (and we use the port forwarding feature for that)
# the timeout from the router (because the web browser is using the route)
# the pod get rescheduled because of the livenessprobe if Java debug is configured as suspendVM on breakpoint (seems default on Intellij)

1) not sure we can fix it 
2) can be solved by using the forwarded port for the pod instead of the route but we will still get the same problem in the forwarded port but I think the timeout on the forwarded port is probably larger that the one on the router so we will have the same status as 1)
3) can be solved by updating the deployment config



> Server adapter: Switch off pod livenessProbe.periodSecond property and router timeout during debug session
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-24868
>                 URL: https://issues.jboss.org/browse/JBIDE-24868
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.5.0.Final
>            Reporter: Aurélien Pupier
>            Assignee: Andre Dietisheim
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.5.x
>
>
> it will avoid to have "debug connections always killed after 30s staying in a breakpoint"
> see https://twitter.com/ro14nd/status/895886024387067904 for source of suggestion
> k8 documentations on the matter are here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list