{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/696","repository_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin","labels_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/696/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/696/comments","events_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/696/events","html_url":"https://github.com/fabric8io/fabric8-maven-plugin/pull/696","id":193281727,"number":696,"title":"#376: Add WildFly-Swarm health check enricher. Not yet working becaus…","user":{"login":"davsclaus","id":477100,"avatar_url":"https://avatars.githubusercontent.com/u/477100?v=3","gravatar_id":"","url":"https://api.github.com/users/davsclaus","html_url":"https://github.com/davsclaus","followers_url":"https://api.github.com/users/davsclaus/followers","following_url":"https://api.github.com/users/davsclaus/following{/other_user}","gists_url":"https://api.github.com/users/davsclaus/gists{/gist_id}","starred_url":"https://api.github.com/users/davsclaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davsclaus/subscriptions","organizations_url":"https://api.github.com/users/davsclaus/orgs","repos_url":"https://api.github.com/users/davsclaus/repos","events_url":"https://api.github.com/users/davsclaus/events{/privacy}","received_events_url":"https://api.github.com/users/davsclaus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-03T11:31:31Z","updated_at":"2016-12-05T10:35:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/pulls/696","html_url":"https://github.com/fabric8io/fabric8-maven-plugin/pull/696","diff_url":"https://github.com/fabric8io/fabric8-maven-plugin/pull/696.diff","patch_url":"https://github.com/fabric8io/fabric8-maven-plugin/pull/696.patch"},"body":"…e fmp doesnt call it."},"comment":{"url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/comments/264820008","html_url":"https://github.com/fabric8io/fabric8-maven-plugin/pull/696#issuecomment-264820008","issue_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/696","id":264820008,"user":{"login":"davsclaus","id":477100,"avatar_url":"https://avatars.githubusercontent.com/u/477100?v=3","gravatar_id":"","url":"https://api.github.com/users/davsclaus","html_url":"https://github.com/davsclaus","followers_url":"https://api.github.com/users/davsclaus/followers","following_url":"https://api.github.com/users/davsclaus/following{/other_user}","gists_url":"https://api.github.com/users/davsclaus/gists{/gist_id}","starred_url":"https://api.github.com/users/davsclaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davsclaus/subscriptions","organizations_url":"https://api.github.com/users/davsclaus/orgs","repos_url":"https://api.github.com/users/davsclaus/repos","events_url":"https://api.github.com/users/davsclaus/events{/privacy}","received_events_url":"https://api.github.com/users/davsclaus/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T10:35:14Z","updated_at":"2016-12-05T10:35:14Z","body":"Thanks @rhuss that worked with ,1000, eg I see now\r\n```\r\n[INFO] --- fabric8-maven-plugin:3.2-SNAPSHOT:resource (default) @ swarm-camel ---\r\n[INFO] F8: Running in Kubernetes mode\r\n[INFO] F8: Running generator wildfly-swarm\r\n2016-12-05 11:23:47 INFO  Version:30 - HV000001: Hibernate Validator 5.2.4.Final\r\n[INFO] F8: fmp-controller: Adding a default Deployment\r\n[INFO] F8: fmp-service: Adding a default Service with ports [8080]\r\n[INFO] F8: wildfly-swarm-health-check: Adding readiness probe on port 8080, path='/health', scheme='HTTP', with initial delay 10 seconds\r\n[INFO] F8: wildfly-swarm-health-check: Adding liveness probe on port 8080, path='/health', scheme='HTTP', with initial delay 180 seconds\r\n```\r\n\r\nAnd yay the readiness only signal its ready to k8s when swarm is really started after 31 seconds\r\n```\r\nNAME                           READY     STATUS    RESTARTS   AGE\r\nswarm-camel-2856146500-ng5yy   0/1       Running   0          5s\r\ndavsclaus:/Users/davsclaus/$ kubectl get pods\r\nNAME                           READY     STATUS    RESTARTS   AGE\r\nswarm-camel-2856146500-ng5yy   0/1       Running   0          8s\r\ndavsclaus:/Users/davsclaus/$ kubectl get pods\r\nNAME                           READY     STATUS    RESTARTS   AGE\r\nswarm-camel-2856146500-ng5yy   0/1       Running   0          8s\r\ndavsclaus:/Users/davsclaus/$ kubectl get pods\r\nNAME                           READY     STATUS    RESTARTS   AGE\r\nswarm-camel-2856146500-ng5yy   0/1       Running   0          13s\r\ndavsclaus:/Users/davsclaus/$ kubectl get pods\r\nNAME                           READY     STATUS    RESTARTS   AGE\r\nswarm-camel-2856146500-ng5yy   0/1       Running   0          14s\r\ndavsclaus:/Users/davsclaus/$ kubectl get pods\r\nNAME                           READY     STATUS    RESTARTS   AGE\r\nswarm-camel-2856146500-ng5yy   0/1       Running   0          21s\r\ndavsclaus:/Users/davsclaus/$ kubectl get pods\r\nNAME                           READY     STATUS    RESTARTS   AGE\r\nswarm-camel-2856146500-ng5yy   1/1       Running   0          31s\r\n```\r\n\r\nBefore the pod was started asap and it would of course fail to service the traffic."}}
{"actor":{"display_login":"davsclaus"}}