- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for badpod (0.11 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
ContainersToKill: getKillMapWithInitContainers(basePod, baseStatus, []int{}), }, }, } { pod, status := makeBasePodAndStatusWithRestartableInitContainers() m.livenessManager.Set(status.ContainerStatuses[1].ID, proberesults.Success, basePod) m.startupManager.Set(status.ContainerStatuses[1].ID, proberesults.Success, basePod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
n.PodsWithRequiredAntiAffinity = append(n.PodsWithRequiredAntiAffinity, podInfo) } n.update(podInfo.Pod, 1) } // AddPod is a wrapper around AddPodInfo. func (n *NodeInfo) AddPod(pod *v1.Pod) { // ignore this err since apiserver doesn't properly validate affinity terms // and we can't fix the validation for backwards compatibility. podInfo, _ := NewPodInfo(pod) n.AddPodInfo(podInfo)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
assertEquals(pomFile, project2.getFile()); } @Test void testReadInvalidPom() throws Exception { File pomFile = new File("src/test/resources/projects/badPom.xml").getAbsoluteFile(); MavenSession mavenSession = createMavenSession(null); ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 18.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/analyzers_test.go
inputFiles: []string{"testdata/gateway-custom-ingressgateway-badport.yaml"}, analyzer: &gateway.IngressGatewayPortAnalyzer{}, expected: []message{ {msg.GatewayPortNotDefinedOnService, "Gateway httpbin-gateway"}, }, }, { name: "gatewayCustomIngressGatewayBadPortWithoutTarget", inputFiles: []string{"testdata/gateway-custom-ingressgateway-badport-notarget.yaml"}, analyzer: &gateway.IngressGatewayPortAnalyzer{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction_test.go
}, }, { name: "invalid uid", initialPod: true, makeDeleteOptions: func(pod *api.Pod) *metav1.DeleteOptions { badUID := pod.UID + "1" return &metav1.DeleteOptions{Preconditions: &metav1.Preconditions{UID: &badUID}} }, expectErr: "The object might have been deleted and then recreated", }, { name: "valid resourceVersion", initialPod: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 09:26:37 UTC 2024 - 40K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
kubelet.kubeClient = testKubelet.fakeKubeClient defer testKubelet.fakeKubeClient.ClearActions() kubelet.podManager.AddPod(testPod1) kubelet.podManager.AddPod(testPod2) kubelet.podManager.AddPod(testPod3) kubelet.podWorkers.(*fakePodWorkers).running = map[types.UID]bool{ testPod1.UID: true, testPod2.UID: true, testPod3.UID: true, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
defer destroyFunc() // cached object has old UID oldPod, err := registry.Create(ctx, pod, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err != nil { t.Fatal(err) } registry.Storage.Storage = &staleGuaranteedUpdateStorage{Interface: registry.Storage.Storage, cachedObj: oldPod} // delete and re-create the same object with new UID
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
// and new job. old and cur must be *v1.Pod types. func (jm *Controller) updatePod(logger klog.Logger, old, cur interface{}) { curPod := cur.(*v1.Pod) oldPod := old.(*v1.Pod) recordFinishedPodWithTrackingFinalizer(oldPod, curPod) if curPod.ResourceVersion == oldPod.ResourceVersion { // Periodic resync will send update events for all known pods. // Two different versions of the same pod will always have different RVs. return
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
func TestJobBackoff(t *testing.T) { _, ctx := ktesting.NewTestContext(t) logger := klog.FromContext(ctx) job := newJob(1, 1, 1, batch.NonIndexedCompletion) oldPod := newPod(fmt.Sprintf("pod-%v", rand.String(10)), job) oldPod.ResourceVersion = "1" newPod := oldPod.DeepCopy() newPod.ResourceVersion = "2" testCases := map[string]struct { requeues int oldPodPhase v1.PodPhase phase v1.PodPhase
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
} return false, err } // Fetch the pull secrets for the pod pullSecrets := kl.getPullSecretsForPod(pod) // Ensure the pod is being probed kl.probeManager.AddPod(pod) if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) { // Handle pod resize here instead of doing it in HandlePodUpdates because
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)