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

14 lines
207 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: numbers-web
labels:
kiamol: ch19
spec:
ports:
- port: 8090
targetPort: 80
selector:
app: numbers
component: web
type: LoadBalancer