mantl / consul-cli

Command line interface to Consul HTTP API
Apache License 2.0
251 stars 67 forks source link

Service checks does not accept TCP check & other features? #42

Closed hihellobolke closed 6 years ago

hihellobolke commented 7 years ago

Some of Consul API features are not available. For example, both these fail:

Trying to register a webserver with a check for :443 port (self signed certificate)

consul-cli service register --address=1.2.3.4 --port=443 --tag=https --check=http:30s:1.2.3.4:443 --check=TLSSkipVerify:true https-webserver

Doing a TCP test 443 port:

consul-cli service register --address=1.2.3.4 --port=443 --tag=https --check=tcp:30s:1.2.3.4:443 -https-webserver 
thomasvincent commented 7 years ago

@KaGeN101 or @Theaxiom how much work?