Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 186 for pidStatus (0.12 sec)

  1. pkg/kubelet/config/file_linux_test.go

    					SecurityContext: &v1.PodSecurityContext{},
    					SchedulerName:   v1.DefaultSchedulerName,
    				},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    			expected: CreatePodUpdate(kubetypes.SET, kubetypes.FileSource, &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:        "test-" + string(hostname),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  2. pkg/api/testing/deep_copy_test.go

    				ImagePullPolicy:        api.PullIfNotPresent,
    			},
    		},
    		RestartPolicy: api.RestartPolicyAlways,
    		DNSPolicy:     api.DNSClusterFirst,
    		NodeName:      "e2e-test-wojtekt-master",
    	},
    	Status: api.PodStatus{
    		Phase: api.PodRunning,
    		Conditions: []api.PodCondition{
    			{
    				Type:   api.PodReady,
    				Status: api.ConditionTrue,
    			},
    		},
    		ContainerStatuses: []api.ContainerStatus{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  3. istioctl/pkg/internaldebug/internal-debug_test.go

    						Namespace: "istio-system",
    						Labels: map[string]string{
    							"app":                 "istiod",
    							label.IoIstioRev.Name: c.revision,
    						},
    					},
    					Status: corev1.PodStatus{
    						Phase: corev1.PodRunning,
    					},
    				}, metav1.CreateOptions{})
    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, DebugCommand(ctx), c)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. pkg/kubelet/util/pod_startup_latency_tracker_test.go

    		}
    
    		if err := testutil.GatherAndCompare(metrics.GetGather(), strings.NewReader(wants), metricsName); err != nil {
    			t.Fatal(err)
    		}
    
    		podStarted := &corev1.Pod{
    			Status: corev1.PodStatus{
    				StartTime: &metav1.Time{Time: frozenTime.Add(-10 * time.Minute)},
    			},
    		}
    		tracker.ObservedPodOnWatch(podStarted, frozenTime)
    
    		assert.Empty(t, tracker.pods)
    		metrics.PodStartSLIDuration.Reset()
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 06:09:49 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/ingress/status_test.go

    			Name:      "ingressgateway",
    			Namespace: "istio-system",
    			Labels: map[string]string{
    				"istio": "ingressgateway",
    			},
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "foo_node",
    		},
    		Status: corev1.PodStatus{
    			Phase: corev1.PodRunning,
    		},
    	},
    	ingressService,
    	&corev1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "istio-ingress-hostname",
    			Namespace: IngressNamespace,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    					VolumeSource: v1.VolumeSource{
    						PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    							ClaimName: "metric-test-pvc",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    
    	fakePodInformer.Informer().GetStore().Add(pod)
    	pvcInformer := fakeInformerFactory.Core().V1().PersistentVolumeClaims()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. istioctl/pkg/util/handlers/handlers_test.go

    			},
    			EphemeralContainers: []corev1.EphemeralContainer{
    				{
    					EphemeralContainerCommon: corev1.EphemeralContainerCommon{
    						Name: "debugger",
    					},
    				},
    			},
    		},
    		Status: corev1.PodStatus{
    			Phase: corev1.PodRunning,
    		},
    	}
    }
    
    func attachDeploy(ns string) *appsv1.Deployment {
    	return &appsv1.Deployment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: ns,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. istioctl/pkg/proxystatus/proxystatus_test.go

    						Namespace: "istio-system",
    						Labels: map[string]string{
    							"app":                 "istiod",
    							label.IoIstioRev.Name: c.revision,
    						},
    					},
    					Status: corev1.PodStatus{
    						Phase: corev1.PodRunning,
    					},
    				}, metav1.CreateOptions{})
    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, XdsStatusCommand(ctx), c)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. pkg/scheduler/util/utils.go

    // and then submit a request to API server to patch the pod changes.
    func PatchPodStatus(ctx context.Context, cs kubernetes.Interface, old *v1.Pod, newStatus *v1.PodStatus) error {
    	if newStatus == nil {
    		return nil
    	}
    
    	oldData, err := json.Marshal(v1.Pod{Status: old.Status})
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. pkg/kubelet/runonce.go

    		retry++
    		delay *= runOnceRetryDelayBackoff
    	}
    	return nil
    }
    
    // isPodRunning returns true if all containers of a manifest are running.
    func (kl *Kubelet) isPodRunning(pod *v1.Pod, status *kubecontainer.PodStatus) bool {
    	for _, c := range pod.Spec.Containers {
    		cs := status.FindContainerStatusByName(c.Name)
    		if cs == nil || cs.State != kubecontainer.ContainerStateRunning {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top