Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for WorkloadName (0.19 sec)

  1. pilot/pkg/networking/core/cluster_builder_test.go

    		},
    	}
    
    	buildMetadata := func(networkID network.ID, tlsMode, workloadname, namespace string,
    		clusterID istiocluster.ID, lbls labels.Instance,
    	) *core.Metadata {
    		newmeta := &core.Metadata{}
    		util.AppendLbEndpointMetadata(&model.EndpointMetadata{
    			Network:      networkID,
    			TLSMode:      tlsMode,
    			WorkloadName: workloadname,
    			Namespace:    namespace,
    			ClusterID:    clusterID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/service.go

    func (ep *IstioEndpoint) MetadataClone() *EndpointMetadata {
    	return &EndpointMetadata{
    		Network:      ep.Network,
    		TLSMode:      ep.TLSMode,
    		WorkloadName: ep.WorkloadName,
    		Namespace:    ep.Namespace,
    		Labels:       maps.Clone(ep.Labels),
    		ClusterID:    ep.Locality.ClusterID,
    	}
    }
    
    // Metadata returns the endpoint metadata used for telemetry purposes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  3. istioctl/pkg/metrics/metrics.go

    	}
    
    	return sm, nil
    }
    
    func getLatency(promAPI promv1.API, workloadName, workloadNamespace string, duration time.Duration, quantile float64) (time.Duration, error) {
    	latencyQuery := fmt.Sprintf(`histogram_quantile(%f, sum(rate(%s_bucket{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s])) by (le))`,
    		quantile, reqDur, destWorkloadLabel, workloadName, destWorkloadNamespaceLabel, workloadNamespace, duration)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/conversion.go

    			ServiceAccount: sa,
    			// Workload entry config name is used as workload name, which will appear in metric label.
    			// After VM auto registry is introduced, workload group annotation should be used for workload name.
    			WorkloadName: configKey.name,
    			Namespace:    configKey.namespace,
    		},
    		Service:     service,
    		ServicePort: convertPort(servicePort),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. pkg/bootstrap/config_test.go

    		ExitOnZeroActiveConnections: true,
    	})
    
    	g := NewWithT(t)
    	g.Expect(err).Should(BeNil())
    	g.Expect(node.Metadata.Owner).To(Equal(expectOwner))
    	g.Expect(node.Metadata.WorkloadName).To(Equal(expectWorkloadName))
    	g.Expect(node.Metadata.ExitOnZeroActiveConnections).To(Equal(expectExitOnZeroActiveConnections))
    	g.Expect(node.RawMetadata["OWNER"]).To(Equal(expectOwner))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. pkg/model/proxy.go

    	// NodeName is the name of the kubernetes node on which the workload instance is running.
    	NodeName string `json:"NODE_NAME,omitempty"`
    
    	// WorkloadName specifies the name of the workload represented by this node.
    	WorkloadName string `json:"WORKLOAD_NAME,omitempty"`
    
    	// InterceptionMode is the name of the metadata variable that carries info about
    	// traffic interception mode at the proxy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. pilot/pkg/networking/util/util.go

    		canonicalName, canonicalRevision := kubelabels.CanonicalService(istioMetadata.Labels, istioMetadata.WorkloadName)
    
    		// don't bother sending the default value in config
    		if canonicalRevision == "latest" {
    			canonicalRevision = ""
    		}
    
    		var sb strings.Builder
    		sb.WriteString(istioMetadata.WorkloadName)
    		sb.WriteString(";")
    		sb.WriteString(istioMetadata.Namespace)
    		sb.WriteString(";")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. pkg/workloadapi/workload.proto

      // CanonicalRevision for the workload. Used for telemetry.
      string canonical_revision = 11;
      // WorkloadType represents the type of the workload. Used for telemetry.
      WorkloadType workload_type = 12;
      // WorkloadName represents the name for the workload (of type WorkloadType). Used for telemetry.
      string workload_name = 13;
    
      // If set, this indicates a workload expects to directly receive tunnel traffic.
      // In ztunnel, this means:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    					ServiceAccount:    "sa3",
    					Node:              "",
    					CanonicalName:     "other",
    					CanonicalRevision: "latest",
    					WorkloadType:      workloadapi.WorkloadType_POD,
    					WorkloadName:      "name3",
    					ClusterId:         testC,
    				},
    			},
    		},
    	}})
    	s.assertEvent(t, s.wleXdsName("name2"))
    	s.assertEvent(t, s.wleXdsName("name3"))
    
    	// Non-existent IP should have no response
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. pkg/workloadapi/workload.pb.go

    	// WorkloadName represents the name for the workload (of type WorkloadType). Used for telemetry.
    	WorkloadName string `protobuf:"bytes,13,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"`
    	// If set, this indicates a workload expects to directly receive tunnel traffic.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top