- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for get_labels (0.12 sec)
-
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
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
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
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
// TODO it is sort of pointless/confusing/implicit to populate Old and New with the same reference here func (s *InformerHandlers) enqueueNamespace(o controllers.Object) { namespace := o.GetName() labels := o.GetLabels() matchAmbient := labels[label.IoIstioDataplaneMode.Name] == constants.DataplaneModeAmbient if matchAmbient { log.Infof("Namespace %s is enabled in ambient mesh", namespace) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 11.7K bytes - Viewed (0) -
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 }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/metrics-v2.go
// values bugLogIf(GlobalContext, err) continue } h := dtoMetric.GetHistogram() for _, b := range h.Bucket { labels := make(map[string]string) for _, lp := range dtoMetric.GetLabel() { if *lp.Name == "api" && toLowerAPILabels { labels[*lp.Name] = strings.ToLower(*lp.Value) } else { labels[*lp.Name] = *lp.Value } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0)