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

@@ -4,4 +4,3 @@ kind: Kustomization
resources: resources:
- main.yaml - main.yaml
- svc.yaml

View File

@@ -246,6 +246,33 @@ metadata:
name: factorio-settings name: factorio-settings
--- ---
apiVersion: v1 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 kind: PersistentVolumeClaim
metadata: metadata:
labels: labels:

View File

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

View File

@@ -4,4 +4,3 @@ kind: Kustomization
resources: resources:
- main.yaml - main.yaml
- svc.yaml

View File

@@ -1,4 +1,35 @@
apiVersion: v1 apiVersion: v1
kind: Service
metadata:
annotations:
io.cilium/lb-ipam-ips: 192.168.0.184
labels:
app.kubernetes.io/instance: teamspeak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teamspeak
app.kubernetes.io/version: 3.13.6
helm.sh/chart: teamspeak-0.7.2
name: teamspeak
spec:
ports:
- name: filetransfer
port: 30033
protocol: TCP
targetPort: filetransfer
- name: serverquery
port: 10011
protocol: TCP
targetPort: serverquery
- name: voice
port: 9987
protocol: UDP
targetPort: voice
selector:
app.kubernetes.io/instance: teamspeak
app.kubernetes.io/name: teamspeak
type: LoadBalancer
---
apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
labels: labels:

View File

@@ -18,11 +18,11 @@ image:
env: env:
TZ: UTC TZ: UTC
TS3SERVER_LICENSE: accept TS3SERVER_LICENSE: accept
# TS3SERVER_SERVERADMIN_PASSWORD: TS3SERVER_SERVERADMIN_PASSWORD:
# valueFrom: valueFrom:
# secretKeyRef: secretKeyRef:
# name: teamspeak name: teamspeak
# key: serveradmin_password key: serveradmin_password
# -- Configures service settings for the chart. # -- Configures service settings for the chart.
@@ -44,6 +44,9 @@ service:
primary: true primary: true
port: 9987 port: 9987
protocol: UDP protocol: UDP
type: LoadBalancer
annotations:
io.cilium/lb-ipam-ips: 192.168.0.184
probes: probes:
readiness: readiness:

View File

@@ -1,25 +0,0 @@
---
apiVersion: v1
kind: Service
metadata:
name: teamspeak
annotations:
io.cilium/lb-ipam-ips: 192.168.0.182
spec:
ports:
- name: filetransfer
port: 30033
protocol: TCP
targetPort: filetransfer
- name: serverquery
port: 10011
protocol: TCP
targetPort: serverquery
- name: voice
port: 9987
protocol: UDP
targetPort: voice
selector:
app.kubernetes.io/instance: teamspeak
app.kubernetes.io/name: teamspeak
type: LoadBalancer