Add Factorio
This commit is contained in:
40
apps/factorio/deployment.yaml
Normal file
40
apps/factorio/deployment.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: factorio
|
||||
namespace: factorio
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: factorio
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: factorio
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: workload
|
||||
operator: In
|
||||
values:
|
||||
- Games
|
||||
containers:
|
||||
- name: factorio
|
||||
image: factoriotools/factorio:latest
|
||||
ports:
|
||||
- containerPort: 34197
|
||||
protocol: UDP
|
||||
env:
|
||||
- name: SERVER_NAME
|
||||
value: "UWU-Danta"
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /factorio
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: factorio-data
|
||||
Reference in New Issue
Block a user