Closed dweidenfeld closed 7 years ago
Dont use 8080 for the web ui. Change to 8081 for example
apiVersion: v1
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: traefik-ingress-controller
namespace: kube-system
labels:
k8s-app: traefik-ingress-lb
spec:
replicas: 1
selector:
matchLabels:
k8s-app: traefik-ingress-lb
template:
metadata:
labels:
k8s-app: traefik-ingress-lb
name: traefik-ingress-lb
spec:
terminationGracePeriodSeconds: 60
hostNetwork: true
containers:
- image: traefik
name: traefik-ingress-lb
resources:
limits:
cpu: 200m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
ports:
- name: http
containerPort: 80
hostPort: 80
- name: admin
containerPort: 8081
args:
- --web
- --web.address=:8081
- --kubernetes
Thank you that works
Hey there,
I have a plain fresh Kuberentes setup running. Now I wanted to add Treafik, but it gives me an error, that the address 8080 is already in use:
The config is the default config from the examples folder.
or the logs
of course the port 8080 is already in use, because the api server uses it
Any ideas? Thank you :)