Added all files

This commit is contained in:
Hirviturkki
2025-04-21 16:33:53 +02:00
commit a878ba6cc5
4 changed files with 97 additions and 0 deletions

28
deployment.yaml Normal file
View File

@@ -0,0 +1,28 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: webrtc-signal
spec:
replicas: 1
selector:
matchLabels: { app: webrtc-signal }
template:
metadata:
labels: { app: webrtc-signal }
spec:
containers:
- name: server
image: yourrepo/webrtc-signal:1.0
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: webrtc-signal
spec:
type: NodePort # or LoadBalancer if you have MetalLB
selector: { app: webrtc-signal }
ports:
- port: 8080 # clusterinternal
targetPort: 8080 # container