Recent Entries 3
- pattern minor 112d agoSSL issue while reaching kubernetes dashboardI'm configuring a kubernetes cluster (using microk8s) and cert-manager. Certificates work fine to traefik dashboard and to other sites but I have an issue with kubernates dashboard as it's already server via SSL (service is on port 443) and I currently expose a Let'sEncrypt certificate. When I try to reach the dashboard the dashboard's pod logs: ``` 2021/06/17 07:43:20 http: TLS handshake error from 213.215.191.83:39484: remote error: tls: bad certificate 2021/06/17 07:43:23 http: TLS handshake error from 213.215.191.83:39500: remote error: tls: bad certificate ``` The `IngressRoute` I'm using is: ``` apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: dashboard-k8s namespace: kube-system spec: entryPoints: - websecure routes: - match: "Host(`k.example.com`)" kind: Rule services: - name: kubernetes-dashboard port: 443 tls: secretName: k8s-dashboard-http-cert ``` I have no clear idea of how should SSL work in this scenario. Would it be safe to have dashboard served on 80 and SSL terminated on traefik?
- pattern minor 112d agoHow should I run a multicontainer app/platform with nginx behind traefik?I have Traefik reverse proxy running to allow a couple of docker containerized apps to run on the same domain just to learn about running multiple containers following https://www.smarthomebeginner.com/traefik-reverse-proxy-tutorial-for-docker. Everything works well. I want to install Device Hive to test it as an IOT platform, but it has multiple containers and it's own nginx proxy and docker-compose file https://github.com/devicehive/devicehive-docker/blob/master/rdbms-image/docker-compose.yml. Is there a way I can add the Device Hive platform to my existing Traefik build or is it more trouble than its worth. I wondering, more or less while making sure I'm not having a port conflict, if there's an easy way to have Traefik point a subdomain(subdomains are used for the other apps) to the 80/443 ports of the nginx proxy, and just have everything work. My other option is to create another VM for the IOT platform. I may be searching with the wrong terms but I haven't really found an answer. Any help? Note: I want to use Device Hive on my existing server which is using Traefik. When I look at the docker compose file for Device Hive I don't see how I could change it to leave Nginx out.
- snippet tip 120d agotraefik — An HTTP reverse proxy and load balancer. More information: <https://doc.traefik.io/traefik/v2.11/opeHow to use the `traefik` command: An HTTP reverse proxy and load balancer. More information: <https://doc.traefik.io/traefik/v2.11/operations/cli/>.