apiVersion: v1
kind: Service
metadata:
  name: oghma-proxy
  namespace: nimmersky
  labels:
    app.kubernetes.io/name: oghma-proxy
    app.kubernetes.io/part-of: nimmerverse
spec:
  type: ClusterIP
  selector:
    app.kubernetes.io/name: oghma-proxy
  ports:
    - name: http
      port: 8100
      targetPort: http
      protocol: TCP

---
# Optional: Expose externally via LoadBalancer or NodePort
# for SkyrimNet running on gaming PC outside the cluster
apiVersion: v1
kind: Service
metadata:
  name: oghma-proxy-external
  namespace: nimmersky
  labels:
    app.kubernetes.io/name: oghma-proxy
    app.kubernetes.io/part-of: nimmerverse
spec:
  type: NodePort
  selector:
    app.kubernetes.io/name: oghma-proxy
  ports:
    - name: http
      port: 8100
      targetPort: http
      nodePort: 30100  # Access via <node-ip>:30100
      protocol: TCP
