Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for matchingServices (0.13 sec)

  1. istioctl/pkg/describe/describe.go

    			if err != nil {
    				return err
    			}
    
    			matchingServices := make([]corev1.Service, 0, len(svcs.Items))
    			for _, svc := range svcs.Items {
    				if len(svc.Spec.Selector) > 0 {
    					svcSelector := klabels.SelectorFromSet(svc.Spec.Selector)
    					if svcSelector.Matches(podLabels) {
    						matchingServices = append(matchingServices, svc)
    					}
    				}
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top