apiVersion: v1
kind: Service
metadata:
  name: nginx-app1
  labels:
    app: nginx-app1
spec:
#  type: ClusterIP
  type: NodePort
  ports:
  - port: 8080
    targetPort: 80
    nodePort: 30080
  selector:
    app: nginx-app1

