Hi,
I’m using k3s on a home server for a few server. These works as expected. I’ve a Raspberry Pi as bare metal server. I can’t figure out/perform to manage Pi’s web service over k3s.
How can I serve Pi’s web service via k3s?
Thanks for advance.
I’m using following yaml:
http:
routers:
pihole-rtr:
entryPoints:
- https
rule: Host(`pihole.domain.ltd`)
service: pihole-svc
middlewares:
- pihole-add-admin
tls:
certresolver: letsencrypt-prod
middlewares:
pihole-add-admin:
addPrefix:
prefix: /admin
apiVersion: networking.k8s.io/v1
kind: Ingress
services
pihole-svc
loadBalancer
servers
- url 'http://192.168.1.32:80'
passHostHeader true
This error occurs;
error: unable to recognize “app-pihole.yaml”: no matches for kind “Ingress services pihole-svc loadBalancer servers - url ‘http://192.168.1.32:80’ passHostHeader true” in version “networking.k8s.io/v1”