Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for isStatus (0.3 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    
    	if status.State != runtimeapi.ContainerState_CONTAINER_CREATED {
    		// If container is not in the created state, we have tried and
    		// started the container. Set the StartedAt time.
    		cStatus.StartedAt = time.Unix(0, status.StartedAt)
    	}
    	if status.State == runtimeapi.ContainerState_CONTAINER_EXITED {
    		cStatus.Reason = status.Reason
    		cStatus.Message = status.Message
    		cStatus.ExitCode = int(status.ExitCode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    		}
    		if status := f.runFilterPlugin(ctx, pl, state, pod, nodeInfo); !status.IsSuccess() {
    			if !status.IsRejected() {
    				// Filter plugins are not supposed to return any status other than
    				// Success or Unschedulable.
    				status = framework.AsStatus(fmt.Errorf("running %q filter plugin: %w", pl.Name(), status.AsError()))
    			}
    			status.SetPlugin(pl.Name())
    			return status
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	return newRuntimeVersion(typedVersion.RuntimeApiVersion)
    }
    
    // Status returns the status of the runtime. An error is returned if the Status
    // function itself fails, nil otherwise.
    func (m *kubeGenericRuntimeManager) Status(ctx context.Context) (*kubecontainer.RuntimeStatus, error) {
    	resp, err := m.runtimeService.Status(ctx, false)
    	if err != nil {
    		return nil, err
    	}
    	if resp.GetStatus() == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    								claim = claim.DeepCopy()
    								claim.Status.ReservedFor = inUseClaim.Status.ReservedFor
    							}
    							return claim
    						},
    					},
    				},
    			},
    		},
    		"missing-claim": {
    			pod:    podWithClaimTemplate, // status not set
    			claims: []*resourcev1alpha2.ResourceClaim{allocatedClaim, otherClaim},
    			want: want{
    				preenqueue: result{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion.go

    		_, known := classInfos[gwc.ControllerName]
    		if !known {
    			continue
    		}
    		res[obj.Name] = gwc.ControllerName
    
    		// Set status. If we created it, it may already be there. If not, set it again
    		obj.Status.(*kstatus.WrappedStatus).Mutate(func(s config.Status) config.Status {
    			gcs := s.(*k8s.GatewayClassStatus)
    			*gcs = GetClassStatus(gcs, obj.Generation)
    			gcs.SupportedFeatures = supportedFeatures
    			return gcs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				args:      *getDefaultDefaultPreemptionArgs(),
    			}
    
    			state := framework.NewCycleState()
    			// Ensure <state> is populated.
    			if _, status := f.RunPreFilterPlugins(ctx, state, tt.pod); !status.IsSuccess() {
    				t.Errorf("Unexpected PreFilter Status: %v", status)
    			}
    
    			gotResult, gotStatus := p.PostFilter(ctx, state, tt.pod, tt.filteredNodesStatuses)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceregistry_test.go

    	}
    	cfg.Annotations[status.WorkloadEntryHealthCheckAnnotation] = "true"
    	if healthy {
    		return status.UpdateConfigCondition(cfg, &v1alpha1.IstioCondition{
    			Type:   status.ConditionHealthy,
    			Status: status.StatusTrue,
    		})
    	}
    	return status.UpdateConfigCondition(cfg, &v1alpha1.IstioCondition{
    		Type:   status.ConditionHealthy,
    		Status: status.StatusFalse,
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. pkg/controller/endpointslice/endpointslice_controller_test.go

    					Status:     v1.NodeStatus{},
    				}
    				if nodeInfo.zoneLabel != nil {
    					node.Labels = map[string]string{v1.LabelTopologyZone: *nodeInfo.zoneLabel}
    				}
    				if nodeInfo.ready != nil {
    					status := v1.ConditionFalse
    					if *nodeInfo.ready {
    						status = v1.ConditionTrue
    					}
    					node.Status.Conditions = []v1.NodeCondition{{
    						Type:   v1.NodeReady,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  9. pkg/kubelet/pod_workers_test.go

    		t.Fatalf("unexpected actual state: %s", cmp.Diff(e, a))
    	}
    	// 3-static is still in the config, it should still be in our status
    	if status, ok := podWorkers.podSyncStatuses["3-static"]; !ok || status.terminatedAt.IsZero() || !status.finished || status.working {
    		t.Fatalf("unexpected post termination status: %#v", status)
    	}
    
    	// initiate a sync with 3-static removed
    	state = podWorkers.SyncKnownPods([]*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/traffic-params.yaml.7.template.gen.yaml

              initialDelaySeconds: {{ annotation .ObjectMeta `readiness.status.sidecar.istio.io/initialDelaySeconds` .Values.global.proxy.readinessInitialDelaySeconds }}
              periodSeconds: {{ annotation .ObjectMeta `readiness.status.sidecar.istio.io/periodSeconds` .Values.global.proxy.readinessPeriodSeconds }}
              timeoutSeconds: 3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top