fix: typos
This commit is contained in:
+12
-14
@@ -33,7 +33,7 @@ I built and pushed this image with:
|
||||
docker build -t docker.tipsy.codes/valheim:20251214 .
|
||||
```
|
||||
## k3s config
|
||||
To deploy this, I made added some files to my Flux repo. Here is a tree:
|
||||
To deploy this, I added some files to my Flux repo. Here is a tree:
|
||||
|
||||
```
|
||||
❯ tree apps/prod/valheim
|
||||
@@ -65,7 +65,7 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: valheim
|
||||
app: valheim
|
||||
spec:
|
||||
containers:
|
||||
- name: valheim
|
||||
@@ -73,7 +73,7 @@ spec:
|
||||
ports:
|
||||
- containerPort: 2456
|
||||
protocol: UDP
|
||||
- containerPort: 2457
|
||||
- containerPort: 2457
|
||||
protocol: UDP
|
||||
- containerPort: 9001
|
||||
protocol: TCP
|
||||
@@ -115,7 +115,7 @@ spec:
|
||||
- valheim-udp2
|
||||
routes:
|
||||
- services:
|
||||
- name: valheim
|
||||
- name: valheim
|
||||
port: 2457 # Replace with your service port
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
@@ -179,7 +179,7 @@ spec:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
storage: 100Gi
|
||||
volumeName: valheim-pv
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -193,7 +193,7 @@ spec:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
storage: 100Gi
|
||||
volumeName: valheim-config-pv
|
||||
# apps/prod/valheim/pv.yaml
|
||||
apiVersion: v1
|
||||
@@ -219,7 +219,6 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- machop
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -242,11 +241,10 @@ spec:
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- machop
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
- machop
|
||||
# apps/prod/valheim/service.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -269,7 +267,7 @@ spec:
|
||||
protocol: TCP
|
||||
port: 2456
|
||||
targetPort: 2456
|
||||
- name: tcp-2457
|
||||
- name: tcp-tcp2457
|
||||
protocol: TCP
|
||||
port: 2457
|
||||
targetPort: 2457
|
||||
@@ -309,4 +307,4 @@ spec:
|
||||
## Does it work?
|
||||
Yeah, it seems to work. I had some trouble with crossplay, but I have no interest in playing with console peasants anyway.
|
||||
|
||||
Happy hunting!
|
||||
Happy hunting!
|
||||
|
||||
Reference in New Issue
Block a user