Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for liveHashes (0.1 sec)

  1. pkg/controller/daemon/update.go

    	toKill := len(old) - toKeep
    	if toKill <= 0 {
    		return nil
    	}
    
    	// Find all hashes of live pods
    	liveHashes := make(map[string]bool)
    	for _, pods := range nodesToDaemonPods {
    		for _, pod := range pods {
    			if hash := pod.Labels[apps.DefaultDaemonSetUniqueLabelKey]; len(hash) > 0 {
    				liveHashes[hash] = true
    			}
    		}
    	}
    
    	// Clean up old history from smallest to highest revision (from oldest to newest)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top