Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move health concerns into separate package #94

Closed
wants to merge 1 commit into from
Closed

Conversation

enocom
Copy link
Contributor

@enocom enocom commented Feb 14, 2018

  • Rename gameservers.HealthController to health.Monitor
  • Duplicate test helper code across packages

Fixed #88

- Rename gameservers.HealthController to health.Monitor
- Duplicate test helper code across packages
@enocom
Copy link
Contributor Author

enocom commented Feb 14, 2018

One concern here is the duplication of test helper code. I'm tempted to leave it as is and revisit the issue once we find another concern to extract from the gameservers package.

@markmandel
Copy link
Member

markmandel commented Feb 14, 2018

Apologies,

So this is far larger scope than what I was trying to suggest.

I just meant the the http health check server should be removed - not the backing code that watched Pods and moves back up to GameServers, as that is gameserver specific.

The original ticket was more because I felt like the http server should be started in the cmd/controller, rather than in the controller, and how we want to monitor overall controller health.

The logic to do the health status values on Pods -> GameServers I feel should stay where it was, as it's very specific to GameServers, and doesn't (at this stage) have impact outside of that.

Let me know if that doesn't make sense - sounds like we should have had more of a design discussion in #88

@enocom
Copy link
Contributor Author

enocom commented Feb 14, 2018

Sounds good. Let's continue the design discussion in the issue.

@enocom enocom closed this Feb 14, 2018
@enocom enocom deleted the healths-own-pkg branch February 14, 2018 20:25
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 31658259-c2b3-4258-9db5-617f8a7be3ea

The following development artifacts have been built, and will exist for the next 30 days:

@markmandel markmandel added this to the 0.1 milestone May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants