- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for RuntimeReady (1.52 sec)
-
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) -
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) -
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) -
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) -
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) -
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)