kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch03/numbers/web-service.yaml

11 lines
165 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: numbers-web
spec:
ports:
- port: 8080
targetPort: 80
selector:
app: numbers-web
type: LoadBalancer