Skip to content

Enable Agents to Invoke "Register" gRPC Method

Taka Nishida requested to merge Initiate-agent-registrar-module into master

Part of #100 (closed).

This MR enable agents to invoke "Register" gRPC method. To determine whether to register the agent info in the process of GetConfiguration, it adds new flag SkipRegister into the request for GetConfiguration. If true, Kas skips registering the agent info, and if false then Kas skips registering in GetConfiguration.

Regarding backward compatibility, this change should not bring any issues:

  • If agent's version is older, the agent will send a request without SkipRegister. Kas will handle it with the default value false.
  • If Kas' version is older, the agent will send SkipRegister with true, but the older Kas will just ignore it and process just same as before.

Merge request reports