blog/blog-balance.yaml

18 lines
261 B
YAML
Raw Normal View History

2023-01-21 16:43:27 -05:00
apiVersion: v1
kind: Service
metadata:
name: blog-balancer
labels:
app: blog-balancer
spec:
type: LoadBalancer
ports:
- name: blog-balancer
port: 80
protocol: TCP
targetPort: 3000
selector:
app: blog-dep
sessionAffinity: None