Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Configured health checks don't appear with deis healthchecks:set #1030

Closed
seanknox opened this issue Aug 31, 2016 · 7 comments · Fixed by deis/workflow-cli#259
Closed

Configured health checks don't appear with deis healthchecks:set #1030

seanknox opened this issue Aug 31, 2016 · 7 comments · Fixed by deis/workflow-cli#259
Assignees
Milestone

Comments

@seanknox
Copy link
Member

Running controller v2.4.2:

$ deis healthchecks:set liveness httpGet 3000 --type web --path users/sign_in -a perftest
Applying livenessProbe healthcheck... done

=== perftest Healthchecks

web:
--- Liveness
Initial Delay (seconds): 50
Timeout (seconds): 50
Period (seconds): 10
Success Threshold: 1
Failure Threshold: 3
Exec Probe: N/A
HTTP GET Probe: Path="users/sign_in" Port=3000 HTTPHeaders=[]
TCP Socket Probe: N/A

--- Readiness
Initial Delay (seconds): 50
Timeout (seconds): 50
Period (seconds): 10
Success Threshold: 1
Failure Threshold: 3
Exec Probe: N/A
HTTP GET Probe: Path="users/sign_in" Port=3000 HTTPHeaders=[]
TCP Socket Probe: N/A

$ deis healthchecks:list -a perftest                                     
=== perftest Healthchecks

web/cmd:
--- Liveness
No liveness probe configured.

--- Readiness
No readiness probe configured.
@helgi
Copy link
Contributor

helgi commented Aug 31, 2016

From conversation on Slack - @kmala pointed out this is intended behaviour but I made this point

makes me wonder if list without proc type should just list out all proc types (either with or without the health info)

We could use this as a ticket to potentially improve the UX if we can get to an agreement on what list should look like without the proc type arg

@bacongobbler
Copy link
Member

bacongobbler commented Sep 30, 2016

Note that this is a common issue: deis/deis#5092

Perhaps there's some documentation that we need to update as well here so users aren't confused. I agree that this is a problem as it is technically a breaking change, since users were expecting output from deis healthchecks:list without specifying a process type.

@helgi
Copy link
Contributor

helgi commented Sep 30, 2016

Think we can just start outputting info when there is no proc type defined and call it a day - some docs is probably in order

@kmala
Copy link
Contributor

kmala commented Sep 30, 2016

do you mean all the healthchecks info?

@helgi
Copy link
Contributor

helgi commented Sep 30, 2016

Yeah, see my original comment on this ticket - show all proc types, potentially leave out health info, or just include it and that's just the "show me all" view, and then if you want a per proc type view you specify the proc type.

@kmala
Copy link
Contributor

kmala commented Sep 30, 2016

config doesn't have info about all the proctypes, it only knows those which have healthcheks..so for showing all proctypes we need to make more changes

@helgi
Copy link
Contributor

helgi commented Sep 30, 2016

Oh sorry yeah I meant all that have been set, beyond that I don't think we should show proc types that have no gotten things set on them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants