diff --git a/kubernetes/service.yaml b/kubernetes/service.yaml index 05ea7d6..e59d448 100644 --- a/kubernetes/service.yaml +++ b/kubernetes/service.yaml @@ -3,9 +3,11 @@ kind: Service metadata: name: myfirstkube spec: + type: NodePort selector: app: myfirstkube ports: - protocol: TCP port: 4206 - targetPort: 4206 \ No newline at end of file + targetPort: 4206 + nodePort: 4206 \ No newline at end of file