ips fixed

This commit is contained in:
Philip Haupt
2025-05-17 17:36:39 +02:00
parent e5839c0fd6
commit ebbe85ebca
8 changed files with 71 additions and 61 deletions

View File

@@ -3,5 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- main.yaml
- svc.yaml
- main.yaml

View File

@@ -246,6 +246,33 @@ metadata:
name: factorio-settings
---
apiVersion: v1
kind: Service
metadata:
annotations:
io.cilium/lb-ipam-ips: 192.168.0.183
labels:
app.kubernetes.io/instance: factorio
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: factorio
app.kubernetes.io/version: stable
helm.sh/chart: factorio-1.2.2
name: factorio
spec:
ports:
- name: rcon
port: 27015
protocol: TCP
targetPort: rcon
- name: server
port: 34197
protocol: UDP
targetPort: server
selector:
app.kubernetes.io/instance: factorio
app.kubernetes.io/name: factorio
type: LoadBalancer
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:

View File

@@ -73,6 +73,9 @@ service:
primary: true
port: 27015
protocol: TCP
type: LoadBalancer
annotations:
io.cilium/lb-ipam-ips: 192.168.0.183
ingress:
# -- Enable and configure ingress settings for the chart under this key.

View File

@@ -1,27 +0,0 @@
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: factorio
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: factorio
app.kubernetes.io/version: stable
helm.sh/chart: factorio-1.2.2
name: factorio
annotations:
io.cilium/lb-ipam-ips: 192.168.0.183
spec:
ports:
- name: rcon
port: 27015
protocol: TCP
targetPort: rcon
- name: server
port: 34197
protocol: UDP
targetPort: server
selector:
app.kubernetes.io/instance: factorio
app.kubernetes.io/name: factorio
type: LoadBalancer