don't overwrite default traefik
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik
|
name: traefik-custom-controller
|
||||||
labels:
|
labels:
|
||||||
app: traefik
|
app: traefik-custom-controller
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: traefik
|
app: traefik-custom-controller
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: traefik
|
app: traefik-custom-controller
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: traefik-custom-controller
|
serviceAccountName: traefik-custom-controller
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik
|
name: traefik-custom-controller
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: traefik
|
app: traefik-custom-controller
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 9080
|
port: 9080
|
||||||
|
|||||||
Reference in New Issue
Block a user