traefik dualstack services
This commit is contained in:
@ -4,21 +4,4 @@ metadata:
|
|||||||
name: traefik
|
name: traefik
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
spec:
|
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
|
type: LoadBalancer
|
||||||
|
@ -7,12 +7,13 @@ namePrefix: front-
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
#### OVERLAYS for internal traefik only
|
#### OVERLAYS for internal traefik only
|
||||||
|
|
||||||
### Traefik base
|
### Traefik base
|
||||||
- ../base
|
- ../base
|
||||||
|
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
|
- path: patches/traefik-service-patch.yaml
|
||||||
- path: patches/traefik-deployment-patch.yaml
|
- path: patches/traefik-deployment-patch.yaml
|
||||||
- path: patches/nodeselector.yaml
|
- path: patches/nodeselector.yaml
|
||||||
target:
|
target:
|
||||||
|
@ -4,6 +4,7 @@ metadata:
|
|||||||
name: traefik
|
name: traefik
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
port: 80
|
port: 80
|
||||||
@ -20,5 +21,3 @@ spec:
|
|||||||
protocol: UDP
|
protocol: UDP
|
||||||
targetPort: dns
|
targetPort: dns
|
||||||
nodeport: 53
|
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
|
Reference in New Issue
Block a user