feat: implements a better kubernetes deployment setup

This commit is contained in:
2025-11-01 11:48:40 -03:00
parent c22012b1c8
commit e35006ff3c
9 changed files with 147 additions and 9 deletions

13
.k8s/service.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
namespace: ${KUBE_NAMESPACE}
name: frontend-service
spec:
selector:
app: frontend
ports:
- port: 5000
protocol: TCP
targetPort: 5000
type: ClusterIP