service yaml file

This commit is contained in:
2026-02-16 16:34:16 +00:00
parent 824a3ec8de
commit 3704465a7e

12
k8s/service.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: nodejs-app
namespace: apps
spec:
selector:
app: nodejs-app
ports:
- port: 80
targetPort: 3000
type: ClusterIP