Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for getLabel (0.21 sec)

  1. cni/pkg/repair/repaircontroller.go

    	// Added for safety, to make sure no healthy pods get labeled.
    	m := podsRepaired.With(typeLabel.Value(labelType))
    	repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name)
    
    	labels := pod.GetLabels()
    	if _, ok := labels[c.cfg.LabelKey]; ok {
    		m.With(resultLabel.Value(resultSkip)).Increment()
    		repairLog.Infof("Pod %s/%s already has label with key %s, skipping", pod.Namespace, pod.Name, c.cfg.LabelKey)
    		return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    			}
    			wh := vwhObject.(*admitv1.ValidatingWebhookConfiguration)
    
    			if tc.userManaged {
    				// User created webhooks should not have operator labels, otherwise will be pruned.
    				_, ok := wh.GetLabels()[operatorManaged]
    				assert.Equal(t, ok, false)
    			}
    
    			for _, webhook := range wh.Webhooks {
    				validationWhConf := webhook.ClientConfig
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    		Meta: config.Meta{
    			GroupVersionKind:  schema.GroupVersionKind(),
    			Name:              un.GetName(),
    			Namespace:         un.GetNamespace(),
    			Domain:            domain,
    			Labels:            un.GetLabels(),
    			Annotations:       un.GetAnnotations(),
    			ResourceVersion:   un.GetResourceVersion(),
    			CreationTimestamp: un.GetCreationTimestamp().Time,
    		},
    		Spec: data,
    	}, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    			for i, s := range serviceList.Items {
    				iInfo := &ingressInfo{
    					service: serviceList.Items[i].DeepCopy(),
    				}
    				for j, p := range ingressPods[ns] {
    					if p.GetLabels() == nil {
    						continue
    					}
    					if maps.Contains(p.GetLabels(), s.Spec.Selector) {
    						iInfo.pods = append(iInfo.pods, ingressPods[ns][j])
    					}
    				}
    				if len(iInfo.pods) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top