openshift / openshift/origin

We store too many large secrets in etcd

Open
#15,011 24 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

area/online-first component/kubernetes lifecycle/frozen priority/P1
Dominant language
Go
Stars
8.7k
Forks
4.8k
Avg merge
4d 10h
Merged PRs (30d)
53

Description

The primary scale limiter on large dense clusters is secrets (namespaces * 3_service_accounts_per_namespace * 3_secrets_per_service_account * ~2-10k, i.e. on a large 10k namespace cluster it's 90% of the cluster size). We can try to reduce the constant scale elements now (gzip, ca.crts secrets per SA, SAs) and target structural changes that fit our long term direction (to remove service account tokens from storage and embrace dynamic secret generation).

Drafted some thoughts in kubernetes/kubernetes#48408 for the latter. Need to think through the former. This gates scale growth on any of our existing clusters because we can't afford a 500mb download everytime we want to list secrets.

This is an online-first item (newly created!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.