Giter Site home page Giter Site logo

Removing service from Kubernetes doesn't remove HTTP settings from Application Gateway about application-gateway-kubernetes-ingress HOT 11 CLOSED

azure avatar azure commented on May 27, 2024
Removing service from Kubernetes doesn't remove HTTP settings from Application Gateway

from application-gateway-kubernetes-ingress.

Comments (11)

asridharan avatar asridharan commented on May 27, 2024

@pnieuwenhuis thanks for reporting this problem. Could you attach the ingress resource definition for completeness? Want to make sure if it is happening with HTTPs only or with both HTTP/HTTPS.

from application-gateway-kubernetes-ingress.

asridharan avatar asridharan commented on May 27, 2024

@akshaysngupta could you take a look.

from application-gateway-kubernetes-ingress.

pnieuwenhuis avatar pnieuwenhuis commented on May 27, 2024

We haven't configured HTTPS endpoints yet, so it is HTTP only. The ingress:

{
  "kind": "Ingress",
  "apiVersion": "extensions/v1beta1",
  "metadata": {
    "name": "some-service",
    "namespace": "default",
    "labels": {
      "app": "some-service",
      "chart": "some-service-1.0.0",
      "deploymenttype": "service",
      "heritage": "Tiller",
      "release": "some-service"
    },
    "annotations": {
      "kubernetes.io/ingress.class": "azure/application-gateway"
    }
  },
  "spec": {
    "rules": [
      {
        "http": {
          "paths": [
            {
              "path": "/service/some/*",
              "backend": {
                "serviceName": "some-service",
                "servicePort": "http"
              }
            }
          ]
        }
      }
    ]
  }
}

from application-gateway-kubernetes-ingress.

akshaysngupta avatar akshaysngupta commented on May 27, 2024

Looking

from application-gateway-kubernetes-ingress.

akshaysngupta avatar akshaysngupta commented on May 27, 2024

Update: Ingress controller is doing a lookup for endpoints in the service through Ingress and failing when the service doesn't exist. Will work on the fix.

from application-gateway-kubernetes-ingress.

pnieuwenhuis avatar pnieuwenhuis commented on May 27, 2024

Ok thx! Looking forward to it

from application-gateway-kubernetes-ingress.

akshaysngupta avatar akshaysngupta commented on May 27, 2024

Will update the ingress image and then close.

from application-gateway-kubernetes-ingress.

pnieuwenhuis avatar pnieuwenhuis commented on May 27, 2024

Thank you. I will test it when the image is available

from application-gateway-kubernetes-ingress.

asridharan avatar asridharan commented on May 27, 2024

@pnieuwenhuis @akshaysngupta has updated the helm charts with the correct images. Could you update your helm installation and give it a try.

from application-gateway-kubernetes-ingress.

pnieuwenhuis avatar pnieuwenhuis commented on May 27, 2024

I've updated the controller and I can now remove services from Kubernetes without breaking the ingress controller. Will monitor the operation of the controller but for now, it is working! Thanks . 👍

from application-gateway-kubernetes-ingress.

asridharan avatar asridharan commented on May 27, 2024

Awesome !! Closing this out for now. Please re-open if you see more issues.

from application-gateway-kubernetes-ingress.

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.