Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HasCanonicalServiceName (0.11 sec)

  1. istioctl/pkg/validate/validate.go

    		return nil
    	}
    	objLabels, err := GetTemplateLabels(un)
    	if err != nil {
    		return err
    	}
    	url := fmt.Sprintf("See %s\n", url.DeploymentRequirements)
    	if !labels.HasCanonicalServiceName(objLabels) || !labels.HasCanonicalServiceRevision(objLabels) {
    		fmt.Fprintf(writer, "deployment %q may not provide Istio metrics and telemetry labels: %q. "+url,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    		}
    	}
    
    	// https://istio.io/docs/setup/kubernetes/additional-setup/requirements/
    	// says "We recommend adding an explicit app label and version label to deployments."
    	if !labels.HasCanonicalServiceName(pod.Labels) {
    		fmt.Fprintf(writer, "Suggestion: add required service name label for Istio telemetry. "+
    			"See %s.\n", url.DeploymentRequirements)
    	}
    	if !labels.HasCanonicalServiceRevision(pod.Labels) {
    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