stuff
This commit is contained in:
35
kube-dns-loadbalancer-svc.yaml
Normal file
35
kube-dns-loadbalancer-svc.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
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
|
||||
Reference in New Issue
Block a user