I already deploy a treafik(v2.0) in the kubernetes(v1.15.2) kube-system namespace,now I define a custom namespace and deploy my microservice apps. Because the treafik could not share pods cross namespace,so I deploy a same treafik in dabai-fat namespace.Now the treafik ingress give me this tips:
0/3 nodes are available: 1 node(s) didn't have free ports for the requested pod ports, 2 node(s) didn't match node selector.
I think the same ingress node share a same 80 and 443 port and make conflict.What is the best practice to handle this problem? Now I want to mapping the microservice config center eureka to the internet.this is my route config:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: fat-eureka-route
spec:
entryPoints:
- web
routes:
- match: Host(`k8s-fat-eureka.example.com`)
kind: Rule
services:
- name: eureka
port: 8761
所有评论(0)