Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

162
Views
No puedo entender nginx.ingress.kubernetes.io/app-root: "/identity" con múltiples servicios debajo

Tengo una definición de ingreso como esta

 apiVersion: extensions/v1beta1 kind: Ingress metadata: name: {{ $fullName }}-stateful labels: app: oxauth annotations: kubernetes.io/ingress.class: "nginx" nginx.org/ssl-services: "oxtrust" nginx.ingress.kubernetes.io/app-root: "/identity" <------------------- CONFUSING nginx.ingress.kubernetes.io/affinity: "cookie" spec: {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.ingress.hosts }} - host: {{ . | quote }} http: paths: - path: /identity backend: serviceName: oxtrust servicePort: 8080 - path: /idp backend: serviceName: oxshibboleth servicePort: 8080 - path: /passport backend: serviceName: oxpassport servicePort: 8090

Sé que se supone que nginx.ingress.kubernetes.io/app-root redirigirá las solicitudes provenientes de / a la definida allí. Mi pregunta es, ya que ahora tenemos múltiples servicios definidos bajo ese objeto de ingreso, ¿qué sucederá? Estoy muy confundido aquí. Teniendo en cuenta que hay otro ingreso definido como se muestra.

 apiVersion: extensions/v1beta1 kind: Ingress metadata: name: {{ $fullName }}-base labels: app: oxtrust annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/app-root: "/identity" nginx.ingress.kubernetes.io/affinity: "cookie" nginx.ingress.kubernetes.io/session-cookie-name: "route" nginx.ingress.kubernetes.io/session-cookie-hash: "sha1" spec: {{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} rules: {{- range .Values.ingress.hosts }} - host: {{ . | quote }} http: paths: - path: / backend: serviceName: oxtrust servicePort: 8080 {{- end }}

Muy apreciado.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Cualquier solicitud que llegue a través de las rutas especificadas en esa definición de ingreso debe reescribirse o dirigirse a /identity

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!