initial migration
This commit is contained in:
61
apps/adguard/service.yaml
Normal file
61
apps/adguard/service.yaml
Normal file
@@ -0,0 +1,61 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: adguard-home
|
||||
namespace: adguard
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 3000
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
selector:
|
||||
app.kubernetes.io/instance: adguard
|
||||
app.kubernetes.io/name: adguard-home
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
metallb.universe.tf/ip-allocated-from-pool: default
|
||||
metallb.universe.tf/allow-shared-ip: adguard-svc
|
||||
|
||||
name: adguard-home-dns-tcp
|
||||
namespace: adguard
|
||||
spec:
|
||||
allocateLoadBalancerNodePorts: true
|
||||
loadBalancerIP: 192.168.3.2
|
||||
ports:
|
||||
- name: dns-tcp
|
||||
nodePort: 31306
|
||||
port: 53
|
||||
protocol: TCP
|
||||
targetPort: 53
|
||||
selector:
|
||||
app.kubernetes.io/instance: adguard
|
||||
app.kubernetes.io/name: adguard-home
|
||||
type: LoadBalancer
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
metallb.universe.tf/ip-allocated-from-pool: default
|
||||
metallb.universe.tf/allow-shared-ip: adguard-svc
|
||||
|
||||
name: adguard-home-dns-udp
|
||||
namespace: adguard
|
||||
spec:
|
||||
allocateLoadBalancerNodePorts: true
|
||||
loadBalancerIP: 192.168.3.2
|
||||
ports:
|
||||
- name: dns-udp
|
||||
nodePort: 30547
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: 53
|
||||
selector:
|
||||
app.kubernetes.io/instance: adguard
|
||||
app.kubernetes.io/name: adguard-home
|
||||
type: LoadBalancer
|
Reference in New Issue
Block a user