keikoproj / manager

Multi K8s cluster Namespace Management
Apache License 2.0
9 stars 3 forks source link

Cluster Registration in the server #10

Closed mnkg561 closed 4 years ago

mnkg561 commented 4 years ago

Is this a BUG REPORT or FEATURE REQUEST?: SUBTASK

What happened: As part of the cluster registration, there are probably 3 parts involved.

  1. Client (it can be cli or UI)
  2. Server
  3. Controller

This issue is to handle the server side part. Make sure to create the spec in the controller and reuse it in the server part so spec doesn't have to duplicated in two different places.

Also, Use gRPC in the first phase and enhance it to use GraphQL on top of gRPC.

What you expected to happen: Server should expose something to register/unregister a cluster

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

Other debugging information (if applicable):

- controller logs:

$ kubectl logs