Giter Club home page Giter Club logo

Comments (7)

JosefWN avatar JosefWN commented on May 22, 2024 1

Ah, I'm using the Google's version of ingress-nginx: https://github.com/kubernetes/ingress-nginx

See if this works, by setting different hosts for the different services: #69

It's up to the maintainer if he wants to accept it or not, but I think it would make sense to make it configurable in general, not just because of this apparent limitation.

from k8s-mediaserver-operator.

KnightDoom avatar KnightDoom commented on May 22, 2024

I will try to contribute to fix this if I can get confirmation that this issue can be replicated outside my setup. Please confirm.

from k8s-mediaserver-operator.

JosefWN avatar JosefWN commented on May 22, 2024

The chart's default works fine in ingress-nginx, you can have multiple ingresses with the same host provided they have different paths, i.e. you can't set all paths to /, rather you would use /prowlarr, /sonarr etc. Can you show us how you have modified the values for k8s-mediaserver-operator?

from k8s-mediaserver-operator.

KnightDoom avatar KnightDoom commented on May 22, 2024

No modifications were made to the ingress information
https://justpaste.it/8v20j

from k8s-mediaserver-operator.

KnightDoom avatar KnightDoom commented on May 22, 2024

NGINX-ingress image used:
image: nginx/nginx-ingress:3.0.2
Error in Nginx ingress logs.
2023-03-17T23:26:32.204288464Z I0317 23:26:32.204236 1 event.go:285] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"media", Name:"transmission", UID:"67c6184b-0058-44ee-a1d7-d22518a417f1", APIVersion:"networking.k8s.io/v1", ResourceVersion:"638161", FieldPath:""}): type: 'Warning' reason: 'Rejected' All hosts are taken by other resources

from k8s-mediaserver-operator.

KnightDoom avatar KnightDoom commented on May 22, 2024

May I ask what version of NGINX is being employed by you?

from k8s-mediaserver-operator.

KnightDoom avatar KnightDoom commented on May 22, 2024

Yes, it works if use different host names.
I was planning on creating variables around this.

I just opted to disable all the ingresses and made this one
`
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: media-ingress
namespace: media
spec:
ingressClassName: nginx
rules:

  • host: media.home
    http:
    paths:
    • backend:
      service:
      name: sabnzbd-https
      port:
      number: 9090
      path: /sabnzbd
      pathType: Prefix
    • backend:
      service:
      name: radarr
      port:
      number: 7878
      path: /radarr
      pathType: Prefix
    • backend:
      service:
      name: jackett
      port:
      number: 9117
      path: /jackett
      pathType: Prefix
    • backend:
      service:
      name: sabnzbd
      port:
      number: 8080
      path: /sabnzbd2
      pathType: Prefix
    • backend:
      service:
      name: transmission-peer-udp
      port:
      number: 51413
      path: /transmission-peer-udp
      pathType: Prefix
    • backend:
      service:
      name: transmission-peer-tcp
      port:
      number: 51413
      path: /transmission-peer-tcp
      pathType: Prefix
    • backend:
      service:
      name: plex
      port:
      number: 32400
      path: /plex
      pathType: Prefix
    • backend:
      service:
      name: plex-kube-plex
      port:
      number: 32400
      path: /plex-kube-plex
      pathType: Prefix
    • backend:
      service:
      name: plex-kube-plex
      port:
      number: 80
      path: /plex-kube-plex-http
      pathType: Prefix
    • backend:
      service:
      name: plex-kube-plex
      port:
      number: 443
      path: /plex2
      pathType: Prefix
    • backend:
      service:
      name: transmission
      port:
      number: 9091
      path: /transmission
      pathType: Prefix
    • backend:
      service:
      name: sonarr
      port:
      number: 8989
      path: /sonarr
      pathType: Prefix
    • backend:
      service:
      name: prowlarr
      port:
      number: 9696
      path: /prowlarr
      pathType: Prefix
      '

from k8s-mediaserver-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.