Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsStaticPod (1.2 sec)

  1. pkg/kubelet/kubelet_pods.go

    	// The KUBERNETES_SERVICE_HOST link is special because it is unconditionally injected into pods and is read by the
    	// in-cluster-config for pod clients
    	if !kubetypes.IsStaticPod(pod) && !kl.serviceHasSynced() {
    		return nil, fmt.Errorf("services have not yet been read at least once, cannot construct envvars")
    	}
    
    	var result []kubecontainer.EnvVar
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    				}
    			}
    		}
    	}
    
    	// Create Mirror Pod for Static Pod if it doesn't already exist
    	if kubetypes.IsStaticPod(pod) {
    		deleted := false
    		if mirrorPod != nil {
    			if mirrorPod.DeletionTimestamp != nil || !kubepod.IsMirrorPodOf(mirrorPod, pod) {
    				// The mirror pod is semantically different from the static pod. Remove
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top