Skip to content

Commit

Permalink
fix: switch image and source repo links (#15)
Browse files Browse the repository at this point in the history
fix: use drpsychick/arkserver image (maintained, regularly built, different & recent versions)
chore: use 'focal' by default
feat: commit runConfigurations for helm & ct
  • Loading branch information
DrPsychick authored Aug 13, 2022
1 parent d4836db commit 5d6b490
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 28 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea
.idea/*.xml
.idea/*.iml
.idea/inspectionProfiles
9 changes: 9 additions & 0 deletions .idea/runConfigurations/ct_lint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/runConfigurations/helm_template.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 6 additions & 7 deletions charts/ark-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARK Survival Evolved is sandbox survival game available for example on Steam: https://store.steampowered.com/app/346110/ARK_Survival_Evolved/

## How It Works
The chart is based on the docker image https://github.com/thmhoag/arkserver
The chart is based on the docker image https://github.com/SickHub/arkserver (previously https://github.com/drpsychick/arkserver forked from https://github.com/thmhoag/arkserver)
which uses `arkmanager` (https://github.com/arkmanager/ark-server-tools)
to install and update ARK from steam as well as mods.

Expand All @@ -17,7 +17,8 @@ All servers will share the `ShooterGame` server files and `clusters` directory,
* one volume for the shared cluster files (mounted as `/arkserver/ShooterGame/Saved/clusters`)

## Deploy ark-cluster
First start ONE server, he should also have all mods configured that you want to use.
Only configure ONE server to do `updateOnStart`, all other servers will wait for the server and mods to be up to date
before starting the server. The server doing the updates should thus be the one with ALL mods configured you want to use.

You **must** configure [`persistence`](#persistence), if you want your data to be persisted (Game, Saved, ... everything).

Expand Down Expand Up @@ -90,7 +91,8 @@ servers:
```

### Persistence
Ways of configuring persistence. If you don't configure persistence, the game will be downloaded in `emptyDir` and all changes lost when the pod is deleted.
Ways of configuring persistence. If you don't configure persistence, the game will be downloaded in `emptyDir` and all
changes lost when the pod is deleted.
1. provide a `PersistentVolume` for game, cluster and each server
2. provide an `existingClaim` for game, cluster and each server

Expand Down Expand Up @@ -129,8 +131,6 @@ persistence:
```
### Shared Server Files
TODO: make this optional!
Server files are shared across multiple ARK instances of the cluster
```yaml
extraEnvVars:
Expand All @@ -151,7 +151,6 @@ metadata:
name: arkcluster-quota
spec:
hard:
# limit to max 3 running servers
requests.cpu: "3"
requests.memory: 18Gi
# limit to max 3 running servers
Expand All @@ -166,5 +165,5 @@ spec:
## Credits
Inspired by
* https://github.com/itzg/minecraft-server-charts
* https://github.com/thmhoag/arkserver
* https://github.com/SickHub/arkserver
* Icon from [Freepik](https://www.freepik.com) found on [Flaticon](https://www.flaticon.com/)
3 changes: 1 addition & 2 deletions charts/ark-cluster/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ spec:
value: "true"
- name: am_arkopt_clusterid
value: {{ $.Values.clusterName | quote }}
# TODO: make this optional
- name: am_arkStagingDir
value: ""
- name: ARKSERVER_SHARED
Expand Down Expand Up @@ -151,7 +150,7 @@ spec:
value: {{ $rconpass | quote }}
{{- end }}
- name: am_ark_GameModIds
value: {{ join "," $mods | quote }}
value: '{{ join "," $mods | quote }}'
- name: am_arkGameIniFile
value: /arkconfig/Game.ini
- name: am_arkGameUserSettingsIniFile
Expand Down
36 changes: 18 additions & 18 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/DrPsychick/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.313886+02:00"
Expand All @@ -33,9 +33,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/DrPsychick/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.31305+02:00"
Expand All @@ -62,9 +62,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/DrPsychick/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.312232+02:00"
Expand All @@ -91,9 +91,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/DrPsychick/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.31137+02:00"
Expand All @@ -120,9 +120,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/thmhoag/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.310559+02:00"
Expand All @@ -143,9 +143,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/thmhoag/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.309699+02:00"
Expand All @@ -166,9 +166,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/thmhoag/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.308964+02:00"
Expand All @@ -189,9 +189,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/thmhoag/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.308091+02:00"
Expand All @@ -212,9 +212,9 @@ entries:
- annotations:
artifacthub.io/links: |
- name: Image source
url: https://github.com/thmhoag/arkserver
url: https://github.com/SickHub/arkserver
- name: Image DockerHub
url: https://hub.docker.com/r/drpsychick/arkcluster
url: https://hub.docker.com/r/drpsychick/arkserver
apiVersion: v2
appVersion: latest
created: "2021-07-09T18:57:27.306499+02:00"
Expand Down

0 comments on commit 5d6b490

Please sign in to comment.