- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for PodReadyToStartContainersCondition (0.58 sec)
-
pkg/kubelet/types/pod_status.go
func PodConditionByKubelet(conditionType v1.PodConditionType) bool { for _, c := range PodConditionsByKubelet { if c == conditionType { return true } } if utilfeature.DefaultFeatureGate.Enabled(features.PodReadyToStartContainersCondition) { if conditionType == v1.PodReadyToStartContainers { return true } } return false } // PodConditionSharedByKubelet returns if the pod condition type is shared by kubelet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 1.6K bytes - Viewed (0) -
pkg/kubelet/types/pod_status_test.go
"k8s.io/kubernetes/pkg/features" ) func TestPodConditionByKubelet(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.PodReadyToStartContainersCondition, true) featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.PodDisruptionConditions, true) trueCases := []v1.PodConditionType{ v1.PodScheduled, v1.PodReady,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/features/kube_features.go
// owner: @ddebroy, @kannon92 // alpha: v1.25 // beta: v1.29 // // Enables reporting of PodReadyToStartContainersCondition condition in pod status after pod // sandbox creation and network configuration completes successfully PodReadyToStartContainersCondition featuregate.Feature = "PodReadyToStartContainersCondition" // owner: @wzshiming // kep: http://kep.k8s.io/2681 // alpha: v1.28 // beta: v1.29
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
updateLastTransitionTime(&status, &oldStatus, v1.PodReady) // Set InitializedCondition.LastTransitionTime. updateLastTransitionTime(&status, &oldStatus, v1.PodInitialized) // Set PodReadyToStartContainersCondition.LastTransitionTime. updateLastTransitionTime(&status, &oldStatus, v1.PodReadyToStartContainers) // Set PodScheduledCondition.LastTransitionTime. updateLastTransitionTime(&status, &oldStatus, v1.PodScheduled)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
s.Conditions = utilpod.ReplaceOrAppendPodCondition(s.Conditions, condition) } } // set all Kubelet-owned conditions if utilfeature.DefaultFeatureGate.Enabled(features.PodReadyToStartContainersCondition) { s.Conditions = append(s.Conditions, status.GeneratePodReadyToStartContainersCondition(pod, podStatus)) } allContainerStatuses := append(s.InitContainerStatuses, s.ContainerStatuses...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.PodReadyToStartContainersCondition, enablePodReadyToStartContainersCondition) testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */) defer testKubelet.Cleanup() kl := testKubelet.kubelet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0)