Created
March 6, 2019 07:07
-
-
Save afiune/25e095dacd10dae5a9d033d31144d859 to your computer and use it in GitHub Desktop.
hab-sup-endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [40][default:/src:0]# curl 0.0.0.0:9631/butterfly | jq . | |
| { | |
| "member": { | |
| "members": { | |
| "f6703feb917e4500aded7bc0cbbd052e": { | |
| "id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "incarnation": 4, | |
| "address": "172.17.0.3", | |
| "swim_port": 9638, | |
| "gossip_port": 9638, | |
| "persistent": false, | |
| "departed": false | |
| }, | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "id": "78017283d9884d2aa1355f90bf599937", | |
| "incarnation": 1, | |
| "address": "172.17.0.2", | |
| "swim_port": 9638, | |
| "gossip_port": 9638, | |
| "persistent": false, | |
| "departed": false | |
| } | |
| }, | |
| "health": { | |
| "78017283d9884d2aa1355f90bf599937": "Alive", | |
| "f6703feb917e4500aded7bc0cbbd052e": "Alive" | |
| }, | |
| "update_counter": 5 | |
| }, | |
| "membership": { | |
| "f6703feb917e4500aded7bc0cbbd052e": { | |
| "address": "172.17.0.3", | |
| "gossip_port": 9638, | |
| "incarnation": 4, | |
| "persistent": false, | |
| "swim_port": 9638, | |
| "health": "Alive" | |
| }, | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "address": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "incarnation": 1, | |
| "persistent": false, | |
| "swim_port": 9638, | |
| "health": "Alive" | |
| } | |
| }, | |
| "service": { | |
| "list": { | |
| "pg-sidecar-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "pg-sidecar-service.default", | |
| "package": "chef/pg-sidecar-service/0.0.1/20190305144830", | |
| "incarnation": 10, | |
| "cfg": { | |
| "port": 10100 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "event-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "event-service.default", | |
| "package": "afiune/event-service/0.1.0/20190228093936", | |
| "incarnation": 3, | |
| "cfg": { | |
| "cluster_id": "event-service", | |
| "host": "0.0.0.0", | |
| "nats_port": 10140, | |
| "port": 10132 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "deployment-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "deployment-service.default", | |
| "package": "afiune/deployment-service/0.1.0/20190228091028", | |
| "incarnation": 1, | |
| "cfg": { | |
| "port": 10160 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "applications-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "applications-service.default", | |
| "package": "afiune/applications-service/1.0.0/20190304145650", | |
| "incarnation": 27, | |
| "cfg": { | |
| "host": "0.0.0.0", | |
| "port": 10133 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "automate-pg-gateway.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "automate-pg-gateway.default", | |
| "package": "chef/automate-pg-gateway/0.0.1/20190305151123", | |
| "incarnation": 2, | |
| "cfg": { | |
| "port": 10145 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "redis.prod": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "redis.prod", | |
| "package": "core/redis/4.0.10/20190117192501", | |
| "incarnation": 2, | |
| "cfg": { | |
| "port": 6379 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| }, | |
| "f6703feb917e4500aded7bc0cbbd052e": { | |
| "member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "service_group": "redis.prod", | |
| "package": "core/redis/4.0.10/20190117192501", | |
| "incarnation": 1, | |
| "cfg": { | |
| "port": 6379 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.3", | |
| "hostname": "7a8c1996c836", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "automate-postgresql.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "automate-postgresql.default", | |
| "package": "chef/automate-postgresql/9.6.11/20190215191106", | |
| "incarnation": 1, | |
| "cfg": { | |
| "port": 5432, | |
| "superuser_name": "automate" | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| } | |
| }, | |
| "update_counter": 8 | |
| }, | |
| "services": { | |
| "pg-sidecar-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "pg-sidecar-service.default", | |
| "package": "chef/pg-sidecar-service/0.0.1/20190305144830", | |
| "incarnation": 10, | |
| "cfg": { | |
| "port": 10100 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "event-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "event-service.default", | |
| "package": "afiune/event-service/0.1.0/20190228093936", | |
| "incarnation": 3, | |
| "cfg": { | |
| "cluster_id": "event-service", | |
| "host": "0.0.0.0", | |
| "nats_port": 10140, | |
| "port": 10132 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "deployment-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "deployment-service.default", | |
| "package": "afiune/deployment-service/0.1.0/20190228091028", | |
| "incarnation": 1, | |
| "cfg": { | |
| "port": 10160 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "applications-service.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "applications-service.default", | |
| "package": "afiune/applications-service/1.0.0/20190304145650", | |
| "incarnation": 27, | |
| "cfg": { | |
| "host": "0.0.0.0", | |
| "port": 10133 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "automate-pg-gateway.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "automate-pg-gateway.default", | |
| "package": "chef/automate-pg-gateway/0.0.1/20190305151123", | |
| "incarnation": 2, | |
| "cfg": { | |
| "port": 10145 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "redis.prod": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "redis.prod", | |
| "package": "core/redis/4.0.10/20190117192501", | |
| "incarnation": 2, | |
| "cfg": { | |
| "port": 6379 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| }, | |
| "f6703feb917e4500aded7bc0cbbd052e": { | |
| "member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "service_group": "redis.prod", | |
| "package": "core/redis/4.0.10/20190117192501", | |
| "incarnation": 1, | |
| "cfg": { | |
| "port": 6379 | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.3", | |
| "hostname": "7a8c1996c836", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| }, | |
| "automate-postgresql.default": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "service_group": "automate-postgresql.default", | |
| "package": "chef/automate-postgresql/9.6.11/20190215191106", | |
| "incarnation": 1, | |
| "cfg": { | |
| "port": 5432, | |
| "superuser_name": "automate" | |
| }, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "initialized": false | |
| } | |
| } | |
| }, | |
| "service_config": { | |
| "list": {}, | |
| "update_counter": 0 | |
| }, | |
| "latest_service_config": {}, | |
| "service_file": { | |
| "list": {}, | |
| "update_counter": 0 | |
| }, | |
| "service_files": {}, | |
| "election": { | |
| "list": {}, | |
| "update_counter": 0 | |
| }, | |
| "latest_election": {}, | |
| "election_update": { | |
| "list": {}, | |
| "update_counter": 0 | |
| }, | |
| "latest_election_update": {}, | |
| "departure": { | |
| "list": {}, | |
| "update_counter": 0 | |
| }, | |
| "departed_members": [] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [39][default:/src:0]# curl 0.0.0.0:9631/census | jq . | |
| { | |
| "changed": true, | |
| "census_groups": { | |
| "event-service.default": { | |
| "service_group": "event-service.default", | |
| "election_status": "None", | |
| "update_election_status": "None", | |
| "leader_id": null, | |
| "service_config": null, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "population": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "pkg": { | |
| "origin": "afiune", | |
| "name": "event-service", | |
| "version": "0.1.0", | |
| "release": "20190228093936" | |
| }, | |
| "package": "afiune/event-service/0.1.0/20190228093936", | |
| "application": null, | |
| "environment": null, | |
| "service": "event-service", | |
| "group": "default", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "cluster_id": "event-service", | |
| "host": "0.0.0.0", | |
| "nats_port": 10140, | |
| "port": 10132 | |
| } | |
| } | |
| }, | |
| "update_leader_id": null, | |
| "changed_service_files": [], | |
| "service_files": {} | |
| }, | |
| "automate-pg-gateway.default": { | |
| "service_group": "automate-pg-gateway.default", | |
| "election_status": "None", | |
| "update_election_status": "None", | |
| "leader_id": null, | |
| "service_config": null, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "population": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "pkg": { | |
| "origin": "chef", | |
| "name": "automate-pg-gateway", | |
| "version": "0.0.1", | |
| "release": "20190305151123" | |
| }, | |
| "package": "chef/automate-pg-gateway/0.0.1/20190305151123", | |
| "application": null, | |
| "environment": null, | |
| "service": "automate-pg-gateway", | |
| "group": "default", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "port": 10145 | |
| } | |
| } | |
| }, | |
| "update_leader_id": null, | |
| "changed_service_files": [], | |
| "service_files": {} | |
| }, | |
| "pg-sidecar-service.default": { | |
| "service_group": "pg-sidecar-service.default", | |
| "election_status": "None", | |
| "update_election_status": "None", | |
| "leader_id": null, | |
| "service_config": null, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "population": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "pkg": { | |
| "origin": "chef", | |
| "name": "pg-sidecar-service", | |
| "version": "0.0.1", | |
| "release": "20190305144830" | |
| }, | |
| "package": "chef/pg-sidecar-service/0.0.1/20190305144830", | |
| "application": null, | |
| "environment": null, | |
| "service": "pg-sidecar-service", | |
| "group": "default", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "port": 10100 | |
| } | |
| } | |
| }, | |
| "update_leader_id": null, | |
| "changed_service_files": [], | |
| "service_files": {} | |
| }, | |
| "redis.prod": { | |
| "service_group": "redis.prod", | |
| "election_status": "None", | |
| "update_election_status": "None", | |
| "leader_id": null, | |
| "service_config": null, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "population": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "pkg": { | |
| "origin": "core", | |
| "name": "redis", | |
| "version": "4.0.10", | |
| "release": "20190117192501" | |
| }, | |
| "package": "core/redis/4.0.10/20190117192501", | |
| "application": null, | |
| "environment": null, | |
| "service": "redis", | |
| "group": "prod", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "port": 6379 | |
| } | |
| }, | |
| "f6703feb917e4500aded7bc0cbbd052e": { | |
| "member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "pkg": { | |
| "origin": "core", | |
| "name": "redis", | |
| "version": "4.0.10", | |
| "release": "20190117192501" | |
| }, | |
| "package": "core/redis/4.0.10/20190117192501", | |
| "application": null, | |
| "environment": null, | |
| "service": "redis", | |
| "group": "prod", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.3", | |
| "hostname": "7a8c1996c836", | |
| "gossip_ip": "172.17.0.3", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "port": 6379 | |
| } | |
| } | |
| }, | |
| "update_leader_id": null, | |
| "changed_service_files": [], | |
| "service_files": {} | |
| }, | |
| "automate-postgresql.default": { | |
| "service_group": "automate-postgresql.default", | |
| "election_status": "None", | |
| "update_election_status": "None", | |
| "leader_id": null, | |
| "service_config": null, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "population": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "pkg": { | |
| "origin": "chef", | |
| "name": "automate-postgresql", | |
| "version": "9.6.11", | |
| "release": "20190215191106" | |
| }, | |
| "package": "chef/automate-postgresql/9.6.11/20190215191106", | |
| "application": null, | |
| "environment": null, | |
| "service": "automate-postgresql", | |
| "group": "default", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "port": 5432, | |
| "superuser_name": "automate" | |
| } | |
| } | |
| }, | |
| "update_leader_id": null, | |
| "changed_service_files": [], | |
| "service_files": {} | |
| }, | |
| "deployment-service.default": { | |
| "service_group": "deployment-service.default", | |
| "election_status": "None", | |
| "update_election_status": "None", | |
| "leader_id": null, | |
| "service_config": null, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "population": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "pkg": { | |
| "origin": "afiune", | |
| "name": "deployment-service", | |
| "version": "0.1.0", | |
| "release": "20190228091028" | |
| }, | |
| "package": "afiune/deployment-service/0.1.0/20190228091028", | |
| "application": null, | |
| "environment": null, | |
| "service": "deployment-service", | |
| "group": "default", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "port": 10160 | |
| } | |
| } | |
| }, | |
| "update_leader_id": null, | |
| "changed_service_files": [], | |
| "service_files": {} | |
| }, | |
| "applications-service.default": { | |
| "service_group": "applications-service.default", | |
| "election_status": "None", | |
| "update_election_status": "None", | |
| "leader_id": null, | |
| "service_config": null, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "population": { | |
| "78017283d9884d2aa1355f90bf599937": { | |
| "member_id": "78017283d9884d2aa1355f90bf599937", | |
| "pkg": { | |
| "origin": "afiune", | |
| "name": "applications-service", | |
| "version": "1.0.0", | |
| "release": "20190304145650" | |
| }, | |
| "package": "afiune/applications-service/1.0.0/20190304145650", | |
| "application": null, | |
| "environment": null, | |
| "service": "applications-service", | |
| "group": "default", | |
| "org": null, | |
| "persistent": true, | |
| "leader": false, | |
| "follower": false, | |
| "update_leader": false, | |
| "update_follower": false, | |
| "election_is_running": false, | |
| "election_is_no_quorum": false, | |
| "election_is_finished": false, | |
| "update_election_is_running": false, | |
| "update_election_is_no_quorum": false, | |
| "update_election_is_finished": false, | |
| "sys": { | |
| "ip": "172.17.0.2", | |
| "hostname": "772ea9e85135", | |
| "gossip_ip": "172.17.0.2", | |
| "gossip_port": 9638, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632 | |
| }, | |
| "alive": true, | |
| "suspect": false, | |
| "confirmed": false, | |
| "departed": false, | |
| "cfg": { | |
| "host": "0.0.0.0", | |
| "port": 10133 | |
| } | |
| } | |
| }, | |
| "update_leader_id": null, | |
| "changed_service_files": [], | |
| "service_files": {} | |
| } | |
| }, | |
| "local_member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "last_service_counter": 8, | |
| "last_election_counter": 0, | |
| "last_election_update_counter": 0, | |
| "last_membership_counter": 5, | |
| "last_service_config_counter": 0, | |
| "last_service_file_counter": 0 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [39][default:/src:0]# curl 0.0.0.0:9631/services | jq . | |
| [ | |
| { | |
| "all_pkg_binds": [], | |
| "binding_mode": "strict", | |
| "binds": [], | |
| "bldr_url": "https://bldr.habitat.sh", | |
| "cfg": { | |
| "appendfsync": "everysec", | |
| "appendonly": "no", | |
| "databases": 16, | |
| "dbfilename": "dump.rdb", | |
| "logfile": "\"\"", | |
| "loglevel": "notice", | |
| "min-slaves-max-lag": false, | |
| "min-slaves-to-write": false, | |
| "no-appendfsync-on-rewrite": "no", | |
| "port": 6379, | |
| "protected-mode": "yes", | |
| "rbchecksum": "yes", | |
| "rbcompression": "yes", | |
| "repl-backlog-size": "1mb", | |
| "repl-backlog-ttl": "3600", | |
| "repl-disable-tcp-nodelay": "no", | |
| "repl-diskless-sync": "no", | |
| "repl-diskless-synx-delay": 5, | |
| "repl-ping-slave-period": 10, | |
| "repl-timeout": 60, | |
| "requirepass": "", | |
| "slave-priority": "100", | |
| "slave-read-only": "yes", | |
| "slave-serve-stale-data": "yes", | |
| "stop-writes-on-bgsave-error": "yes", | |
| "tcp-backlog": 511, | |
| "tcp-keepalive": 0, | |
| "timeout": 0, | |
| "bind": [], | |
| "save": [ | |
| { | |
| "keys": 1, | |
| "sec": 900 | |
| }, | |
| { | |
| "keys": 10, | |
| "sec": 300 | |
| }, | |
| { | |
| "keys": 10000, | |
| "sec": 60 | |
| } | |
| ] | |
| }, | |
| "channel": "stable", | |
| "config_from": null, | |
| "desired_state": "Up", | |
| "health_check": "Ok", | |
| "hooks": { | |
| "health_check": null, | |
| "init": null, | |
| "file_updated": null, | |
| "reload": null, | |
| "reconfigure": null, | |
| "suitability": null, | |
| "run": null, | |
| "post_run": null, | |
| "post_stop": null | |
| }, | |
| "initialized": true, | |
| "last_election_status": "None", | |
| "manager_fs_cfg": { | |
| "sup_root": "/hab/sup/default", | |
| "data_path": "/hab/sup/default/data", | |
| "specs_path": "/hab/sup/default/specs", | |
| "member_id_file": "/hab/sup/default/MEMBER_ID", | |
| "proc_lock_file": "/hab/sup/default/LOCK" | |
| }, | |
| "needs_reconfiguration": false, | |
| "needs_reload": false, | |
| "pkg": { | |
| "ident": "core/redis/4.0.10/20190117192501", | |
| "origin": "core", | |
| "name": "redis", | |
| "version": "4.0.10", | |
| "release": "20190117192501", | |
| "deps": [ | |
| { | |
| "origin": "core", | |
| "name": "glibc", | |
| "version": "2.27", | |
| "release": "20190115002733" | |
| }, | |
| { | |
| "origin": "core", | |
| "name": "linux-headers", | |
| "version": "4.17.12", | |
| "release": "20190115002705" | |
| } | |
| ], | |
| "dependencies": [ | |
| "core/glibc/2.27/20190115002733", | |
| "core/linux-headers/4.17.12/20190115002705" | |
| ], | |
| "env": { | |
| "PATH": "/hab/pkgs/core/redis/4.0.10/20190117192501/bin:/hab/pkgs/core/glibc/2.27/20190115002733/bin:/hab/pkgs/core/busybox-static/1.29.2/20190115014552/bin:/hab/pkgs/core/hab-plan-build/0.75.0/20190219233239/bin:/hab/pkgs/core/diffutils/3.6/20190115013221/bin:/hab/pkgs/core/less/530/20190115013008/bin:/hab/pkgs/core/make/4.2.1/20190115013626/bin:/hab/pkgs/core/mg/20180408/20190115015655/bin:/hab/pkgs/core/util-linux/2.32/20190115013746/bin:/hab/pkgs/core/vim/8.1.0577/20190115015449/bin:/hab/pkgs/core/ncurses/6.1/20190115012027/bin:/hab/pkgs/core/acl/2.2.53/20190115012136/bin:/hab/pkgs/core/attr/2.4.48/20190115012129/bin:/hab/pkgs/core/bash/4.4.19/20190115012619/bin:/hab/pkgs/core/binutils/2.31.1/20190115003743/bin:/hab/pkgs/core/bzip2/1.0.6/20190115011950/bin:/hab/pkgs/core/coreutils/8.30/20190115012313/bin:/hab/pkgs/core/file/5.34/20190115003731/bin:/hab/pkgs/core/findutils/4.6.0/20190115013303/bin:/hab/pkgs/core/gawk/4.2.1/20190115012752/bin:/hab/pkgs/core/glibc/2.27/20190115002733/bin:/hab/pkgs/core/grep/3.1/20190115012541/bin:/hab/pkgs/core/gzip/1.9/20190115013612/bin:/hab/pkgs/core/hab/0.75.0/20190219230858/bin:/hab/pkgs/core/libcap/2.25/20190115012150/bin:/hab/pkgs/core/openssl-fips/2.0.16/20190115014207/bin:/hab/pkgs/core/openssl/1.0.2q/20190115014220/bin:/hab/pkgs/core/pcre/8.42/20190115012526/bin:/hab/pkgs/core/rq/0.10.4/20190115014520/bin:/hab/pkgs/core/sed/4.5/20190115012152/bin:/hab/pkgs/core/tar/1.30/20190115012709/bin:/hab/pkgs/core/unzip/6.0/20190115014516/bin:/hab/pkgs/core/wget/1.19.5/20190115014434/bin:/hab/pkgs/core/xz/5.2.4/20190115013348/bin:/bin" | |
| }, | |
| "exposes": [ | |
| "6379" | |
| ], | |
| "exports": { | |
| "port": "port" | |
| }, | |
| "path": "/hab/pkgs/core/redis/4.0.10/20190117192501", | |
| "svc_path": "/hab/svc/redis", | |
| "svc_config_path": "/hab/svc/redis/config", | |
| "svc_config_install_path": "/hab/svc/redis/config_install", | |
| "svc_data_path": "/hab/svc/redis/data", | |
| "svc_files_path": "/hab/svc/redis/files", | |
| "svc_static_path": "/hab/svc/redis/static", | |
| "svc_var_path": "/hab/svc/redis/var", | |
| "svc_pid_file": "/hab/svc/redis/PID", | |
| "svc_run": "/hab/svc/redis/run", | |
| "svc_user": "hab", | |
| "svc_group": "hab" | |
| }, | |
| "process": { | |
| "pid": 769, | |
| "state": "up", | |
| "state_entered": 1551854968 | |
| }, | |
| "service_group": "redis.prod", | |
| "spec_file": "/hab/sup/default/specs/redis.spec", | |
| "spec_ident": { | |
| "origin": "core", | |
| "name": "redis", | |
| "version": null, | |
| "release": null | |
| }, | |
| "spec_identifier": "core/redis", | |
| "svc_encrypted_password": null, | |
| "health_check_interval": { | |
| "secs": 30, | |
| "nanos": 0 | |
| }, | |
| "sys": { | |
| "version": "0.75.0/20190220000453", | |
| "member_id": "f6703feb917e4500aded7bc0cbbd052e", | |
| "ip": "172.17.0.3", | |
| "hostname": "7a8c1996c836", | |
| "gossip_ip": "0.0.0.0", | |
| "gossip_port": 9638, | |
| "ctl_gateway_ip": "127.0.0.1", | |
| "ctl_gateway_port": 9632, | |
| "http_gateway_ip": "0.0.0.0", | |
| "http_gateway_port": 9631, | |
| "permanent": false | |
| }, | |
| "topology": "standalone", | |
| "update_strategy": "none", | |
| "user_config_updated": false | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment