Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 200 for isStatus (0.39 sec)

  1. pkg/scheduler/framework/preemption/preemption.go

    				cancel()
    			}
    			return
    		}
    		if status.IsSuccess() && len(pods) == 0 {
    			status = framework.AsStatus(fmt.Errorf("expected at least one victim pod on node %q", nodeInfoCopy.Node().Name))
    		}
    		statusesLock.Lock()
    		if status.Code() == framework.Error {
    			errs = append(errs, status.AsError())
    		}
    		nodeStatuses[nodeInfoCopy.Node().Name] = status
    		statusesLock.Unlock()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/controller.go

    // This allows our functions to call Status.Mutate, and then we can later persist all changes into the
    // API server.
    func deepCopyStatus(configs []config.Config) []config.Config {
    	return slices.Map(configs, func(c config.Config) config.Config {
    		return config.Config{
    			Meta:   c.Meta,
    			Spec:   c.Spec,
    			Status: kstatus.Wrap(c.Status),
    		}
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. tests/integration/ambient/waypoint_test.go

    				if gwc == nil {
    					return fmt.Errorf("failed to find GatewayClass %v", constants.WaypointGatewayClassName)
    				}
    				cond := kstatus.GetCondition(gwc.Status.Conditions, string(k8s.GatewayClassConditionStatusAccepted))
    				if cond.Status != metav1.ConditionTrue {
    					return fmt.Errorf("failed to find accepted condition: %+v", cond)
    				}
    				if cond.ObservedGeneration != gwc.Generation {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    func (o *ObjectOptions) PutReplicationState() (r ReplicationState) {
    	rstatus, ok := o.UserDefined[ReservedMetadataPrefixLower+ReplicationStatus]
    	if !ok {
    		return
    	}
    	r.ReplicationStatusInternal = rstatus
    	r.Targets = replicationStatusesMap(rstatus)
    	return
    }
    
    // SetEvalMetadataFn sets the metadata evaluation function
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. pkg/kube/inject/inject.go

    			statusBytes = []byte(value)
    		}
    	}
    	if statusBytes == nil {
    		return nil
    	}
    
    	// default case when injected pod has explicit status
    	var iStatus SidecarInjectionStatus
    	if err := json.Unmarshal(statusBytes, &iStatus); err != nil {
    		return nil
    	}
    	return &iStatus
    }
    
    func parseDryTemplate(tmplStr string, funcMap map[string]any) (*template.Template, error) {
    	temp := template.New("inject")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			cStatus := &runtimeapi.ContainerStatus{
    				Id:        cid.ID,
    				Metadata:  meta,
    				Image:     imageSpec,
    				State:     runtimeapi.ContainerState_CONTAINER_RUNNING,
    				CreatedAt: createdAt,
    				StartedAt: startedAt,
    				User:      test.input,
    			}
    			actual := toKubeContainerStatus(cStatus, cid.Type)
    			assert.EqualValues(t, test.expected, actual.User, desc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. pkg/kubelet/status/status_manager.go

    	// clobbering each other so the phase of a pod progresses monotonically.
    	if isCached && isPodStatusByKubeletEqual(&cachedStatus.status, &status) && !forceUpdate {
    		klog.V(3).InfoS("Ignoring same status for pod", "pod", klog.KObj(pod), "status", status)
    		return
    	}
    
    	newStatus := versionedPodStatus{
    		status:        status,
    		version:       cachedStatus.version + 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  8. pkg/scheduler/schedule_one.go

    					UnschedulablePlugins: sets.New(status.Plugin()),
    				},
    			}
    			return framework.NewStatus(status.Code()).WithError(fitErr)
    		}
    		return status
    	}
    
    	// Run "prebind" plugins.
    	if status := fwk.RunPreBindPlugins(ctx, state, assumedPod, scheduleResult.SuggestedHost); !status.IsSuccess() {
    		if status.IsRejected() {
    			fitErr := &framework.FitError{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodevolumelimits/csi.go

    		if apierrors.IsNotFound(err) {
    			// PVC is not found. This Pod will never be schedulable until PVC is created.
    			return framework.NewStatus(framework.UnschedulableAndUnresolvable, err.Error())
    		}
    		return framework.AsStatus(err)
    	}
    
    	// If the pod doesn't have any new CSI volumes, the predicate will always be true
    	if len(newVolumes) == 0 {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    			}
    			for _, gw := range filteredGws {
    				programmed := kstatus.StatusFalse
    				rev := gw.Labels[label.IoIstioRev.Name]
    				if rev == "" {
    					rev = "default"
    				}
    				for _, cond := range gw.Status.Conditions {
    					if cond.Type == string(gateway.GatewayConditionProgrammed) {
    						programmed = string(cond.Status)
    					}
    				}
    				if allNamespaces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top