Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for pidStatus (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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. 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)
  7. 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)
  8. 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)
  9. pkg/api/testing/applyconfiguration_test.go

    			// is because in this test we are simply doing json operations, in which
    			// those disappear.
    			func(s *api.PodSpec, c fuzz.Continue) {
    				c.FuzzNoCustom(s)
    				s.InitContainers = nil
    			},
    			func(s *api.PodStatus, c fuzz.Continue) {
    				c.FuzzNoCustom(s)
    				s.InitContainerStatuses = nil
    			},
    			// Apply configuration types do not have managed fields, so we exclude
    			// them in our fuzz test cases.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  10. 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)
Back to top