Comments (5)
I think we can probably close this.
It looks like enabling the feature gate gets it to function the way I expect.
from agones.
agones/pkg/apis/agones/v1/gameserver.go
Lines 514 to 532 in 27bf8a3
Is where the validation should be added (in case people are looking).
from agones.
Just to double check, it is behind a feature gate - have you enabled it?
https://agones.dev/site/docs/installation/install-agones/helm/#configuration - the value should be something like:"PortPolicyNone=true"
And could you show a bit more of your gameserver spec (with the sensitive info removed)?
from agones.
Okay, I did not use the feature gate. I would maybe expect to receive an error if I was trying to use an gated feature. Let me try that later to see if the behavior changes.
Here is more of my Fleet definition:
apiVersion: "agones.dev/v1"
kind: Fleet
metadata:
name: game-server
labels:
dev/changelist: "2024-06-12-6166-232"
spec:
replicas: 1
scheduling: Packed
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
template:
metadata:
labels:
dev/changelist: "2024-06-12-6166-232"
app.kubernetes.io/name: game-server
app.kubernetes.io/managed-by: Helm
spec:
container: game-server
ports:
- containerPort: 7777
name: game
portPolicy: None
protocol: UDP
health:
initialDelaySeconds: 30
periodSeconds: 20
failureThreshold: 5
sdkServer:
logLevel: Info
grpcPort: 9357
httpPort: 9358
template:
metadata:
labels:
dev/changelist: "2024-06-12-6166-232"
app.kubernetes.io/managed-by: Helm
spec:
containers:
- name: game-server
securityContext: {}
image: "ECR"
imagePullPolicy: Always
env:
resources: {}
volumeMounts:
- name: ini-overrides
mountPath: "blah"
subPath: FizzBuzz.ini
imagePullSecrets:
- name: ecr
serviceAccountName: game-server
securityContext: {}
volumes:
- name: ini-overrides
configMap:
name: game-server
items:
- key: FizzBuzz.ini
path: FizzBuzz.ini
nodeSelector:
serverType: gameservers
tolerations:
- effect: NoSchedule
key: serverType
operator: Equal
value: game
from agones.
Okay, I did not use the feature gate. I would maybe expect to receive an error if I was trying to use an gated feature.
That is a bug though, if the feature gate is not enabled, we should throw a validation error. I'll leave this open, as we should fix this part.
from agones.
Related Issues (20)
- `make gen-all-sdk-grpc` is ineffective for nodejs HOT 9
- [Docs] Single source of truth for example yaml files HOT 2
- Fleet autoscaler scale down delay HOT 1
- metadata.finalizers: "agones.dev": prefer a domain-qualified finalizer name to avoid accidental conflicts with other finalizer writer HOT 1
- Implement Count functions in SDKServer, and write e2e tests HOT 1
- sdkserver: add functionality to remove game server annotations
- sdkserver: add functionality to set multiple game server annotations at once HOT 4
- [e2e] Document the best path for making changes to simple-game-server for e2e tests HOT 1
- Add runAsUser, runAsGroup, and allowPrivilegeEscalation to helm chart for Agones containers HOT 8
- Release 1.41.0 HOT 1
- Fix connection-draining flakes in TestAllocatorAfterDeleteReplica / /TestGameServerCreationRightAfterDeletingOneExtensionsPod
- Update Node.js Page to Reflect that Counters and Lists is Implemented
- `make build-images` fails with no REGISTRY variable set HOT 1
- Add AppEngine cleanup to appropriate CloudBuild scripts. HOT 2
- Distributed defaults to using ListSortedGameServersPriorities when CountsAndLists is enabled HOT 2
- https and CORS for agones-ping http service HOT 1
- Beta: UpdateList using Agones 1.41 rest API doesn't update the data in the selected list HOT 13
- UpdateList REST Documentation is for Local SDK Server not SDK Server
- Allow Custom KUBERNETES_SERVICE_HOST and PORT Configuration for Agones Sidecar HOT 3
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.