Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support proxy client #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnlanni
Copy link

Let the remotedialer support proxy client, then we can use the dialer in the microservice architecture.

k8s&other managers are microservices. They can use proxy clients to access services in remote clusters by connecting to the cluster dialer server (also microservice).



                                                             ┌────K8S Cluster───────────────────────────────┐
                                                             │                                              │
                                                             │                                              │
                                                             │                                              │
                                                             │ ┌────────────────┐     ┌────────────────┐    │
                                                             │ │                │     │                │    │
                                                    register─┼─│ Cluster Agent  │     │ kube-apiserver │    │
                                                      │  ◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜╳                │    │
                                                      │  ◜   │ └────────────────┘     └────────────────┘    │
   ┌──────────Control Plan────────────────────────┐   │  ◜   │                                              │
   │                                              │   │  ◜   │                                              │
   │                                              │   │  ◜   │                                              │
   │                      ┌─────────────────────┐ │   │  ◜   └──────────────────────────────────────────────┘
   │                      │Cluster Dialer Server│ │   │  ◜
   │                      │                     │ │   │  ◜
   │                      │                     │ │   │  ◜
   │                      │                     │ │   │  ◜
   │  ┌───────────────┐   │   ┌───────────────◀─┼─┼───┘  ◜   ┌─────K8S Cluster─────────────────────────────┐
   │  │  K8S Manager ◜◜◜◜◜◜ ◜◜│Tunnel Session │◜◜◜◜◜◜◜◜◜◜◜   │                                             │
   │  ├───────────────┤   │   ├───────────────◀─┼─┼───┐      │                                             │
   │  │ Other Manager◜◜◜◜◜◜ ◜◜│Tunnel Session │◜◜◜◜◜◜◜│◜◜◜   │                                             │
   │  └───────────────┘   │   └───────────────┘ │ │   │  ◜   │ ┌────────────────┐     ┌────────────────┐   │
   │                      │                     │ │   │  ◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜◜╳                │   │
   │                      └─────────────────────┘ │register──┼─│ Cluster Agent  │     │ POD/Service IP │   │
   │                                              │          │ │                │     │                │   │
   └──────────────────────────────────────────────┘          │ └────────────────┘     └────────────────┘   │
                                                             │                                             │
                                                             │                                             │
                                                             │                                             │
                                                             └─────────────────────────────────────────────┘

@johnlanni johnlanni changed the title support proxy client, support proxy client May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant