diff --git a/sevice.yaml b/sevice.yaml new file mode 100644 index 000000000..3b795ed89 --- /dev/null +++ b/sevice.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: my-service +spec: + type: NodePort + selector: + app: nginx + ports: + - port: 80 + targetPort: 80 + nodePort: 30008