backend/deploy/2-service.yaml

25 lines
344 B
YAML
Raw Normal View History

2022-06-26 02:42:00 +00:00
---
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