Comments (6)
One possible extra wrinkles - it may need to be grpc status codes, such as what you see here:
https://pkg.go.dev/google.golang.org/grpc/codes#pkg-types
See:
For the mappings.
from agones.
Shall I work on this task?
from agones.
@Kalaiselvi84 sounds good!
from agones.
Could you please confirm if the following steps are the correct approach?
-
Add new entry[HTTP_STATUS_UNALLOCATED] under the allocator section in the values.yaml.
agones/install/helm/agones/values.yaml
Line 186 in 4bb6731
-
Reflect the new env variable in the allocation.yaml.
-
Implement a function to fetch the code from the env variable[HTTP_STATUS_UNALLOCATED] in the converter.go file.
-
Use
helm upgrade
to deploy the changes.
from agones.
Add new entry[HTTP_STATUS_UNALLOCATED] under the allocator section in the values.yaml.
I'm thinking something like:
agones.allocator.service.http.unallocatedStatus
?
Since I think that would be the right nesting and semantic position.
And then yes, that would need to be arg passed into the Allocator Service.
Implement a function to fetch the code from the env variable[HTTP_STATUS_UNALLOCATED] in the converter.go file.
You can extend the existing viper
code to do the parsing. By default it should be http code 429 as it is now, if it's not set.
I think we'll have to be clear in the docs, that we are specifying which gRPC status to return. which is defined here (best reference I could find), and shows how gRPC codes are matched to HTTP codes :
https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto#L32-L185
🤔 there's an interesting question on how we can e2e test this without some kind of custom install. Will need to think on that one.
from agones.
Just reopening, as I noticed the PR has no docs 😄
Can we add some docs to the Helm configuration page please?
from agones.
Related Issues (20)
- golang_version_upgrade template does not appear in list of issue templates in GitHub
- Revert windows ltsc2019 SHA usage. HOT 1
- Cloud Build script for simple genai server Example Image HOT 1
- (Re) Numeric Based Naming for Game Servers
- Kubernetes-Native Service Load Balancer Support for GameServer
- Cron Job to restart the game server in-place
- Release 1.42.0 HOT 1
- Docs: Add Option for Extensions Components to use Host Network and Configure Ports HOT 3
- Update Supported Kubernetes to 1.28, 1.29, 1.30
- Allocator metrics missing in Agones 1.42.0
- Refactor metrics register exporter setup
- Unit test to check if metrics endpoint is scraping metrics
- [Agones Unity SDK] Add instructions to run tests using a Container Image(s) HOT 9
- Move Feature GKEAutopilotExtendedDurationPods to Beta HOT 6
- Migration from pterodactyl to agones | Egg like solution | More real steamserver examples
- Issue with Agones Game Server Connectivity Using Cilium CNI HOT 8
- Fleet autoscaler with "List" policy throws an error if configured with a fleet with no replicas HOT 3
- CORS enabled on ping service
- Upgrade to Golang 1.22.6 HOT 1
- Extend Webhook autoscaler to send fleet metadata with the request HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agones.