Skip to content

Commit

Permalink
Create service.yaml
Browse files Browse the repository at this point in the history
Service internally will be listening on port 5000, same port number as containerPort
  • Loading branch information
Saumya40-codes authored Aug 12, 2024
1 parent e09363c commit f91fee3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions server/kubernetes-config/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: doodler-service
spec:
selector:
app: doodler
ports:
- protocol: TCP
port: 5000
targetPort: 5000

0 comments on commit f91fee3

Please sign in to comment.