We have rancher running on two nodes behind an Nginx LB, everything so far is working, dashboard, one app deployed and traefik dashboard accessible.
But from the old Microk8s cluster we can not get some external endpoints working. They are almost working, but massively slow, get a login screen and then wont proceed.
We have tried both externalname and clusterIP endpoint services.
Currently the ingress is via a traefik IngreeRoute CRD.
We do not believe this is a traefik issue, its something to do with the application environment for Rancher accessing the external points. After all we have one webapp within Kubernetes happily operating.
kubectl apply -f - << EOF
apiVersion: v1
kind: Endpoints
metadata:
name: traefikilo1endpoint
namespace: traefik
subsets:
- addresses:
- ip: 10.2.0.34
ports:
- name: https
port: 443
EOF
kubectl apply -f - << EOF
apiVersion: v1
kind: Service
metadata:
name: traefikilo1endpoint
namespace: traefik
spec:
ports:
- name: https
port : 443
EOF
kubectl apply -f - << EOF
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: ilo1.ingress443
namespace: traefik
spec:
entryPoints:
- websecure
routes:
- match: Host(\`ilo1.example.local\`)
kind: Rule
services:
- name: traefikilo1endpoint
kind: Service
port: 443
serversTransport : traefikilo1serverstransport
EOF