Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 528 for reason2 (0.12 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			containerName:       "not_exist_container",
    			reason:              "unknown reason",
    			gracePeriodOverride: 0,
    			succeed:             false,
    		},
    	}
    
    	for _, test := range tests {
    		ctx := context.Background()
    		err := m.killContainer(ctx, test.pod, test.containerID, test.containerName, test.reason, "", &test.gracePeriodOverride, nil)
    		if test.succeed != (err == nil) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.yaml

            containerID: containerIDValue
            exitCode: 1
            finishedAt: "2006-01-01T01:01:01Z"
            message: messageValue
            reason: reasonValue
            signal: 2
            startedAt: "2005-01-01T01:01:01Z"
          waiting:
            message: messageValue
            reason: reasonValue
        name: nameValue
        ready: true
        resources:
          claims:
          - name: nameValue
          limits:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            then:
            1 * command.run() >> {
                assert busy
                coordinator.requestStop("REASON")
                assert stopRequested
                coordinator.requestStop("REASON")
                assert stopRequested
                coordinator.requestStop("REASON")
                assert stopRequested
            }
    
            and:
            stopped
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_pod_control.go

    // have a reason of v1.EventTypeNormal. If err is not nil the generated event will have a reason of v1.EventTypeWarning.
    func (spc *StatefulPodControl) recordPodEvent(verb string, set *apps.StatefulSet, pod *v1.Pod, err error) {
    	if err == nil {
    		reason := fmt.Sprintf("Successful%s", strings.Title(verb))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    		}
    		err := admission.NewForbidden(a, errors.New(message)).(*k8serrors.StatusError)
    		reason := deniedDecision.Reason
    		if len(reason) == 0 {
    			reason = metav1.StatusReasonInvalid
    		}
    		err.ErrStatus.Reason = reason
    		err.ErrStatus.Code = reasonToCode(reason)
    		err.ErrStatus.Details.Causes = append(err.ErrStatus.Details.Causes, metav1.StatusCause{Message: message})
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    			Status:  apiextensionsv1.ConditionTrue,
    			Reason:  "InstanceDeletionCheck",
    			Message: fmt.Sprintf("could not confirm zero CustomResources remaining: %v", err),
    		}, err
    	}
    	return apiextensionsv1.CustomResourceDefinitionCondition{
    		Type:    apiextensionsv1.Terminating,
    		Status:  apiextensionsv1.ConditionFalse,
    		Reason:  "InstanceDeletionCompleted",
    		Message: "removed all instances",
    	}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. pkg/controller/testutil/test_utils.go

    func (f *FakeRecorder) Event(obj runtime.Object, eventtype, reason, message string) {
    	f.generateEvent(obj, metav1.Now(), eventtype, reason, message)
    }
    
    // Eventf emits a fake formatted event to the fake recorder
    func (f *FakeRecorder) Eventf(obj runtime.Object, eventtype, reason, messageFmt string, args ...interface{}) {
    	f.Event(obj, eventtype, reason, fmt.Sprintf(messageFmt, args...))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. pkg/controller/deployment/progress_test.go

    					t.Errorf("%s: expected deployment condition: %s", test.name, test.conditionType)
    				}
    			case newCond.Status != test.conditionStatus || newCond.Reason != test.conditionReason:
    				t.Errorf("%s: DeploymentProgressing has status %s with reason %s. Expected %s with %s.", test.name, newCond.Status, newCond.Reason, test.conditionStatus, test.conditionReason)
    			case !test.lastUpdate.IsZero() && test.lastUpdate != testTime:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/types.go

    		// Otherwise, we will have duplicated reasons in the error message.
    		reasons := make(map[string]int)
    		for _, status := range f.Diagnosis.NodeToStatusMap {
    			for _, reason := range status.Reasons() {
    				reasons[reason]++
    			}
    		}
    
    		sortReasonsHistogram := func() []string {
    			var reasonStrings []string
    			for k, v := range reasons {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    		namesAcceptedCondition.Reason = "PluralConflict"
    		namesAcceptedCondition.Message = err.Error()
    	} else {
    		newNames.Plural = requestedNames.Plural
    	}
    	if err := equalToAcceptedOrFresh(requestedNames.Singular, acceptedNames.Singular, allResources); err != nil {
    		namesAcceptedCondition.Status = apiextensionsv1.ConditionFalse
    		namesAcceptedCondition.Reason = "SingularConflict"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top