awslabs / fleetiq-adapter-for-agones Goto Github PK
View Code? Open in Web Editor NEWFor running containerized game servers on Spot instances reliably and safely
License: Apache License 2.0
For running containerized game servers on Spot instances reliably and safely
License: Apache License 2.0
The awk
on the quickinstall.sh line 161 fails because there's multiple lines with NODE_TAINTS=
in the launch template now.
By adding -m1
limits the match to first hit making the awk
replacement work again. Without this the daemon will fail to add/update the taint in main.py line 206 to fail as there are no taints defined on the node.
Error on logs:
Registering game server
The game server is already registered
The instance is HEALTHY
Updating game server health
Claiming game server
The instance has already been claimed
Changing status to utilized
Traceback (most recent call last):
File "main.py", line 347, in <module>
main()
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "main.py", line 322, in main
initialize_game_server(GameServerGroupName=game_server_group_name, GameServerId=game_server_id, InstanceId=instance_id)
File "main.py", line 207, in initialize_game_server
taints.append(taint)
AttributeError: 'NoneType' object has no attribute 'append'
If the nodes are not properly tainted, the daemon will throw an error when it gets here. We need to add a try-catch block to a) add the missing taint agones.dev/game-servers or b) throw an error or c) both.
In: Agones_EKS_FleetIQ_Integration_Package[BETA]/quick_install/fleet_eks_agones_quickinstall.sh
There is a hard-coded Account ID which is causing Step 13 to fail.
Fix is to replace with ${ACCOUNT_ID}
Both these commands fail:
helm pull 820537372947.dkr.ecr.us-west-2.amazonaws.com/gamelift-daemon:0.1.1
helm pull 820537372947.dkr.ecr.us-west-2.amazonaws.com/gamelift-common-services:0.1.0
With "Error: repo 820537372947.dkr.ecr.us-west-2.amazonaws.com not found", even after docker login
agones, afaik, has release a candidate with windows support. will amazon be able to help with that?
Apologies for the newbie question - I am learning about Agones, GameLift FleetIQ and plan to use AWS FlexMatch to create a game service for CSGO (source engine) - I plan to use a webhook autoscaler with AWS and write a wrapper for the game server.
I followed the guide to create a workspace and set up all the aws resources - all good managed to get to the end of the guide and proceed with the scaling up and replicas seeing the nodes - however it didn't ever scale up to 100 nodes stopping at 54 with 1 group and 60 with 2 groups. I'd like to understand more of this adapter and agones but I can't see any of these resources in my AWS account except for the GameLift groups. The EKS cluster does show up but doesn't display any nodes.
This isn't really an issue with the repo - I'd just like to learn more but I can't see any forum or slack channel/similar for this. I'd like to be able to work on the components of the solution architecture and visualise where I need to work on, if you guys can give any recommendations.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.