PacketFire / gemini

Cluster container orchestration tool
Apache License 2.0
0 stars 0 forks source link

Persist node credentials on join #56

Closed RaasAhsan closed 5 years ago

RaasAhsan commented 5 years ago

The client should persist the credentials it receives from the master to some durable storage (file, SQLite, etc). On startup, if it can't find credentials, join the cluster and persist the credentials and authenticate. If credentials exist, authenticate with the master. If it succeeds, then the node can proceed as usual. If it fails, it should attempt to rejoin the cluster and persist the credentials.

Part of this issue is to determine the medium for persisting the credentials.