- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 186 for pidStatus (0.18 sec)
-
pkg/kube/krt/join_test.go
ObjectMeta: metav1.ObjectMeta{ Name: "svc", Namespace: "namespace", }, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foo"}}, } sc.Create(svc) pod.Status = corev1.PodStatus{PodIP: "1.2.3.4"} pc.UpdateStatus(pod) assert.EventuallyEqual(t, fetch, []SimpleEndpoint{ {pod.Name, svc.Name, pod.Namespace, "1.2.3.4"}, {"name-static", svc.Name, pod.Namespace, "9.9.9.9"}, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
}{ { pod: api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}}, }, query: "foo", location: expectedIP, }, { pod: api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}}, }, query: "foo:12345", location: expectedIP + ":12345",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
pkg/api/pod/util_test.go
podWithHostIPs := func() *api.PodStatus { return &api.PodStatus{ HostIPs: makeHostIPs("10.0.0.1", "fd00:10::1"), } } podWithoutHostIPs := func() *api.PodStatus { return &api.PodStatus{ HostIPs: nil, } } tests := []struct { name string podStatus *api.PodStatus oldPodStatus *api.PodStatus wantPodStatus *api.PodStatus }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_manager_test.go
return rt.err } type mockPodStatusProvider struct { podStatus v1.PodStatus found bool } func (psp mockPodStatusProvider) GetPodStatus(uid types.UID) (v1.PodStatus, bool) { return psp.podStatus, psp.found } func makePod(podUID, containerName, cpuRequest, cpuLimit string) *v1.Pod { pod := &v1.Pod{ Spec: v1.PodSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 42.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/types.go
Spec PodSpec // Status represents the current information about a pod. This data may not be up // to date. // +optional Status PodStatus } // PodStatus represents information about the status of a pod. Status may trail the actual // state of a system. type PodStatus struct { // +optional Phase PodPhase // +optional Conditions []PodCondition
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 03 06:34:52 UTC 2019 - 5.1K bytes - Viewed (0) -
pkg/scheduler/util/utils_test.go
return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, Spec: v1.PodSpec{ Priority: &priority, }, Status: v1.PodStatus{ StartTime: &metav1.Time{Time: startTime}, }, } } func TestGetEarliestPodStartTime(t *testing.T) { var priority int32 = 1 currentTime := time.Now() tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 14.5K bytes - Viewed (0) -
pkg/util/pod/pod.go
// PatchPodStatus patches pod status. It returns true and avoids an update if the patch contains no changes. func PatchPodStatus(ctx context.Context, c clientset.Interface, namespace, name string, uid types.UID, oldPodStatus, newPodStatus v1.PodStatus) (*v1.Pod, []byte, bool, error) { patchBytes, unchanged, err := preparePatchBytesForPodStatus(namespace, name, uid, oldPodStatus, newPodStatus) if err != nil { return nil, nil, false, err } if unchanged {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 15:22:29 UTC 2022 - 3K bytes - Viewed (0) -
pkg/apis/core/v1/helper/qos/qos.go
func isSupportedQoSComputeResource(name v1.ResourceName) bool { return supportedQoSComputeResources.Has(string(name)) } // GetPodQOS returns the QoS class of a pod persisted in the PodStatus.QOSClass field. // If PodStatus.QOSClass is empty, it returns value of ComputePodQOS() which evaluates pod's QoS class. func GetPodQOS(pod *v1.Pod) v1.PodQOSClass { if pod.Status.QOSClass != "" { return pod.Status.QOSClass }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 04:01:46 UTC 2023 - 3.5K bytes - Viewed (0) -
pkg/kubelet/status/generate_test.go
pod *v1.Pod status *kubecontainer.PodStatus expected v1.PodCondition }{ "Empty pod status": { pod: &v1.Pod{}, status: &kubecontainer.PodStatus{}, expected: v1.PodCondition{ Status: v1.ConditionFalse, }, }, "Pod sandbox status not ready": { pod: &v1.Pod{}, status: &kubecontainer.PodStatus{ SandboxStatuses: []*runtimeapi.PodSandboxStatus{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 18.2K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: fakePodIP, }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}} client := kube.NewFakeClient(ns, pod) // We are expecting at most 1 calls to the mock, wait for them
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0)