service.yaml 224 B

1234567891011121314
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: e-school-frontend
  5. namespace: i2
  6. spec:
  7. type: NodePort
  8. selector:
  9. app: e-school-frontend
  10. ports:
  11. - port: 8081
  12. nodePort: 31101
  13. protocol: TCP
  14. targetPort: 80