Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 338 for podB (0.06 sec)

  1. staging/src/k8s.io/api/batch/v1/types.go

    // an actual pod condition type.
    type PodFailurePolicyOnPodConditionsPattern struct {
    	// Specifies the required Pod condition type. To match a pod condition
    	// it is required that specified type equals the pod condition type.
    	Type corev1.PodConditionType `json:"type" protobuf:"bytes,1,req,name=type"`
    
    	// Specifies the required Pod condition status. To match a pod condition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/pod.go

    func (pc *PodCache) getPodByProxy(proxy *model.Proxy) *v1.Pod {
    	var pod *v1.Pod
    	key := podKeyByProxy(proxy)
    	if key.Name != "" {
    		pod = pc.getPodByKey(key)
    		if pod != nil {
    			return pod
    		}
    	}
    
    	// only need to fetch the corresponding pod through the first IP, although there are multiple IP scenarios,
    	// because multiple ips belong to the same pod
    	proxyIP := proxy.IPAddresses[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // pod-1, etc) and the controller will wait until each pod is ready before
      // continuing. When scaling down, the pods are removed in the opposite order.
      // The alternative policy is `Parallel` which will create pods in parallel
      // to match the desired scale without waiting, and on scale down will delete
      // all pods at once.
      // +optional
      optional string podManagementPolicy = 6;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    			patchBytes: []byte(test.patch),
    		}
    		jp := jsonPatcher{patcher: p}
    		codec := codecs.LegacyCodec(examplev1.SchemeGroupVersion)
    		pod := &examplev1.Pod{}
    		pod.Name = "podA"
    		pod.ObjectMeta.Finalizers = []string{"foo"}
    		versionedJS, err := runtime.Encode(codec, pod)
    		if err != nil {
    			t.Errorf("%s: unexpected error: %v", test.name, err)
    			continue
    		}
    		_, _, err = jp.applyJSPatch(versionedJS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. pkg/scheduler/eventhandlers.go

    	logger := sched.logger
    	pod, ok := obj.(*v1.Pod)
    	if !ok {
    		logger.Error(nil, "Cannot convert to *v1.Pod", "obj", obj)
    		return
    	}
    
    	logger.V(3).Info("Add event for scheduled pod", "pod", klog.KObj(pod))
    	if err := sched.Cache.AddPod(logger, pod); err != nil {
    		logger.Error(err, "Scheduler cache AddPod failed", "pod", klog.KObj(pod))
    	}
    
    	sched.SchedulingQueue.AssignedPodAdded(logger, pod)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. pkg/controller/deployment/deployment_controller.go

    		podMap[rs.UID] = []*v1.Pod{}
    	}
    	for _, pod := range pods {
    		// Do not ignore inactive Pods because Recreate Deployments need to verify that no
    		// Pods from older versions are running before spinning up new Pods.
    		controllerRef := metav1.GetControllerOf(pod)
    		if controllerRef == nil {
    			continue
    		}
    		// Only append if we care about this UID.
    		if _, ok := podMap[controllerRef.UID]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. pkg/kubelet/server/stats/summary_test.go

    		Name:               "pods",
    		StartTime:          cgroupStatsMap["/pods"].cs.StartTime,
    		CPU:                cgroupStatsMap["/pods"].cs.CPU,
    		Memory:             cgroupStatsMap["/pods"].cs.Memory,
    		Accelerators:       cgroupStatsMap["/pods"].cs.Accelerators,
    		UserDefinedMetrics: cgroupStatsMap["/pods"].cs.UserDefinedMetrics,
    		Swap:               cgroupStatsMap["/pods"].cs.Swap,
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				# TYPE pod_swap_usage_bytes gauge
    				pod_swap_usage_bytes{namespace="namespace_a",pod="pod_a"} 5000 1624396278302
    			`,
    		},
    		{
    			name: "nil pod metrics",
    			summary: &statsapi.Summary{
    				Pods: []statsapi.PodStats{
    					{
    						PodRef: statsapi.PodReference{
    							Name:      "pod_a",
    							Namespace: "namespace_a",
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  9. pkg/scheduler/framework/types_test.go

    			}}).Obj()}).
    			Obj(),
    	}
    
    	// add pod Overhead
    	for _, pod := range pods {
    		pod.Spec.Overhead = v1.ResourceList{
    			v1.ResourceCPU:    resource.MustParse("500m"),
    			v1.ResourceMemory: resource.MustParse("500"),
    		}
    	}
    
    	tests := []struct {
    		pod              *v1.Pod
    		errExpected      bool
    		expectedNodeInfo *NodeInfo
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    	log.Debug("Pod is now stopped... cleaning up.")
    
    	if err := removePodFromHostNSIpset(pod, &s.hostsideProbeIPSet); err != nil {
    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    	log.Info("in pod mode - deleting pod from ztunnel")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top