traefik dualstack services
This commit is contained in:
parent
32a44836ac
commit
555871bbee
@ -4,21 +4,4 @@ metadata:
|
||||
name: traefik
|
||||
namespace: traefik
|
||||
spec:
|
||||
loadBalancerIP: 192.168.178.102
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: web
|
||||
- name: websecure
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: websecure
|
||||
- name: dns
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: dns
|
||||
selector:
|
||||
app.kubernetes.io/instance: lcl-default
|
||||
app.kubernetes.io/name: traefik
|
||||
type: LoadBalancer
|
||||
|
@ -7,12 +7,13 @@ namePrefix: front-
|
||||
|
||||
resources:
|
||||
#### OVERLAYS for internal traefik only
|
||||
|
||||
|
||||
### Traefik base
|
||||
- ../base
|
||||
|
||||
|
||||
patches:
|
||||
- path: patches/traefik-service-patch.yaml
|
||||
- path: patches/traefik-deployment-patch.yaml
|
||||
- path: patches/nodeselector.yaml
|
||||
target:
|
||||
|
@ -4,6 +4,7 @@ metadata:
|
||||
name: traefik
|
||||
namespace: traefik
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
@ -20,5 +21,3 @@ spec:
|
||||
protocol: UDP
|
||||
targetPort: dns
|
||||
nodeport: 53
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: traefik
|
||||
namespace: traefik
|
||||
spec:
|
||||
loadBalancerIP: 192.168.178.2
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: web
|
||||
- name: websecure
|
||||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: websecure
|
||||
- name: dns
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: dns
|
Loading…
x
Reference in New Issue
Block a user