apiVersion: v1
kind: Service
metadata:
  name: nanoservice-svc
  labels:
    name: nanoservice
spec:
  type: NodePort
  ports:
  - protocol: TCP
    port: 80
    targetPort: 5000
  selector:
    name: nanoservice