zkt25/assignment2/service.yaml
2025-05-11 00:01:27 +02:00

15 lines
207 B
YAML

apiVersion: v1
kind: Service
metadata:
name: weather-service
namespace: webapp-ns
spec:
selector:
app: weather-frontend
ports:
- protocol: TCP
port: 80
targetPort: 80
type: NodePort