GithubHelp home page GithubHelp logo

request help: How to start multiple unrelated ingress-apisix-composite-deployment to load traffic from different sources about apisix-ingress-controller HOT 9 OPEN

bren-ai avatar bren-ai commented on July 19, 2024
request help: How to start multiple unrelated ingress-apisix-composite-deployment to load traffic from different sources

from apisix-ingress-controller.

Comments (9)

bren-ai avatar bren-ai commented on July 19, 2024 1

I modified the configuration after installation. The exported deployment, config, and clusterrolebinding are the configurations currently in use after I modified them.

This is my configuration: demo.tgz
Reference documentation: https://apisix.apache.org/zh/blog/2023/10/18/ingress-apisix/#%E5%AE%89%E8%A3%85-apisix-ingress-controller
@Vacant2333 @Revolyssup Thank you very much for the answer

from apisix-ingress-controller.

Revolyssup avatar Revolyssup commented on July 19, 2024

@bren-ai Make sure that you set the watching namespace parameter for each deployment of ingress controller different so that they don't interfere with each other. Here it looks like both controllers are trying to modify the same resource.

from apisix-ingress-controller.

Vacant2333 avatar Vacant2333 commented on July 19, 2024

@bren-ai Make sure that you set the watching namespace parameter for each deployment of ingress controller different so that they don't interfere with each other. Here it looks like both controllers are trying to modify the same resource.

can we provide a docs for multiple install?

from apisix-ingress-controller.

Vacant2333 avatar Vacant2333 commented on July 19, 2024

I modified the configuration after installation. The exported deployment, config, and clusterrolebinding are the configurations currently in use after I modified them.

This is my configuration: demo.tgz Reference documentation: https://apisix.apache.org/zh/blog/2023/10/18/ingress-apisix/#%E5%AE%89%E8%A3%85-apisix-ingress-controller @Vacant2333 @Revolyssup Thank you very much for the answer

good! i think we can close the issue now?

from apisix-ingress-controller.

bren-ai avatar bren-ai commented on July 19, 2024

I want to know how to achieve my goal, How to start multiple unrelated ingress-apisix-composite-deployment to load traffic from different sources

from apisix-ingress-controller.

acuteaura avatar acuteaura commented on July 19, 2024

This is our values override for running a second controller via the Helm chart. We do this to have an internal-only load balancer, but maybe expanded on what you want to achieve could help us understand what you're actually trying to do here.

ingress-controller:
  config:
    ingressPublishService: apisix/apisix-internal-gateway
    kubernetes:
      ingressClass: apisix-internal
      electionId: ingress-apisix-internal-leader
    apisix:
      serviceName: apisix-internal-admin
      serviceNamespace: apisix
gateway:
  annotations:
    service.beta.kubernetes.io/azure-load-balancer-internal: "true"

Note that you also have to use the ingress name in all your CRDs to not have them processed by both controllers.

from apisix-ingress-controller.

bren-ai avatar bren-ai commented on July 19, 2024

Thanks for the answer. The purpose is only to safely isolate the traffic entrance, which is divided into public and private traffic entrances. @acuteaura

from apisix-ingress-controller.

kedare avatar kedare commented on July 19, 2024

Is there a way to have multiple independant instances sharing the same objects ?
For example I have 2 instances of the apisix helm chart (each with their own etcd and apisix-ingress-controler), 1 for private routes (via internal ALB) and another for public routes (via public LB).

I have some services that need to expose both public and private routes, how can I achieve this ?

I get the same issue so far, facing the the object has been modified; please apply your changes to the latest version and try again error.

For example should I add something to this for it to work ? (it only needs to be in the public one in this example)

apiVersion: apisix.apache.org/v2
kind: ApisixPluginConfig
metadata:
  name: ecgator-plugins
spec:
  plugins:
    - name: proxy-rewrite
      enable: true
      config:
        uri: /upload

from apisix-ingress-controller.

acuteaura avatar acuteaura commented on July 19, 2024

Write two objects (with whatever templating/generator you use) and set spec.ingressClassName

from apisix-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.