Sign in

Administrator / spring-boot-microservices-onlineshooping-fullstack · Files

Logo

GitLab

  • Back to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • spring-boot-microservices-onlineshooping-fullstack
  • kubernetes
  • databases
  • elasticsearch
  • service.yaml
  • modified
    dd2265fb
    Administrator authored
    2025-10-27 15:14:59 +0800  
    Browse Code ยป
service.yaml 351 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
apiVersion: v1
kind: Service
metadata:
  name: elasticsearch
  namespace: ecommerce
  labels:
    app: elasticsearch
    component: database
spec:
  selector:
    app: elasticsearch
  ports:
  - name: http
    port: 9200
    targetPort: 9200
    protocol: TCP
  - name: transport
    port: 9300
    targetPort: 9300
    protocol: TCP
  type: ClusterIP