36 lines
718 B
YAML
36 lines
718 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kube-dns-tcp
|
|
namespace: kube-system
|
|
annotations:
|
|
metallb.universe.tf/address-pool: default
|
|
metallb.universe.tf/allow-shared-ip: pihole-svc
|
|
spec:
|
|
selector:
|
|
k8s-app: kube-dns
|
|
ports:
|
|
- protocol: TCP
|
|
port: 53
|
|
targetPort: 53
|
|
type: LoadBalancer
|
|
loadBalancerIP: 172.23.255.253
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kube-dns-udp
|
|
namespace: kube-system
|
|
annotations:
|
|
metallb.universe.tf/address-pool: default
|
|
metallb.universe.tf/allow-shared-ip: pihole-svc
|
|
spec:
|
|
selector:
|
|
k8s-app: kube-dns
|
|
ports:
|
|
- protocol: UDP
|
|
port: 53
|
|
targetPort: 53
|
|
type: LoadBalancer
|
|
loadBalancerIP: 172.23.255.253
|