From d98880e406b2798d55b2d972171f603727393568 Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Fri, 20 Jan 2023 23:59:51 +0000 Subject: [PATCH] update --- test.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test.yaml b/test.yaml index 6c77c25..2c6be3a 100644 --- a/test.yaml +++ b/test.yaml @@ -18,3 +18,19 @@ spec: - name: rtmp-adr image: git.oe74.net/adelorenzo/rtmp-adr:0.6 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