Logo
Explore Help
Register Sign In
github/kubernetes
1
0
Fork 0
You've already forked kubernetes
mirror of https://github.com/k3s-io/kubernetes.git synced 2025-12-08 10:26:41 +00:00
Code Issues Projects Releases Wiki Activity
77,022 Commits 42 Branches 8,286 Tags
49a2b1fd8f80c91aa48bb9c71ecd32c67b249611
Commit Graph

4 Commits

Author SHA1 Message Date
WanLinghao
060f3a84d9 trivial fix 2018-10-23 10:23:31 +08:00
WanLinghao
7df1078d6f Currently, kubelet token mamanger only clean tokens who are expired. For tokens with long expiration, if the pod who creates them got killed or evicted, those tokens may stay in kubelet's memory until they are expired. It's bad for kubelet and node itself. After this patch, each time a pod was deleted, token manager would clean related tokens. 2018-10-22 09:32:59 +08:00
WanLinghao
794e665d7b Currently, token manager use keyFunc like: fmt.Sprintf("%q/%q/%#v", name, namespace, tr.Spec).
Since tr.Spec contains point fields, new token request would not reuse
the cache at all.  This patch fix this, also adds unit test.

Signed-off-by: Mike Danese <mikedanese@google.com>
2018-09-06 09:03:26 -07:00
Mike Danese
91feb345aa implement service account token projection 2018-06-04 17:22:08 -07:00
Powered by Gitea Version: 1.25.2 Page: 7046ms Template: 24ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API