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

Adds gameservers per node count and distribution #551

Merged
merged 1 commit into from
Feb 4, 2019

Conversation

cyriltovena
Copy link
Collaborator

Addresses #547

I've included gameservers per nodes (count and distribution) in our Agones GameServers dashboard and move everything related to allocations to Agones Allocations.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 7a47ff10-dfa9-42a4-a3d0-87b2614ffca0

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

A preview of the website will exist for the next 30 days:

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/551/head:pr_551 && git checkout pr_551
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.8.0-8e8383b

nodesCountStats.M(int64(len(gsPerNodes))))

for _, node := range nodes {
if c, ok := gsPerNodes[node.Name]; ok {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can be simplified to unconditional

stats.Record(context.Background(), gsPerNodesCountStats.M(gsPerNodes[node.Name]))

because default value in a map is going to be zero.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting you found a bug here ! I was counting more than required, when I made the change metrics were different and correct.

Copy link
Contributor

@jkowalski jkowalski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only minor comment, feel free to merge when ready

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: b0d31dad-0a0d-4b55-8581-c7cca0caae63

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: e1677f87-4373-49e3-a022-20a4827f18dc

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: f011461b-f3f3-4540-ae9e-6a94cad1147c

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: b60b7354-524d-4d10-b90f-b4b1a8c0e231

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: b961c74d-07a8-4c80-ae13-43e2df3de736

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@cyriltovena
Copy link
Collaborator Author

cyriltovena commented Feb 4, 2019

@jkowalski you fixed this no ?

Step #5 - "tests": --- FAIL: TestControllerSyncFleetAutoscaler (0.03s)
Step #5 - "tests":     --- PASS: TestControllerSyncFleetAutoscaler/fleet_not_available (0.19s)
Step #5 - "tests":     --- FAIL: TestControllerSyncFleetAutoscaler/scaling_down (1.13s)
Step #5 - "tests":         <autogenerated>:1: 
Step #5 - "tests":             	Error Trace:	controller_test.go:221
Step #5 - "tests":             	Error:      	Should be true
Step #5 - "tests":             	Test:       	TestControllerSyncFleetAutoscaler/scaling_down
Step #5 - "tests":             	Messages:   	fleet should have been updated
Step #5 - "tests":         <autogenerated>:1: 
Step #5 - "tests":             	Error Trace:	controller_test.go:222
Step #5 - "tests":             	Error:      	Should be true
Step #5 - "tests":             	Test:       	TestControllerSyncFleetAutoscaler/scaling_down
Step #5 - "tests":             	Messages:   	fleetautoscaler should have been updated
Step #5 - "tests":         <autogenerated>:1: 
Step #5 - "tests":             	Error Trace:	controller.go:95
Step #5 - "tests":             	            				controller_test.go:223
Step #5 - "tests":             	Error:      	"Warning FailedGetFleet could not fetch fleet: fleet-1" does not contain "AutoScalingFleet"
Step #5 - "tests":             	Test:       	TestControllerSyncFleetAutoscaler/scaling_down

Still flaky it just passed without changes

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 23207d69-5fc1-4306-851a-cf13cb65e6ee

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

A preview of the website will exist for the next 30 days:

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/551/head:pr_551 && git checkout pr_551
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.8.0-5022b65

@cyriltovena cyriltovena merged commit dd75eb8 into googleforgames:master Feb 4, 2019
@markmandel markmandel added kind/feature New features for Agones area/operations Installation, updating, metrics etc labels Feb 5, 2019
@markmandel markmandel added this to the 0.8.0 milestone Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/operations Installation, updating, metrics etc kind/feature New features for Agones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants