svc.yaml 280 B

1234567891011121314151617
  1. ---
  2. apiVersion: v1
  3. kind: Service
  4. metadata:
  5. name: ob-event
  6. namespace: observe
  7. spec:
  8. # type: ClusterIP
  9. type: NodePort
  10. selector:
  11. app.kubernetes.io/name: ob-event
  12. ports:
  13. - protocol: TCP
  14. port: 80
  15. targetPort: 8000
  16. name: "web"
  17. nodePort: 30010