Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for pidStatus (0.3 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go

    	// +optional
    	Status PodStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
    }
    
    // PodStatus represents information about the status of a pod. Status may trail the actual
    // state of a system.
    type PodStatus struct {
    	// Current condition of the pod.
    	// More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. pkg/kube/controllers/example_test.go

    // nolint: gocritic
    func Example() {
    	// Setup our fake client. This can be pre-populated with items.
    	c := kube.NewFakeClient(&corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "test1"},
    		Status:     corev1.PodStatus{PodIP: "127.0.0.1"},
    	})
    	// When the test is done, terminate the client. This ensures all informers are closed.
    	// This usually doesn't matter, but can be useful when mutating global state with test.SetForTest, etc.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. pkg/kube/krt/bench_test.go

    				Namespace: fmt.Sprintf("ns-%d", i%2),
    				Labels: map[string]string{
    					"app": fmt.Sprintf("app-%d", i%25),
    				},
    			},
    			Spec: v1.PodSpec{
    				ServiceAccountName: "fake-sa",
    			},
    			Status: v1.PodStatus{
    				Phase: v1.PodRunning,
    				PodIP: GetIP(),
    			},
    		})
    	}
    	initialServices := []*v1.Service{}
    	for i := 0; i < 50; i++ {
    		initialServices = append(initialServices, &v1.Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. cni/pkg/repair/repair_test_helpers.go

    			InitContainers: []corev1.Container{
    				{
    					Name: args.InitContainerName,
    				},
    			},
    			Containers: []corev1.Container{
    				{
    					Name: "payload-container",
    				},
    			},
    		},
    		Status: corev1.PodStatus{
    			InitContainerStatuses: []corev1.ContainerStatus{
    				*args.InitContainerStatus,
    			},
    			ContainerStatuses: []corev1.ContainerStatus{
    				{
    					Name: "payload-container",
    					State: corev1.ContainerState{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 12 17:39:53 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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)
  9. 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)
  10. 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)
Back to top