backend/deploy/2-service.yaml

25 lines
344 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: noded-backend
namespace: noded
spec:
selector:
app: noded-backend
ports:
- port: 80
targetPort: 8000
---
apiVersion: v1
kind: Service
metadata:
name: noded-frontend
namespace: noded
spec:
selector:
app: noded-frontend
ports:
- port: 80
targetPort: 80