Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for labelFor (0.3 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s.labelPod(t, "pod1", testNS, map[string]string{constants.AmbientUseWaypointLabel: "waypoint-sa1"})
    	s.assertEvent(t, s.podXdsName("pod1"))
    	// assert that we're using the correct waypoint for pod1
    	s.assertWaypointAddressForPod(t, "pod1", "10.0.0.2")
    
    	// remove the use-waypoint clabel from pod1
    	s.labelPod(t, "pod1", testNS, map[string]string{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status.go

    		v1.LabelFailureDomainBetaZone,
    		v1.LabelFailureDomainBetaRegion,
    		v1.LabelInstanceTypeStable,
    		v1.LabelInstanceType,
    		v1.LabelOSStable,
    		v1.LabelArchStable,
    		v1.LabelWindowsBuild,
    		kubeletapis.LabelOS,
    		kubeletapis.LabelArch,
    	}
    
    	needsUpdate := false
    	if existingNode.Labels == nil {
    		existingNode.Labels = make(map[string]string)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	p.inRhs = old
    	return x
    }
    
    // ----------------------------------------------------------------------------
    // Statements
    
    // Parsing modes for parseSimpleStmt.
    const (
    	basic = iota
    	labelOk
    	rangeOk
    )
    
    // parseSimpleStmt returns true as 2nd result if it parsed the assignment
    // of a range clause (with mode == rangeOk). The returned statement is an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. src/go/printer/testdata/parser.go

    func (p *parser) parseRhs() ast.Expr {
    	return p.parseExpr(false)
    }
    
    // ----------------------------------------------------------------------------
    // Statements
    
    func (p *parser) parseSimpleStmt(labelOk bool) ast.Stmt {
    	if p.trace {
    		defer un(trace(p, "SimpleStmt"))
    	}
    
    	x := p.parseLhsList()
    
    	switch p.tok {
    	case
    		token.DEFINE, token.ASSIGN, token.ADD_ASSIGN,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion_test.go

    			validationIgnorer: crdvalidation.NewValidationIgnorer(
    				"istio-system/^not-allowed-echo-",
    			),
    		},
    		{name: "serviceentry"},
    		{name: "eastwest"},
    		{name: "eastwest-tlsoption"},
    		{name: "eastwest-labelport"},
    		{name: "eastwest-remote"},
    		{name: "alias"},
    		{name: "mcs"},
    		{name: "route-precedence"},
    		{name: "waypoint"},
    		{name: "isolation"},
    	}
    	for _, tt := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  6. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    					Labels: map[string]string{
    						kubeletapis.LabelOS:   "windows",
    						kubeletapis.LabelArch: "arm",
    						v1.LabelOSStable:      "linux",
    						v1.LabelArchStable:    "amd64",
    					},
    				},
    			},
    			ExpectedLabels: map[string]string{
    				kubeletapis.LabelOS:   "linux",
    				kubeletapis.LabelArch: "amd64",
    				v1.LabelOSStable:      "linux",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_node_status_test.go

    				Labels: map[string]string{
    					v1.LabelHostname:      testKubeletHostname,
    					v1.LabelOSStable:      goruntime.GOOS,
    					v1.LabelArchStable:    goruntime.GOARCH,
    					kubeletapis.LabelOS:   goruntime.GOOS,
    					kubeletapis.LabelArch: goruntime.GOARCH,
    				},
    			},
    		}, nil
    	})
    
    	kubeClient.AddReactor("patch", "nodes", func(action core.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		// TODO(#89477): no earlier than 1.22: drop the beta labels if they differ from the GA labels
    		primaryKey:            v1.LabelOSStable,
    		secondaryKey:          kubeletapis.LabelOS,
    		ensureSecondaryExists: true,
    	},
    	{
    		// Reconcile the beta and the stable arch label using the stable label as the source of truth.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	affinityPod := st.MakePod().Name("afp").Namespace("ns1").UID("afp").Annotation("annot2", "val2").Priority(mediumPriority).NominatedNodeName("node1").PodAffinityExists("service", "region", st.PodAffinityWithRequiredReq).Obj()
    	labelPod := st.MakePod().Name("lbp").Namespace(affinityPod.Namespace).Label("service", "securityscan").Node("node1").Obj()
    
    	c := testingclock.NewFakeClock(time.Now())
    	m := makeEmptyQueueingHintMapPerProfile()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.31.md

    - Removed admission plugin PersistentVolumeLabel. Please use https://github.com/kubernetes-sigs/cloud-pv-admission-labeler instead if you need a similar functionality. ([#124505](https://github.com/kubernetes/kubernetes/pull/124505), [@jsafrane](https://github.com/jsafrane)) [SIG API Machinery, Auth and Storage]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
Back to top