---
apiVersion: v1
kind: Service
metadata:
   name: post
   labels:
     app: reddit
     component: post
spec:
  type: NodePort
  ports:
  - nodePort: 30500
    name: web
    port: 5000
    protocol: TCP
    targetPort: 5000
  selector:
    app: reddit
    component: post
