kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch11/bulletin-board/kubernetes/bb-service.yaml

14 lines
224 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: bulletin-board
labels:
kiamol: ch11
app: bulletin-board
spec:
ports:
- port: 8011
targetPort: http
selector:
app: bulletin-board
type: LoadBalancer