Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for labelFor (0.44 sec)

  1. cluster/gce/manifests/cloud-controller-manager.manifest

            "readOnly": true}
          ]
        },
        {
        "name": "cloud-pvl-admission",
        "image": "gcr.io/k8s-staging-cloud-pv-labeler/cloud-pv-admission-labeler:v0.3.0",
        "resources": {
          "requests": {
            "cpu": "10m"
          }
        },
        "command": [
          "/cloud-pv-admission-labeler",
          "--addr=localhost:9001",
          "--tls-cert-path=/etc/srv/kubernetes/pki/cloud-pvl-admission/server.crt",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 08:50:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    	labels := labelMap{"label": "value"}
    	labelStr := "\n# labels: " + labels.String()
    	selfLabel := labelMap{"self-label": "self-value"}
    	selfLabelStr := "\n# labels: " + selfLabel.String()
    	fingLabel := labelMap{"fing-label": "fing-value"}
    	fingLabelStr := "\n# labels: " + fingLabel.String()
    	orderedPrefix := []string{
    		"\n50 @ ",
    		"\n44 @", labelStr,
    		"\n40 @",
    		"\n36 @", labelStr,
    		"\n10 @",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. pkg/kube/krt/internal.go

    }
    
    // getLabels returns the labels for an object, if possible.
    // Warning: this will panic if the labels is not available.
    func getLabels(a any) map[string]string {
    	al, ok := a.(Labeler)
    	if ok {
    		return al.GetLabels()
    	}
    	pal, ok := any(&a).(Labeler)
    	if ok {
    		return pal.GetLabels()
    	}
    	ak, ok := a.(metav1.Object)
    	if ok {
    		return ak.GetLabels()
    	}
    	ac, ok := a.(config.Config)
    	if ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. pkg/kube/krt/core.go

    type LabelSelectorer interface {
    	GetLabelSelector() map[string]string
    }
    
    // Labeler is an optional interface that can be implemented by collection types.
    // If implemented, this will be used to determine an objects' Labels
    type Labeler interface {
    	GetLabels() map[string]string
    }
    
    // Namer is an optional interface that can be implemented by collection types.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top