Create service.yaml

This commit is contained in:
AbhishekHS220
2025-05-26 09:46:21 +05:30
committed by GitHub
parent a36ae1f688
commit b1437d8472

13
Deployment/service.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: onix-adapter-service
namespace: onix-adapter # Namespace
spec:
selector:
app: onix-adapter # This should match the app name in deployment.yaml
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: LoadBalancer #NodePort or LoadBalancer