Skip to content

Commit

Permalink
Create service.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangShandilya authored Jun 24, 2023
1 parent 97a571d commit 90e90c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deployment/service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: golang-api-service
spec:
type: NodePort
selector:
app: go-rest-api
ports:
- name: http
port: 3000
targetPort: 3000
protocol: TCP

0 comments on commit 90e90c2

Please sign in to comment.