14 lines
210 B
YAML
14 lines
210 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: todo-web
|
||
|
labels:
|
||
|
kiamol: ch21
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: 8021
|
||
|
targetPort: 80
|
||
|
selector:
|
||
|
app: todo-list
|
||
|
component: web
|
||
|
type: LoadBalancer
|