This commit is contained in:
Adolfo Delorenzo 2023-01-20 23:59:51 +00:00
parent 0ff68082a5
commit d98880e406

View File

@ -18,3 +18,19 @@ spec:
- name: rtmp-adr - name: rtmp-adr
image: git.oe74.net/adelorenzo/rtmp-adr:0.6 image: git.oe74.net/adelorenzo/rtmp-adr:0.6
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
---
apiVersion: v1
kind: Service
metadata:
name: rtmp-adr-svc
spec:
type: NodePort
selector:
app.kubernetes.io/name: rtmp-adr
ports:
# By default and for convenience, the `targetPort` is set to the same value as the `port` field.
- port: 8080
targetPort: 8080
# Optional field
# By default and for convenience, the Kubernetes control plane will allocate a port from a range (default: 30000-32767)
nodePort: 30080