setup a new K3s on a raspberry pi cluster, latest version comes with 2.2.8 installed there were issues with the dashboard so uninstalled and upgraded the latest helm chart 10.3.6 running traefik 2.5.3
Now attempting to setup a basic app, heimdall which should run listening on port 80 with the following deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: heimdall
namespace: media
spec:
selector:
matchLabels:
app: heimdall
template:
metadata:
labels:
app: heimdall
spec:
containers:
- name: heimdall
image: linuxserver/heimdall:arm64v8-latest
resources:
limits:
memory: "128Mi"
cpu: "500m"
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: America/New_York
volumeMounts:
- mountPath: /config
name: heimdall-config
volumes:
- name: heimdall-config
hostPath:
path: /media/config/heimdall
Service spec is as follows
apiVersion: v1
kind: Service
metadata:
name: heimdall-svc
namespace: media
spec:
selector:
app: heimdall-svc
ports:
- name: web
port: 80
targetPort: web
protocol: TCP
type: ClusterIP
Traefik CRD - IngressRoute is
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: heimdall-ingrt
namespace: media
labels:
name: heimdall-ingrt
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router..tls: "false"
spec:
entryPoints:
- web
- websecure
routes:
- match: Host(`smrtrock.com`) && PathPrefix(`/home`)
kind: Rule
services:
- name: heimdall-svc
port: web
Getting the following error:
{
"ingress":"heimdall-ingrt",
"level":"error",
"msg":"subset not found for media/heimdall-svc",
"namespace":"media",
"providerName":"kubernetescrd","
time":"2021-09-25T17:41:40Z"
}
Not sure what I am missing any pointers would be awesome.