Advertisement
PandaAcademy

frontend.service

Apr 20th, 2022 (edited)
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.21 KB | None | 0 0
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4.   name: frontend-service
  5. spec:
  6.   type: NodePort
  7.   selector:
  8.     app: frontend
  9.   ports:
  10.     - protocol: TCP
  11.       port: 5000
  12.       targetPort: 5000
  13.       nodePort: 30080
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement