languagetandem-svc.yaml 394 B

123456789101112131415161718192021222324252627
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: languagetandem
  5. spec:
  6. selector:
  7. name: languagetandem
  8. ports:
  9. - protocol: TCP
  10. port: 8000
  11. targetPort: 8000
  12. name: gunicorn
  13. ---
  14. apiVersion: v1
  15. kind: Service
  16. metadata:
  17. name: languagetandem-fe
  18. spec:
  19. selector:
  20. name: languagetandem-fe
  21. ports:
  22. - protocol: TCP
  23. port: 80
  24. targetPort: 80
  25. name: http