24 lines
389 B
YAML
24 lines
389 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: adguard-service
|
|
namespace: adguard
|
|
spec:
|
|
selector:
|
|
app: adguard
|
|
ports:
|
|
- protocol: TCP
|
|
port: 3000
|
|
targetPort: 3000
|
|
name: http-initial
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|
|
name: http
|
|
- protocol: UDP
|
|
port: 53
|
|
targetPort: 53
|
|
name: dns
|
|
type: LoadBalancer
|
|
loadBalancerIP: 192.168.178.101
|