44 lines
777 B
YAML
44 lines
777 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: pihole-1-tcp
|
|
annotations:
|
|
metallb.universe.tf/address-pool: default
|
|
metallb.universe.tf/allow-shared-ip: "dot83"
|
|
spec:
|
|
externalTrafficPolicy: Local
|
|
loadBalancerIP: 192.168.20.83
|
|
ports:
|
|
- port: 53
|
|
targetPort: 53
|
|
name: tcp53
|
|
- port: 80
|
|
targetPort: 80
|
|
name: tcp80
|
|
selector:
|
|
app: pihole-1
|
|
type: LoadBalancer
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: pihole-1-udp
|
|
annotations:
|
|
metallb.universe.tf/address-pool: default
|
|
metallb.universe.tf/allow-shared-ip: "dot83"
|
|
spec:
|
|
externalTrafficPolicy: Local
|
|
loadBalancerIP: 192.168.20.83
|
|
ports:
|
|
- port: 53
|
|
targetPort: 53
|
|
name: udp53
|
|
protocol: UDP
|
|
selector:
|
|
app: pihole-1
|
|
type: LoadBalancer
|
|
|
|
# EOF
|