Coder Social home page Coder Social logo

Ingress controller does not alter the Service object properties from custom Ingress configuration about kubernetes-ingress-controller HOT 8 CLOSED

kong avatar kong commented on July 22, 2024
Ingress controller does not alter the Service object properties from custom Ingress configuration

from kubernetes-ingress-controller.

Comments (8)

hbagdi avatar hbagdi commented on July 22, 2024

Hi @xwrs
Thank you for opening this issue.
Could you post Ingress and KongIngress specs to reproduce?
This will help us addressing this issue faster.

from kubernetes-ingress-controller.

xwrs avatar xwrs commented on July 22, 2024

@hbagdi

apiVersion: configuration.konghq.com/v1
kind: KongIngress
metadata:
  name: kong-ingress-config
proxy:
  connect_timeout: 120000
  read_timeout: 120000
  retries: 3
  write_timeout: 120000
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    configuration.konghq.com: kong-ingress-config
    nginx.ingress.kubernetes.io/rewrite-target: /
  name: identity
spec:
  rules:
  - host: xxx
    http:
      paths:
      - backend:
          serviceName: identity
          servicePort: 80
        path: /identity

from kubernetes-ingress-controller.

hbagdi avatar hbagdi commented on July 22, 2024

I can't reproduce this locally on k8s v1.10.0.
Do you see any errors on the ingress controller?

Also, the following annotation will not have any effect in Kong. It is something specific to Nginx ingress.

nginx.ingress.kubernetes.io/rewrite-target: /

from kubernetes-ingress-controller.

jaygorrell avatar jaygorrell commented on July 22, 2024

The issue lists 0.13 as the ingress version but that's the kong version. Is this not similar to #91, which was fixed in 0.1.0?

from kubernetes-ingress-controller.

hbagdi avatar hbagdi commented on July 22, 2024

@jaygorrell Indeed. That could be the case.
@xwrs Could you share the version of the ingress controller?
You can get that from the deployment spec of your ingress controller.

from kubernetes-ingress-controller.

xwrs avatar xwrs commented on July 22, 2024

Ingress Controller is of version 0.0.4. Tried on Kubernetes 1.10.1 and issue is the same.

from kubernetes-ingress-controller.

hbagdi avatar hbagdi commented on July 22, 2024

@xwrs Please try with Ingress controller 0.1.0.

from kubernetes-ingress-controller.

xwrs avatar xwrs commented on July 22, 2024

@jaygorrell @hbagdi 0.1.0 works perfectly. thanks

from kubernetes-ingress-controller.

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.