Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getPodHash (0.08 sec)

  1. pkg/kubelet/pod/mirror_client.go

    		return nil
    	}
    	// Make a copy of the pod.
    	copyPod := *pod
    	copyPod.Annotations = make(map[string]string)
    
    	for k, v := range pod.Annotations {
    		copyPod.Annotations[k] = v
    	}
    	hash := getPodHash(pod)
    	copyPod.Annotations[kubetypes.ConfigMirrorAnnotationKey] = hash
    
    	// With the MirrorPodNodeRestriction feature, mirror pods are required to have an owner reference
    	// to the owning node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 21 11:38:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
Back to top