feat: rout to nightscout

This commit is contained in:
2026-11-04 20:45:00 +01:00
parent a0a7d2d7ea
commit ce4a4fdbd6
5 changed files with 90 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Service zonder selector: Kubernetes maakt zelf geen Endpoints aan.
# Het Endpoints-object hieronder levert het externe adres (buiten het cluster).
apiVersion: v1
kind: Service
metadata:
name: ns-external
namespace: external
spec:
type: ClusterIP
ports:
- name: http
port: 1337
targetPort: 1337
protocol: TCP
---
apiVersion: v1
kind: Endpoints
metadata:
name: ns-external
namespace: external
subsets:
- addresses:
- ip: 192.168.2.12
ports:
- name: http
port: 1337
protocol: TCP