Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for syncPod (0.22 sec)

  1. pkg/kubelet/kubelet.go

    // (pod is running). If SyncPod exits with a transient error, the next
    // invocation of SyncPod is expected to make progress towards reaching the
    // desired state. SyncPod exits with isTerminal when the pod was detected to
    // have reached a terminal lifecycle phase due to container exits (for
    // RestartNever or RestartOnFailure) and the next method invoked will be
    // SyncTerminatingPod. If the pod terminates for any other reason, SyncPod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	})
    
    	_, err = kubelet.SyncPod(context.Background(), kubetypes.SyncPodCreate, pod, nil, &kubecontainer.PodStatus{})
    	require.NoError(t, err)
    
    	require.NoError(t, err)
    	assert.NotEmpty(t, exp.GetSpans())
    
    	// find root span for syncPod
    	var rootSpan *tracetest.SpanStub
    	spans := exp.GetSpans()
    	for i, span := range spans {
    		if span.Name == "syncPod" {
    			rootSpan = &spans[i]
    			break
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	}
    	return resource.ExtractResourceValueByContainerName(fs, pod, containerName)
    }
    
    // killPod instructs the container runtime to kill the pod. This method requires that
    // the pod status contains the result of the last syncPod, otherwise it may fail to
    // terminate newly created containers and sandboxes.
    func (kl *Kubelet) killPod(ctx context.Context, pod *v1.Pod, p kubecontainer.Pod, gracePeriodOverride *int64) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller_test.go

    	// Make sure the first syncJob sets the expectations, even after the caches synced.
    	gotExpectedUIDs = manager.finalizerExpectations.getExpectedUIDs(jobKey)
    	if diff := cmp.Diff(uids, gotExpectedUIDs); diff != "" {
    		t.Errorf("Different expectations for removed finalizers after syncJob and cacheSync (-want,+got):\n%s", diff)
    	}
    
    	// Change pods in different ways.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    				})
    				if err != nil {
    					return errSRBucketMetaError(err)
    				}
    			}
    		}
    	}
    
    	// Order matters from now on how the information is
    	// synced to remote sites.
    
    	// Policies should be synced first.
    	{
    		// Replicate IAM policies on local to all peers.
    		allPolicyDocs, err := globalIAMSys.ListPolicyDocs(ctx, "")
    		if err != nil {
    			return errSRBackendIssue(err)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods_test.go

    		staticPod                                  bool                   // whether the pod should be a static pod (versus an API pod)
    		unsyncedServices                           bool                   // whether the services should NOT be synced
    		configMap                                  *v1.ConfigMap          // an optional ConfigMap to pull from
    		secret                                     *v1.Secret             // an optional Secret to pull from
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

                tools placing it in the repository. Valid values are: {@code none} (default),
                {@code converted} (repository manager converted this from an Maven 1 POM),
                {@code partner}
                (directly synced from a partner Maven 2 repository), {@code deployed} (was deployed from a Maven 2
                instance), {@code verified} (has been hand verified as correct and final).
              </description>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  8. pkg/controller/garbagecollector/garbagecollector_test.go

    	//            gc.resyncMonitors()
    	//            cache.WaitForNamedCacheSync() loops with `syncedPollPeriod` (hardcoded to 100ms), until either its stop channel is closed after `period`, or all caches synced.
    	//
    	// Setting the period to 200ms allows the WaitForCacheSync() to check
    	// for cache sync ~2 times in every wait.PollImmediateUntil() loop.
    	//
    	// The 1s sleep in the test allows GetDeletableResources and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	for _, tgtEntry := range dsc.targetsMap {
    		if !tgtEntry.Replicate {
    			continue
    		}
    		// if dobj.TargetArn is not empty string, this is a case of specific target being re-synced.
    		if dobj.TargetArn != "" && dobj.TargetArn != tgtEntry.Arn {
    			continue
    		}
    		tgtClnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, tgtEntry.Arn)
    		if tgtClnt == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. cluster/gce/gci/configure-helper.sh

    # This function is adapted from the detect_client_info function in cluster/get-kube-binaries.sh
    # and kube::util::host_os, kube::util::host_arch functions in hack/lib/util.sh
    # This function should be synced with detect_host_info in ./configure.sh
    function detect_host_info() {
      HOST_PLATFORM=${HOST_PLATFORM_OVERRIDE:-"$(uname -s)"}
      case "${HOST_PLATFORM}" in
        Linux|linux)
          HOST_PLATFORM="linux"
          ;;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top