fabio_teixei

joined 1 year ago
[–] [email protected] 1 points 11 months ago

For email I think the best choice is still M365. It's not free and not self hosted but IMHO it's by far the best e-mail/collaboration suit that exists

 

I have an radarr instance running on my kubernetes. I have configured the IngressRoute to point towards the http port of radarr (Port 7878) but traefik is tring to redirect like an https to an https endpoint that does not exists. See the following:

My deployment yaml:

apiVersion: apps/v1

kind: Deployment

metadata:

name: radarr

namespace: media

spec:

replicas: 1

selector:

matchLabels:

app: radarr

template:

metadata:

labels:

app: radarr

spec:

containers:

- name: radarr

image: cr.hotio.dev/hotio/radarr:latest

env:

- name: PUID

value: "1000"

- name: PGID

value: "1000"

- name: TZ

value: "EST"

ports:

- containerPort: 7878

name: http

protocol: TCP

volumeMounts:

- name: media

mountPath: /config

#subPath: configs/radarr

- name: dados

mountPath: /dados

#subPath: downloads/transmission

- name: data

mountPath: /data

#subPath: medias/movies

volumes:

- name: media

persistentVolumeClaim:

claimName: pvc-radarr

- name: dados

persistentVolumeClaim:

claimName: pvc-dados

- name: data

persistentVolumeClaim:

claimName: pvc-data

My Service yaml:

apiVersion: v1

kind: Service

metadata:

name: radarr

namespace: media

spec:

selector:

app: radarr

ports:

- name: https

targetPort: 7878

port: 7878

type: ClusterIP

My Ingress yaml:

apiVersion: traefik.io/v1alpha1

kind: IngressRoute

metadata:

name: radarr-ingress

namespace: media

spec:

entryPoints:

- web

routes:

- match: Host(\radarr2.domain.com`)`

kind: Rule

services:

- name: radarr

port: 7878

Here is the result on the traefik dashboard:

https://preview.redd.it/u8icie181s1c1.png?width=1006&format=png&auto=webp&s=2f59c702d7b2f631e0f114e73525cac94fb6896c

See that on the servers URL it's point to an HTTPS url, my radarr does not have https configured, so i got an "Internal Server Error" when i try toi access my exposed URL.

On Traefik logs i got the error: time="2023-11-21T22:19:26Z" level=debug msg="'500 Internal Server Error' caused by: tls: first record does not look like a TLS handshake"

Thats because traefik is trying to redirect an https trafic to an http endpoint.

I realy dont know what i did wrong and how to fix this.

Can anyone help me?

 

So, i got my home lab up and running just fine with the usual suspect apps on Docker:

  • Radarr
  • Sonarr
  • Bazarr
  • QBittorrent
  • NZBGet
  • Jacket
  • Tautulli
  • Overseerr
  • SearxNG
  • PiHole
  • Bitwarden
  • etc.

Now i have deployed an Kubernetes cluster. I'm already running Portainer, Rancher and Traefik on this cluster (MetalLB and Cert-Manager as well).
I want to move most if not all my Docker containers to Kubernetes. I know there is many ways of doing that, but using helm will be the easiest way.

Is any of you doing that? Using Kubernetes for your containers? How are you deploying the containers?

I think that using docker-compose much easier than Kubernetes even with helm and if it (kubernetes) was not de defacto standard for conainer orchestration on the enterprise world (i'm IT professional and learning Kubernetes is kinda a necessity), i would prefeer to use docker-compose with docker-swarm-mode.