- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for pidStatus (0.17 sec)
-
pkg/kubelet/prober/prober.go
return } pb.recorder.Eventf(ref, eventType, reason, message, args...) } // probe probes the container. func (pb *prober) probe(ctx context.Context, probeType probeType, pod *v1.Pod, status v1.PodStatus, container v1.Container, containerID kubecontainer.ContainerID) (results.Result, error) { var probeSpec *v1.Probe switch probeType { case readiness: probeSpec = container.ReadinessProbe case liveness:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 10:50:13 UTC 2024 - 8.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/kubelet/eviction/types.go
// gracePeriodOverride - the grace period override to use instead of what is on the pod spec type KillPodFunc func(pod *v1.Pod, isEvicted bool, gracePeriodOverride *int64, fn func(*v1.PodStatus)) error // MirrorPodFunc returns the mirror pod for the given static pod and // whether it was known to the pod manager. type MirrorPodFunc func(*v1.Pod) (*v1.Pod, bool)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 7.1K bytes - Viewed (0)