diff --git a/servers/terraria/README.md b/servers/terraria/README.md index d48ef7f..a57d7cd 100644 --- a/servers/terraria/README.md +++ b/servers/terraria/README.md @@ -6,7 +6,7 @@ Latest Version   Image Size   Docker Pulls   - CI Badge +

> Dig, fight, explore, build! Nothing is impossible in this action-packed adventure game. @@ -17,30 +17,20 @@ > > #### Pull the container Image from the mirrors below: >   -> [Dockerhub][dockerhub-uri]   |   [Github Container Registry][pull-link] -> +> [Dockerhub][dockerhub-uri]   #### Getting started - To deploy a sample gameserver individually ```bash -task terraria:deploy:gs -# Or if you prefer to use kubectl directly kubectl apply -k github.com/gruberdev/gaming/servers/terraria/deploy/gs ``` -- To deploy a fleet of Terraria servers (with auto-scaling) -```bash -task terraria:deploy:fleet -# Or if you prefer to use kubectl directly -kubectl apply -k github.com/gruberdev/gaming/servers/terraria/deploy/fleet -``` - -- How to request help about CLI commands regarding this game: +- To deploy a fleet of Terraria servers (with auto-scaling) ```bash -task terraria:help +kubectl apply -k github.com/gruberdev/gaming/servers/terraria/deploy/fleet ```
diff --git a/servers/terraria/deploy/fleet/fleet.yaml b/servers/terraria/deploy/fleet/fleet.yaml index c0affc4..78c66b4 100644 --- a/servers/terraria/deploy/fleet/fleet.yaml +++ b/servers/terraria/deploy/fleet/fleet.yaml @@ -8,10 +8,7 @@ spec: replicas: 1 scheduling: Packed strategy: - type: RollingUpdate - rollingUpdate: - maxSurge: 25% - maxUnavailable: 25% + type: Recreate template: metadata: labels: @@ -21,14 +18,13 @@ spec: eviction: safe: Always ports: - - name: default + - name: gate portPolicy: Dynamic container: terraria-vanilla-fleet containerPort: 7777 protocol: TCP health: - disabled: false - initialDelaySeconds: 200 + initialDelaySeconds: 160 periodSeconds: 5 failureThreshold: 3 sdkServer: @@ -44,7 +40,7 @@ spec: spec: containers: - name: terraria-vanilla-fleet - image: docker.io/grubertech/terraria:v1.4.4.9 + image: docker.io/grubertech/terraria:1.4.4.9 imagePullPolicy: Always envFrom: - configMapRef: @@ -58,8 +54,8 @@ spec: cpu: 250m memory: 512Mi limits: - cpu: 2000m - memory: 2Gi + cpu: 1000m + memory: 1280Mi volumeMounts: - name: config-volume mountPath: /server/Linux/serverconfig.txt