-
Notifications
You must be signed in to change notification settings - Fork 556
Open
Labels
help wantedIssues with this label are ready to start work but are in need of someone to do itIssues with this label are ready to start work but are in need of someone to do itpriority/backlogIssue is approved and in the backlogIssue is approved and in the backlog
Description
SPIRE agent periodically syncs entries, federated bundles and SVIDs from the SPIRE server. This happens every 5 seconds, with a backoff applied on failure. There is a 30 second timeout for the update process (in pkg/agent/client/client.go):
const rpcTimeout = 30 * time.SecondIf there are many federations for the entries allowed for the agent, this timeout can be exceeded. If the timeout is exceeded, then the update fails and no entries, bundles or SVIDs are updated. If this happens persistently then SVIDs may expire. This is particularly apparent in resource constrained environments.
Part of the problem here is that federated bundles are fetched sequentially (in fetchBundles()).
jsnctl
Metadata
Metadata
Assignees
Labels
help wantedIssues with this label are ready to start work but are in need of someone to do itIssues with this label are ready to start work but are in need of someone to do itpriority/backlogIssue is approved and in the backlogIssue is approved and in the backlog