Skip to content

Commit

Permalink
Create service.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LondheShubham153 authored Mar 10, 2024
1 parent 0216f19 commit 4b37d35
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions k8s/service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: node-app-service
namespace: node-app
spec:
type: NodePort
selector:
app: node-app
ports:
- port: 80
targetPort: 8000
nodePort: 30003

0 comments on commit 4b37d35

Please sign in to comment.