Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 568 for podIps (0.09 sec)

  1. pilot/cmd/pilot-agent/status/server.go

    }
    
    // Options for the status server.
    type Options struct {
    	// Ip of the pod. Note: this is only applicable for Kubernetes pods and should only be used for
    	// the prober.
    	PodIP string
    	// KubeAppProbers is a json with Kubernetes application prober config encoded.
    	KubeAppProbers      string
    	NodeType            model.NodeType
    	StatusPort          uint16
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  2. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_test.go

    			name:           "resources requested, pods scheduled with more resources",
    			pods: []*v1.Pod{
    				st.MakePod().Obj(),
    			},
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			state := framework.NewCycleState()
    			snapshot := cache.NewSnapshot(test.pods, test.nodes)
    			_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  3. pkg/scheduler/util/utils_test.go

    	var priority int32 = 1
    	currentTime := time.Now()
    	tests := []struct {
    		name              string
    		pods              []*v1.Pod
    		expectedStartTime *metav1.Time
    	}{
    		{
    			name:              "Pods length is 0",
    			pods:              []*v1.Pod{},
    			expectedStartTime: nil,
    		},
    		{
    			name: "generate new startTime",
    			pods: []*v1.Pod{
    				newPriorityPodWithStartTime("pod1", 1, currentTime.Add(-time.Second)),
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/qos_container_manager_linux.go

    		}
    	}
    	return nil
    }
    
    func (m *qosContainerManagerImpl) setCPUCgroupConfig(configs map[v1.PodQOSClass]*CgroupConfig) error {
    	pods := m.activePods()
    	burstablePodCPURequest := int64(0)
    	reuseReqs := make(v1.ResourceList, 4)
    	for i := range pods {
    		pod := pods[i]
    		qosClass := v1qos.GetPodQOS(pod)
    		if qosClass != v1.PodQOSBurstable {
    			// we only care about the burstable qos tier
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set.go

    	// List all pods to include the pods that don't match the selector anymore but
    	// has a ControllerRef pointing to this StatefulSet.
    	pods, err := ssc.podLister.Pods(set.Namespace).List(labels.Everything())
    	if err != nil {
    		return nil, err
    	}
    
    	filter := func(pod *v1.Pod) bool {
    		// Only claim if it matches our StatefulSet name. Otherwise release/ignore.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. pkg/kubelet/metrics/metrics.go

    	// RunningPodCount is a gauge that tracks the number of Pods currently with a running sandbox
    	// It is used to expose the kubelet internal state: how many pods have running containers in the container runtime, and mainly for debugging purpose.
    	RunningPodCount = metrics.NewGauge(
    		&metrics.GaugeOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           RunningPodsKey,
    			Help:           "Number of pods that have a running pod sandbox",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    			otherNodes = append(otherNodes, node)
    			otherNodesStr = append(otherNodesStr, string(node))
    		}
    	}
    
    	// Get list of pods that use the volume on the other nodes.
    	pods := rc.desiredStateOfWorld.GetVolumePodsOnNodes(otherNodes, volumeToAttach.VolumeName)
    	if len(pods) == 0 {
    		// We did not find any pods that requests the volume. The pod must have been deleted already.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    				newClusterRole("admin", newRule("*", "*", "pods", "*")),
    			},
    			roleBindings: []*rbacv1.RoleBinding{
    				newRoleBinding("ns1", "admin", bindToClusterRole, "User:admin", "Group:admins"),
    			},
    			shouldPass: []authorizer.Attributes{
    				&defaultAttributes{"admin", "", "get", "pods", "", "ns1", ""},
    			},
    			shouldFail: []authorizer.Attributes{
    				&defaultAttributes{"admin", "", "get", "pods", "status", "ns1", ""},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 21.1K bytes
    - Viewed (0)
  9. tools/bug-report/pkg/cluster/cluster.go

    	for _, eld := range config.Exclude {
    		if len(eld.Namespaces) > 0 {
    			if isIncludeOrExcludeEntriesMatched(eld.Namespaces, pod.Namespace) {
    				return true
    			}
    		}
    		if len(eld.Pods) > 0 {
    			if isIncludeOrExcludeEntriesMatched(eld.Pods, pod.Name) {
    				return true
    			}
    		}
    		if len(eld.Containers) > 0 {
    			for _, c := range pod.Spec.Containers {
    				if isIncludeOrExcludeEntriesMatched(eld.Containers, c.Name) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (1)
  10. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity.go

    	// ErrReasonPod is the reason for Pod's node affinity/selector not matching.
    	ErrReasonPod = "node(s) didn't match Pod's node affinity/selector"
    
    	// errReasonEnforced is the reason for added node affinity not matching.
    	errReasonEnforced = "node(s) didn't match scheduler-enforced node affinity"
    
    	// errReasonConflict is the reason for pod's conflicting affinity rules.
    	errReasonConflict = "pod affinity terms conflict"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top