You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`worldName`| Prefix of the world files to use (will make new if missing) |`example-world-name`|
25
+
|`serverName`| Server name displayed in the server browser(s) |`example-server-name`|
26
+
|`password`| Server password |`password`|
27
+
|`storage.kind`| Storage strategy/soln used to provide the game-server with persistence |`hostvol`|
28
+
|`storage.hostvol.path`| The folder to be mounted into /config in the game-server pod |`/data/valheim`|
29
+
|`storage.pvc.storageClassName`| The storageClass used to create the persistentVolumeClaim |`default`|
30
+
|`storage.pvc.size`| The size of the persistent volume to be created |`1Gi`|
31
+
|`networking.serviceType`| The type of service e.g `NodePort`, `LoadBalancer` or `ClusterIP`|`LoadBalancer`|
32
+
|`nodeSelector`||`{}`|
31
33
32
34
## Persistence
33
35
34
-
The only form of persistence currently available is through mounting a `hostvol`. Please create an issue if you would like support for specific cloud storage solutions via PVCs / storageclasses. They vary by provider so PRs / testers welcome for this.
36
+
Currently persistence is supported through mounting a `hostvol` or via a `persistentVolumeClaim`. Please create an issue if you would like support for specific cloud storage solutions via PVCs / storageclasses. They vary by provider so PRs / testers welcome for this.
To use a `persistentVolumeClaim` for storage, you will need to first set up your CSI and StorageClass for your K8s cluster. Information regarding that differs by cloud provider and there are several guides available for configuring each of them.
49
+
50
+
Once you have your StorageClass set up, set `storage.kind` to `persistentVolumeClaim`, optionally set `storage.pvc.storageClassName` to the name of your previously configured StorageClass (or it will use the default StorageClass), and set `storage.pvc.size` to the size of the volume to create (default 1Gi).
51
+
44
52
### Using an existing world
45
53
46
54
To use an existing world simply set the `worldName` parameter to the name of your world then save the `.db` and `.fwl` files to the directory mounted into the pod. For example, if your world is named `myworld` then set `worldName: myworld` in your values file (or `--set worldName=myworld`) and assuming you are mounting at `/data/valheim` then your directory should look like:
0 commit comments