[jbosstools-issues] [JBoss JIRA] (JBIDE-21700) Listen to pod redeployment after changing deployment configuration
Jeff Cantrill (JIRA)
issues at jboss.org
Tue Feb 16 13:21:00 EST 2016
[ https://issues.jboss.org/browse/JBIDE-21700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163855#comment-13163855 ]
Jeff Cantrill commented on JBIDE-21700:
---------------------------------------
Right now, relationships for this only can be walked from pod->rc(deployment)->dc via annotations
pod:
{{
"annotations": {
"kubernetes.io/created-by": "{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"hello-world\",\"name\":\"hello-openshift-2\",\"uid\":\"7b7dec8c-d4bf-11e5-b828-080027c5bfa9\",\"apiVersion\":\"v1\",\"resourceVersion\":\"41026\"}}\n",
"openshift.io/deployment-config.latest-version": "2",
"openshift.io/deployment-config.name": "hello-openshift",
"openshift.io/deployment.name": "hello-openshift-2",
"openshift.io/scc": "restricted"
}
}}
rep controller:
{{ "annotations": {
"openshift.io/deployer-pod.name": "hello-openshift-2-deploy",
"openshift.io/deployment-config.latest-version": "2",
"openshift.io/deployment-config.name": "hello-openshift",
"openshift.io/deployment.phase": "Complete",
"openshift.io/deployment.replicas": "",}}
We can either listen to the connection events directly, try to hook into the observable project cache, or try to write an event mechanism to encapsulate a deployment change to notify when the pod is available.
> Listen to pod redeployment after changing deployment configuration
> ------------------------------------------------------------------
>
> Key: JBIDE-21700
> URL: https://issues.jboss.org/browse/JBIDE-21700
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Fix For: 4.3.1.CR1
>
>
> We need an easy way to detect a deployment configuration change triggered a new deployment and then be notified of its completion
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list