13 lines
186 B
YAML
13 lines
186 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: todo-web
|
|
labels:
|
|
kiamol: ch12
|
|
spec:
|
|
ports:
|
|
- port: 8081
|
|
targetPort: 80
|
|
selector:
|
|
app: todo-web
|
|
type: LoadBalancer |