Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for NodeStatus (0.31 sec)

  1. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    	nodeInfo := framework.NewNodeInfo(pods...)
    	node := &v1.Node{
    		ObjectMeta: metav1.ObjectMeta{Name: "node-for-max-pd-test-1"},
    		Status: v1.NodeStatus{
    			Allocatable: v1.ResourceList{},
    		},
    	}
    	var csiNode *storagev1.CSINode
    
    	addLimitToNode := func() {
    		for _, driver := range driverNames {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package nodestatus
    
    import (
    	"context"
    	"fmt"
    	"math"
    	"net"
    	goruntime "runtime"
    	"strings"
    	"time"
    
    	cadvisorapiv1 "github.com/google/cadvisor/info/v1"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. pkg/controller/endpointslice/endpointslice_controller_test.go

    			for i, nodeInfo := range tc.nodes {
    				node := &v1.Node{
    					ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("node-%d", i)},
    					Status:     v1.NodeStatus{},
    				}
    				if nodeInfo.zoneLabel != nil {
    					node.Labels = map[string]string{v1.LabelTopologyZone: *nodeInfo.zoneLabel}
    				}
    				if nodeInfo.ready != nil {
    					status := v1.ConditionFalse
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  4. pkg/controller/podgc/gc_controller_test.go

    				nodes = append(nodes, &v1.Node{
    					ObjectMeta: metav1.ObjectMeta{Name: node.name, CreationTimestamp: metav1.Time{Time: creationTime}},
    					Spec: v1.NodeSpec{
    						Taints: node.taints,
    					},
    					Status: v1.NodeStatus{
    						Conditions: []v1.NodeCondition{
    							{
    								Type:   v1.NodeReady,
    								Status: node.readyCondition,
    							},
    						},
    					},
    				})
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_test.go

    		}
    
    	}
    }
    
    func makeNodeWithAddress(name, primaryIP string) *v1.Node {
    	node := &v1.Node{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		Status: v1.NodeStatus{
    			Addresses: []v1.NodeAddress{},
    		},
    	}
    
    	if primaryIP != "" {
    		node.Status.Addresses = append(node.Status.Addresses,
    			v1.NodeAddress{Type: v1.NodeInternalIP, Address: primaryIP},
    		)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/defaults_test.go

    			if !found {
    				return false
    			}
    			if v.Cmp(vb) != 0 {
    				return false
    			}
    		}
    		return true
    	}
    
    	for i, testcase := range tests {
    		node := v1.Node{
    			Status: v1.NodeStatus{
    				Capacity:    copyResourceList(testcase.capacity),
    				Allocatable: copyResourceList(testcase.allocatable),
    			},
    		}
    		node2 := roundTrip(t, runtime.Object(&node)).(*v1.Node)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	nodeName1 := k8stypes.NodeName("worker-0")
    	node1 := &v1.Node{
    		ObjectMeta: metav1.ObjectMeta{Name: string(nodeName1)},
    		Status: v1.NodeStatus{
    			Conditions: []v1.NodeCondition{
    				{
    					Type:   v1.NodeReady,
    					Status: v1.ConditionTrue,
    				},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  8. pkg/apis/core/zz_generated.deepcopy.go

    		}
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
    func (in *NodeStatus) DeepCopy() *NodeStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(NodeStatus)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		}
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
    func (in *NodeStatus) DeepCopy() *NodeStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(NodeStatus)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.2.md

    if supported by the kernel. You should either adjust your CPU limit, or set CPU
    request only, if you want to avoid hardcapping. If the kernel does not support
    CPU Quota, NodeStatus will contain a warning indicating that CPU Limits cannot
    be enforced.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
Back to top