Last active
February 5, 2020 09:41
-
-
Save aLekSer/f0da2fb8a5a43d170d0dd711bfbd6f33 to your computer and use it in GitHub Desktop.
kubectl apply -f fleetWithFAS.yaml; remove replicas, edit label ; kubectl apply -f fleetWithFAS.yaml - leads to no rolling updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: "agones.dev/v1" | |
kind: Fleet | |
metadata: | |
name: flat-example | |
spec: | |
replicas: 5 | |
scheduling: Packed | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 1 | |
template: | |
metadata: | |
labels: | |
foo: bazar | |
spec: | |
ports: | |
- name: default | |
portPolicy: Dynamic | |
containerPort: 26000 | |
health: | |
initialDelaySeconds: 30 | |
periodSeconds: 60 | |
template: | |
spec: | |
containers: | |
- name: simple-udp | |
image: gcr.io/agones-images/udp-server:0.16 | |
--- | |
apiVersion: "autoscaling.agones.dev/v1" | |
kind: FleetAutoscaler | |
metadata: | |
name: server-autoscaler | |
spec: | |
fleetName: flat-example | |
policy: | |
type: Buffer | |
buffer: | |
bufferSize: 5 | |
minReplicas: 5 | |
maxReplicas: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kubectl apply -f fleetWithFAS.yaml;
remove replicas, edit label ;
kubectl apply -f fleetWithFAS.yaml
This steps leads to no rolling updates