Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for prepending (0.3 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    			result: nil,
    		},
    		{
    			name:   "simple pod not running but have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    					PodIP: "1.2.3.4",
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	kl.HandlePodAdditions([]*v1.Pod{fittingPod, emptyPod, missingPod, failedPod})
    
    	// Check pod status stored in the status map.
    	checkPodStatus(t, kl, fittingPod, v1.PodPending)
    	checkPodStatus(t, kl, emptyPod, v1.PodFailed)
    	checkPodStatus(t, kl, missingPod, v1.PodPending)
    	checkPodStatus(t, kl, failedPod, v1.PodFailed)
    }
    
    // TODO(filipg): This test should be removed once StatusSyncer can do garbage collection without external signal.
    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. pilot/pkg/config/kube/crdclient/client.go

    	cl.handlers[kind] = append(cl.handlers[kind], handler)
    }
    
    // Run the queue and all informers. Callers should  wait for HasSynced() before depending on results.
    func (cl *Client) Run(stop <-chan struct{}) {
    	if cl.started.Swap(true) {
    		// was already started by other thread
    		return
    	}
    
    	t0 := time.Now()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods.go

    		// placed back into v1.PodPending since the regular containers have run.
    		!kubecontainer.HasAnyRegularContainerStarted(&spec, info):
    		fallthrough
    	case waiting > 0:
    		klog.V(5).InfoS("Pod waiting > 0, pending")
    		// One or more containers has not been started
    		return v1.PodPending
    	case running > 0 && unknown == 0:
    		// All containers have been started, and at least
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/util/util.go

    	}
    
    	// Already a CIDR, just parse it.
    	if strings.Contains(addr, "/") {
    		return netip.ParsePrefix(addr)
    	}
    
    	// Otherwise it is a raw IP. Make it a /32 or /128 depending on family
    	ipa, err := netip.ParseAddr(addr)
    	if err != nil {
    		return netip.Prefix{}, err
    	}
    
    	return netip.PrefixFrom(ipa, ipa.BitLen()), nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_inbound.go

    	for _, cc := range lb.buildInboundChainConfigs() {
    		// First, construct our set of filter chain matchers. For a given port, we will have multiple matches
    		// to handle mTLS vs plaintext and HTTP vs TCP (depending on protocol and PeerAuthentication).
    		var opts []FilterChainMatchOptions
    		mtls := lb.authnBuilder.ForPort(cc.port.TargetPort)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    	if !runnable.Admit {
    		// Pod is not runnable; and update the Pod and Container statuses to why.
    		if apiPodStatus.Phase != v1.PodFailed && apiPodStatus.Phase != v1.PodSucceeded {
    			apiPodStatus.Phase = v1.PodPending
    		}
    		apiPodStatus.Reason = runnable.Reason
    		apiPodStatus.Message = runnable.Message
    		// Waiting containers are not creating.
    		const waitingReason = "Blocked"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		return
    	}
    
    	// Add checksum header.
    	if checksum != nil && checksum.Valid() {
    		hash.AddChecksumHeader(w, checksum.AsMap())
    	}
    
    	// Decide what http response to send depending on success_action_status parameter
    	switch successStatus {
    	case "201":
    		resp := encodeResponse(PostResponse{
    			Bucket:   objInfo.Bucket,
    			Key:      objInfo.Name,
    			ETag:     `"` + objInfo.ETag + `"`,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		}
    	case "XMinioBackendDown":
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err)
    	case "InternalError":
    		// If we see an internal error try to interpret
    		// any underlying errors if possible depending on
    		// their internal error types.
    		switch e := err.(type) {
    		case kms.Error:
    			apiErr = APIError{
    				Code:           e.APICode,
    				Description:    e.Err,
    				HTTPStatusCode: e.Code,
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    				ContainersToKill:         getKillMapWithInitContainers(basePod, baseStatus, []int{}),
    			},
    		},
    		"some of the init container statuses are missing but the last init container is running, don't restart preceding ones": {
    			mutatePodFn: func(pod *v1.Pod) { pod.Spec.RestartPolicy = v1.RestartPolicyAlways },
    			mutateStatusFn: func(status *kubecontainer.PodStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
Back to top