apiVersion: v1
kind: Service
metadata:
  name: todo-service
  namespace: todox
  labels:
    run: todo-service
spec:
  selector:
    app: todo
    tier: backend
  ports:
    - protocol: TCP
      port: 8080