Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for NodeSpec (5.98 sec)

  1. pkg/volume/csi/testing/testing.go

    	}
    
    	if client == nil {
    		client = fakeclient.NewSimpleClientset()
    	}
    
    	client.Tracker().Add(&v1.Node{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "fakeNode",
    		},
    		Spec: v1.NodeSpec{},
    	})
    
    	// Start informer for CSIDrivers.
    	factory := informers.NewSharedInformerFactory(client, csi.CsiResyncPeriod)
    	csiDriverInformer := factory.Storage().V1().CSIDrivers()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 07 00:11:50 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/conversion.go

    		out.ShareProcessNamespace = in.SecurityContext.ShareProcessNamespace
    		out.HostUsers = in.SecurityContext.HostUsers
    	}
    
    	return nil
    }
    
    func Convert_core_NodeSpec_To_v1_NodeSpec(in *core.NodeSpec, out *v1.NodeSpec, s conversion.Scope) error {
    	if err := autoConvert_core_NodeSpec_To_v1_NodeSpec(in, out, s); err != nil {
    		return err
    	}
    	// at the this point autoConvert copied core.PodCIDRs -> v1.PodCIDRs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/ipam/cidr_allocator.go

    const (
    	// The amount of time the nodecontroller polls on the list nodes endpoint.
    	apiserverStartupGracePeriod = 10 * time.Minute
    
    	// The no. of NodeSpec updates NC can process concurrently.
    	cidrUpdateWorkers = 30
    
    	// cidrUpdateRetries is the no. of times a NodeSpec update will be retried before dropping it.
    	cidrUpdateRetries = 3
    )
    
    // nodePollInterval is used in listing node
    var nodePollInterval = 10 * time.Second
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. pkg/controller/nodeipam/ipam/sync/sync_test.go

    	}
    }
    
    var nodeWithoutCIDRRange = &v1.Node{
    	ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    }
    
    var nodeWithCIDRRange = &v1.Node{
    	ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    	Spec:       v1.NodeSpec{PodCIDR: "10.1.1.0/24"},
    }
    
    func TestNodeSyncUpdate(t *testing.T) {
    	t.Parallel()
    
    	for _, tc := range []struct {
    		desc string
    		mode NodeSyncMode
    		node *v1.Node
    		fake fakeAPIs
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. plugin/pkg/admission/nodetaint/admission_test.go

    		myNodeObjMeta     = metav1.ObjectMeta{Name: "mynode"}
    		myNodeObj         = api.Node{ObjectMeta: myNodeObjMeta}
    		myTaintedNodeObj  = api.Node{ObjectMeta: myNodeObjMeta,
    			Spec: api.NodeSpec{Taints: []api.Taint{notReadyTaint}}}
    		myUnreadyNodeObj = api.Node{ObjectMeta: myNodeObjMeta,
    			Status: api.NodeStatus{Conditions: []api.NodeCondition{notReadyCondition}}}
    		nodeKind = api.Kind("Node").WithVersion("v1")
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 06 04:56:21 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/kubelet/config_test.go

    	client.PrependReactor("get", "nodes", func(action core.Action) (bool, runtime.Object, error) {
    		return true, &v1.Node{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: nodeName,
    			},
    			Spec: v1.NodeSpec{},
    		}, nil
    	})
    	client.PrependReactor("create", "roles", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_linux_test.go

    			}
    		})
    	}
    }
    
    func makeNodeWithPodCIDRs(cidrs ...string) *v1.Node {
    	if len(cidrs) == 0 {
    		return &v1.Node{}
    	}
    	return &v1.Node{
    		Spec: v1.NodeSpec{
    			PodCIDR:  cidrs[0],
    			PodCIDRs: cidrs,
    		},
    	}
    }
    
    func TestConfigChange(t *testing.T) {
    	setUp := func() (*os.File, string, error) {
    		tempDir, err := os.MkdirTemp("", "kubeproxy-config-change")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. samples/security/spire/spire-quickstart.yaml

                      that are applicable to SVIDs minted for this ClusterSPIFFEID. The
                      node and pod spec are made available to the template under .NodeSpec,
                      .PodSpec respectively.
                    items:
                      type: string
                    type: array
                  downstream:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 12 16:12:42 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_node_status_test.go

    				Spec:       v1.NodeSpec{},
    				Status: v1.NodeStatus{
    					Addresses: test.Before,
    				},
    			}
    			expectedNode := &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname, Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH}},
    				Spec:       v1.NodeSpec{},
    				Status: v1.NodeStatus{
    					Addresses: test.After,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/cluster_test.go

    			node: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: nodeName,
    					Annotations: map[string]string{
    						kubeadmconstants.AnnotationKubeadmCRISocket: "myCRIsocket",
    					},
    				},
    				Spec: v1.NodeSpec{
    					Taints: []v1.Taint{kubeadmconstants.ControlPlaneTaint},
    				},
    			},
    		},
    		{
    			name:          "invalid - no node",
    			fileContents:  kubeletConfFiles["configWithEmbeddedCert"],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top