Skip to content

Latest commit

 

History

History

vrising

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

V Rising Helm Chart

GitHub Release

This chart installs docker-vrising on a Kubernetes cluster using the Helm package manager.

Usage

Helm must be installed to use the charts. Please refer to Helm's documentation to get started.

Once Helm has been set up correctly, add the repo as follows:

helm repo add caleb-devops https://caleb-devops.github.io/helm-charts

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages. You can then run helm search repo caleb-devops to see the charts.

To install the chart:

helm install vrising caleb-devops/vrising

To upgrade the vrising chart:

helm upgrade vrising caleb-devops/vrising

To uninstall the chart:

helm uninstall vrising

Configuration

See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml.

Networking

This chart uses a LoadBalancer Service to expose the application outside Kubernetes:

service:
  type: LoadBalancer
  ## Example annotations for kube-vip or MetalLB to assign an IP to the LoadBalancer
  annotations: {}
    # kube-vip.io/loadbalancerIPs: 192.168.1.100
    # metallb.universe.tf/loadBalancerIPs: 192.168.1.100
  gamePort: 9876
  queryPort: 9877
  rconPort: 25575

Note: Port-Forwarding may be required if the LoadBalancer does not use a Public IP.

Persistent volume

Data persistance is enabled by default using dynamic volume provisioning.

Warning

Set the configured storageClass reclaim policy to Retain to prevent automatic deletion of the PV if the chart is uninstalled.

Server configuration

To configure the server, add the settings under the serverHostSettings key. See https://github.com/StunlockStudios/vrising-dedicated-server-instructions/blob/master/1.0.x/INSTRUCTIONS.md for reference.

serverHostSettings:
  Name: V Rising Server
  Description: ''
  Port: 9876
  QueryPort: 9877
  MaxConnectedUsers: 40
  MaxConnectedAdmins: 4
  ServerFps: 30
  SaveName: world1
  Password: ''
  Secure: true
  ListOnSteam: false
  ListOnEOS: false
  AutoSaveCount: 20
  AutoSaveInterval: 120
  CompressSaveFiles: true
  GameSettingsPreset: ''
  GameDifficultyPreset: ''
  AdminOnlyDebugEvents: true
  DisableDebugEvents: false
  API:
    Enabled: false
  Rcon:
    Enabled: false
    Port: 25575
    Password: ''

Additional game settings can be applied under the serverGameSettings key. See https://cdn.stunlock.com/blog/2022/05/25083113/Game-Server-Settings.pdf for reference.

Tip

Settings are converted to json and saved directly to the ServerHostSettings.json and ServerGameSettings.json files. Additional settings that are not found in this Chart can still be applied using their respective keys.

Admin list

To grant admin access to the server, place SteamIDs under the adminList key.

# Example
adminList:
  - "76561197#########"
  - "76561198#########"