Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Kubernetes manifests #346

Merged
merged 7 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions cluster/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ metadata:
labels:
app: satisfactory
spec:
type: NodePort
type: LoadBalancer
allocateLoadBalancerNodePorts: true
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
# might be necessary for your cluster:
# loadBalancerIP: <external-IP>
ports:
- port: 7777
nodePort: 7777
- name: "game"
port: 7777
protocol: UDP
name: "game"
targetPort: 7777
- port: 7777
nodePort: 7777
- name: "api"
port: 7777
protocol: TCP
name: "gametcp"
targetPort: 7777
selector:
app: satisfactory
app: satisfactory
19 changes: 14 additions & 5 deletions cluster/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,25 @@ spec:
- name: STEAMBETA
value: "false"
ports:
- containerPort: 7777
name: "gameTCP"
- name: "api"
containerPort: 7777
protocol: TCP
- containerPort: 7777
name: "game"
- name: "game"
containerPort: 7777
protocol: UDP
volumeMounts:
- name: satisfactory-data
- name: satisfactory-config
mountPath: /config
- name: satisfactory-data
mountPath: /config/gamefiles
volumeClaimTemplates:
- metadata:
name: satisfactory-config
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi
- metadata:
name: satisfactory-data
spec:
Expand Down
Loading