Git Product home page Git Product logo

Comments (3)

stevenctl avatar stevenctl commented on May 28, 2024 2

Yes, we do support NodePort for multi-network.

The docs have you use the gen-eastwest-gateway.sh. After generating the YAML using that command, you'd need to edit one section

  values:
    gateways:
      istio-ingressgateway:
        injectionTemplate: gateway
        type: NodePort # add this

The multi-cluster service discovery machinery is setup to handle node port.

from istio.

stevenctl avatar stevenctl commented on May 28, 2024 2

Istio's multi-cluster design currently requires API server access to be shared with each primary cluster.

Primary-Remote would only require supplying the remote clusters' credentials to each primary (you could have 1 primary, 2 remote).

Another option would be more manual: creating WorkloadEntry resources and Gateway resources by hand that represent resources that exist in other clusters. An example can be found in this integration test. A Gateway represents a remote eastwest gateway, we say the address 1.2.3.4:15443 can be used to reach any endpoint on network-foo. Then we create a WorkloadEntry on network-foo with no address. A service selecting that WorkloadEntry would go through the gateway.

The caveats being:

  1. You don't get automated updates if you have no workloads behind that "virtual" workloadentry.
  2. You don't get automated updates for the Gateway resource
  3. The WorkloadEntry may not have the correct weight for the # of workloads in the remote network.

TL;DR we have APIs that can be used to configure some cross-network traffic without sharing API server credentials, but you lose most of the automation that Istio provides.

from istio.

fizos avatar fizos commented on May 28, 2024

very appreciate for you help 😄

I currently need to form a large service mesh cluster using a multi-primary, multi-network mode with three clusters. Is it necessary for each cluster to configure the access credentials of the other two clusters' API-Server? Does Istio support this configuration ? Do East-West gateways also need to be configured for mutual communication between each pair?
Is there a best practice in the community for three clusters with multi-primary and multi-network?

from istio.

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.