28 lines
580 B
YAML
28 lines
580 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: motioneye
|
|
annotations:
|
|
metallb.universe.tf/allow-shared-ip: share222
|
|
spec:
|
|
selector:
|
|
app: motioneye
|
|
type: LoadBalancer
|
|
# loadBalancerIP is optional. MetalLB will automatically allocate an IP
|
|
# from its pool if not specified. You can also specify one manually.
|
|
# loadBalancerIP: x.y.z.a
|
|
loadBalancerIP: 192.168.7.222
|
|
ports:
|
|
- name: port8081
|
|
protocol: TCP
|
|
port: 8081
|
|
- name: port8082
|
|
protocol: TCP
|
|
port: 8082
|
|
- name: port8765
|
|
protocol: TCP
|
|
port: 8765
|
|
|
|
# EOF
|