Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for RuntimeReady (0.13 sec)

  1. pkg/kubelet/kuberuntime/instrumented_services_test.go

    		Conditions: []*runtimeapi.RuntimeCondition{
    			{Type: runtimeapi.RuntimeReady, Status: false},
    			{Type: runtimeapi.NetworkReady, Status: true},
    		},
    	}
    	irs := newInstrumentedRuntimeService(fakeRuntime)
    	actural, err := irs.Status(ctx, false)
    	assert.NoError(t, err)
    	expected := &runtimeapi.RuntimeStatus{
    		Conditions: []*runtimeapi.RuntimeCondition{
    			{Type: runtimeapi.RuntimeReady, Status: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. pkg/kubelet/container/runtime.go

    type VolumeMap map[string]VolumeInfo
    
    // RuntimeConditionType is the types of required runtime conditions.
    type RuntimeConditionType string
    
    const (
    	// RuntimeReady means the runtime is up and ready to accept basic containers.
    	RuntimeReady RuntimeConditionType = "RuntimeReady"
    	// NetworkReady means the runtime network is up and ready to accept containers which require network.
    	NetworkReady RuntimeConditionType = "NetworkReady"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/runtime/runtime.go

    	if err != nil {
    		return errors.Wrap(err, "container runtime is not running")
    	}
    
    	for _, condition := range res.GetStatus().GetConditions() {
    		if condition.GetType() == runtimeapi.RuntimeReady && // NetworkReady will not be tested on purpose
    			!condition.GetStatus() {
    			return errors.Errorf(
    				"container runtime condition %q is not true. reason: %s, message: %s",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/runtime/runtime_test.go

    			prepare: func(mock *fakeImpl) {
    				mock.StatusReturns(&v1.StatusResponse{Status: &v1.RuntimeStatus{
    					Conditions: []*v1.RuntimeCondition{
    						{
    							Type:   v1.RuntimeReady,
    							Status: false,
    						},
    					},
    				},
    				}, nil)
    			},
    			shouldError: true,
    		},
    		{
    			name: "valid: runtime condition type does not match",
    			prepare: func(mock *fakeImpl) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet.go

    		kl.runtimeState.setNetworkState(nil)
    	}
    	// information in RuntimeReady condition will be propagated to NodeReady condition.
    	runtimeReady := s.GetRuntimeCondition(kubecontainer.RuntimeReady)
    	// If RuntimeReady is not set or is false, report an error.
    	if runtimeReady == nil || !runtimeReady.Status {
    		klogErrorS(nil, "Container runtime not ready", "runtimeReady", runtimeReady)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_node_status_test.go

    	kubelet.updateRuntimeUp()
    	checkNodeStatus(v1.ConditionFalse, "KubeletNotReady")
    
    	// Should report node not ready if RuntimeReady is false.
    	fakeRuntime.RuntimeStatus = &kubecontainer.RuntimeStatus{
    		Conditions: []kubecontainer.RuntimeCondition{
    			{Type: kubecontainer.RuntimeReady, Status: false},
    			{Type: kubecontainer.NetworkReady, Status: true},
    		},
    	}
    	kubelet.updateRuntimeUp()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    	fakeRuntime := &containertest.FakeRuntime{
    		ImageList: imageList,
    		// Set ready conditions by default.
    		RuntimeStatus: &kubecontainer.RuntimeStatus{
    			Conditions: []kubecontainer.RuntimeCondition{
    				{Type: "RuntimeReady", Status: true},
    				{Type: "NetworkReady", Status: true},
    			},
    		},
    		VersionInfo: "1.5.0",
    		RuntimeType: "test",
    		T:           t,
    	}
    
    	fakeRecorder := &record.FakeRecorder{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top