user-svc.yaml 205 B

123456789101112131415
  1. ---
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: user
  6. labels:
  7. name: user
  8. spec:
  9. ports:
  10. # the port that this service should serve on
  11. - port: 80
  12. targetPort: 80
  13. selector:
  14. name: user