Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for serviceCluster (0.39 sec)

  1. pilot/cmd/pilot-agent/config/config.go

    		}
    	}
    
    	if x, ok := proxyConfig.GetClusterName().(*meshconfig.ProxyConfig_ServiceCluster); ok {
    		if x.ServiceCluster == "" {
    			proxyConfig.ClusterName = &meshconfig.ProxyConfig_ServiceCluster{ServiceCluster: serviceCluster}
    		}
    	}
    	// resolve statsd address
    	if proxyConfig.StatsdUdpAddress != "" {
    		addr, err := network.ResolveAddr(proxyConfig.StatsdUdpAddress)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/bootstrap/config_test.go

    		test.JSONEquals(t, want, string(b))
    	}
    
    	node2 := ConvertXDSNodeToNode(out)
    	{
    		got, err := json.Marshal(node2)
    		if err != nil {
    			t.Fatalf("failed to marshal: %v", err)
    		}
    		// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. pilot/pkg/xds/xds_test.go

    		t.Fatalf("Expected list %v to be equal to %v", a, b)
    	}
    }
    
    func TestClusterLocal(t *testing.T) {
    	tests := map[string]struct {
    		fakeOpts            xds.FakeOptions
    		serviceCluster      string
    		wantClusterLocal    map[cluster.ID][]string
    		wantNonClusterLocal map[cluster.ID][]string
    	}{
    		// set up a k8s service in each cluster, with a pod in each cluster and a workloadentry in cluster-1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/options/agent_proxy.go

    type ProxyArgs struct {
    	istioagent.Proxy
    
    	StsPort            int
    	TokenManagerPlugin string
    
    	MeshConfigFile string
    
    	// proxy config flags (named identically)
    	ServiceCluster         string
    	ProxyLogLevel          string
    	ProxyComponentLogLevel string
    	Concurrency            int
    	TemplateFile           string
    	OutlierLogPath         string
    
    	PodName      string
    	PodNamespace string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/app/cmd.go

    		"Token provider specific plugin name.")
    	// DEPRECATED. Flags for proxy configuration
    	proxyCmd.PersistentFlags().StringVar(&proxyArgs.ServiceCluster, "serviceCluster", constants.ServiceClusterName, "Service cluster")
    	// Log levels are provided by the library https://github.com/gabime/spdlog, used by Envoy.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. pkg/kube/inject/template.go

    		pc.ControlPlaneAuthPolicy = 0
    	}
    	if x, ok := pc.GetClusterName().(*meshconfig.ProxyConfig_ServiceCluster); ok {
    		if x.ServiceCluster == defaults.GetClusterName().(*meshconfig.ProxyConfig_ServiceCluster).ServiceCluster {
    			pc.ClusterName = nil
    		}
    	}
    
    	if proto.Equal(pc.DrainDuration, defaults.DrainDuration) {
    		pc.DrainDuration = nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. pkg/envoy/proxy_test.go

    	"istio.io/istio/pkg/model"
    )
    
    func TestEnvoyArgs(t *testing.T) {
    	proxyConfig := (*model.NodeMetaProxyConfig)(mesh.DefaultProxyConfig())
    	proxyConfig.ClusterName = &meshconfig.ProxyConfig_ServiceCluster{ServiceCluster: "my-cluster"}
    	proxyConfig.Concurrency = &wrapperspb.Int32Value{Value: 8}
    
    	cfg := ProxyConfig{
    		LogLevel:          "trace",
    		ComponentLogLevel: "misc:error",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 11:45:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/tracing.go

    ) (*hcm.HttpConnectionManager_Tracing, bool, error) {
    	startChildSpan := false
    	useCustomSampler := false
    	var serviceCluster string
    	var maxTagLength uint32
    	var providerConfig typedConfigGenFn
    	var providerName string
    	if proxy.XdsNode != nil {
    		serviceCluster = proxy.XdsNode.Cluster
    	}
    	switch provider := providerCfg.Provider.(type) {
    	case *meshconfig.MeshConfig_ExtensionProvider_Zipkin:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. operator/pkg/util/merge_iop.go

    		EnvoyHTTPAls       struct{} `json:"envoyHttpAls"`
    		EnvoyTCPAls        struct{} `json:"envoyTcpAls"`
    		OpenTelemetry      struct{} `json:"opentelemetry"`
    	}
    	clusterName struct {
    		ServiceCluster     *v1alpha13.ProxyConfig_ServiceCluster      `json:"serviceCluster,omitempty"`
    		TracingServiceName *v1alpha13.ProxyConfig_TracingServiceName_ `json:"tracingServiceName,omitempty"`
    	}
    )
    
    type proxyConfig struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 18:21:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. pkg/bootstrap/testdata/tracing_none_golden.json

      },
      "layered_runtime": {
          "layers": [
              {
                "name": "global config",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top