Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 767 for podB (0.03 sec)

  1. 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)
  2. pilot/pkg/config/kube/ingress/status.go

    		addrs = append(addrs, svc.Spec.ExternalIPs...)
    		return addrs
    	}
    
    	// get all pods acting as ingress gateways
    	igSelector := getIngressGatewaySelector(ingressSelector, ingressService)
    	igPods := s.pods.List(IngressNamespace, labels.SelectorFromSet(igSelector))
    
    	for _, pod := range igPods {
    		// only Running pods are valid
    		if pod.Status.Phase != corev1.PodRunning {
    			continue
    		}
    
    		// Find node external IP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/kubelet_pods_test.go

    		message string
    	}
    	simplePod := func() *v1.Pod {
    		return &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{Name: "pod1", Namespace: "ns1", UID: types.UID("1")},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{Name: "container-1"},
    				},
    			},
    		}
    	}
    	withPhase := func(pod *v1.Pod, phase v1.PodPhase) *v1.Pod {
    		pod.Status.Phase = phase
    		return pod
    	}
    	staticPod := func() *v1.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/truncate-canonical-name-custom-controller-pod.yaml.injected

    apiVersion: v1
    kind: Pod
    metadata:
      annotations:
        istio.io/rev: default
        kubectl.kubernetes.io/default-container: hello
        kubectl.kubernetes.io/default-logs-container: hello
        prometheus.io/path: /stats/prometheus
        prometheus.io/port: "15020"
        prometheus.io/scrape: "true"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. 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)
  7. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    	}
    	logger := klog.FromContext(ctx)
    	logger.V(5).Info("Trying to bind volumes for pod", "pod", klog.KObj(pod))
    	err = pl.Binder.BindPodVolumes(ctx, pod, podVolumes)
    	if err != nil {
    		logger.V(5).Info("Failed to bind volumes for pod", "pod", klog.KObj(pod), "err", err)
    		return framework.AsStatus(err)
    	}
    	logger.V(5).Info("Success binding volumes for pod", "pod", klog.KObj(pod))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/sidecar/selector.go

    			"match at least one pod, and that there aren't multiple sidecar resources that select overlapping pods",
    		Inputs: []config.GroupVersionKind{
    			gvk.Sidecar,
    			gvk.Pod,
    			gvk.Namespace,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (a *SelectorAnalyzer) Analyze(c analysis.Context) {
    	podsToSidecars := make(map[resource.FullName][]*resource.Instance)
    	pods := make(map[resource.FullName]*resource.Instance)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. tools/bug-report/pkg/config/config.go

    const (
    	Namespace ResourceType = iota
    	Deployment
    	Pod
    	Label
    	Annotation
    	Container
    )
    
    // SelectionSpec is a spec for pods that will be Include in the capture
    // archive. The format is:
    //
    //	Namespace1,Namespace2../Deployments/Pods/Label1,Label2.../Annotation1,Annotation2.../ContainerName1,ContainerName2...
    //
    // Namespace, pod and container names are pattern matching while labels
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/controller.go

    	return svc
    }
    
    // getPodLocality retrieves the locality for a pod.
    func (c *Controller) getPodLocality(pod *v1.Pod) string {
    	// if pod has `istio-locality` label, skip below ops
    	if len(pod.Labels[model.LocalityLabel]) > 0 {
    		return model.GetLocalityLabel(pod.Labels[model.LocalityLabel])
    	}
    
    	// NodeName is set by the scheduler after the pod is created
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top