• WanLinghao's avatar
    Currently, kubelet token mamanger only clean tokens who are expired. For tokens… · 7df1078d
    WanLinghao authored
    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.
    7df1078d
attach_detach_controller.go 26.5 KB