Gluttony-Cluster/games/factorio/factorio-deployment.yaml
Tyler Perkins bbf10df554
All checks were successful
continuous-integration/drone/push Build is passing
Add back factorio
2023-11-10 15:41:30 -05:00

30 lines
580 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: factorio
namespace: games-ns
spec:
replicas: 1
selector:
matchLabels:
app: games
template:
metadata:
labels:
app: games
spec:
containers:
- name: factorio
image: factoriotools/factorio:stable
ports:
- containerPort: 34179
- containerPort: 27015
volumeMounts:
- name: factorio-save
mountPath: /factorio
volumes:
- name: factorio-save
persistentVolumeClaim:
claimName: factorio-pvc