Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 142 for ClusterID (0.26 sec)

  1. pkg/istio-agent/xds_proxy_delta_test.go

    		t.Fatalf("Expected to get listener response but got %v", res)
    	}
    }
    
    func TestDeltaECDSWasmConversion(t *testing.T) {
    	node := model.NodeMetadata{
    		Namespace:   "default",
    		InstanceIPs: []string{"1.1.1.1"},
    		ClusterID:   constants.DefaultClusterName,
    	}
    	proxy := setupXdsProxy(t)
    	// Reset wasm cache to a fake ACK cache.
    	proxy.wasmCache.Cleanup()
    	proxy.wasmCache = &fakeAckCache{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pkg/kube/inject/webhook.go

    		clusterID, _ := extractClusterAndNetwork(params)
    		if clusterID == "" {
    			clusterID = constants.DefaultClusterName
    		}
    		client := wh.namespaces.ForCluster(cluster.ID(clusterID))
    		if client != nil {
    			params.namespace = client.Get(pod.Namespace, "")
    		} else {
    			log.Warnf("unable to fetch namespace, failed to get client for %q", clusterID)
    		}
    	}
    	wh.mu.RUnlock()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. pilot/test/xds/fake.go

    			opts.KubeClientModifier(client)
    		}
    		k8s, _ := kube.NewFakeControllerWithOptions(t, kube.FakeControllerOptions{
    			ServiceHandler:  serviceHandler,
    			Client:          client,
    			ClusterID:       k8sCluster,
    			DomainSuffix:    "cluster.local",
    			XDSUpdater:      xdsUpdater,
    			NetworksWatcher: opts.NetworksWatcher,
    			SkipRun:         true,
    			ConfigCluster:   k8sCluster == opts.DefaultClusterName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. pkg/istio-agent/xds_proxy_test.go

    		grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
    			return l.Dial()
    		}),
    	}
    }
    
    var ctx = metadata.AppendToOutgoingContext(context.Background(), "ClusterID", constants.DefaultClusterName)
    
    // Validates basic xds proxy flow by proxying one CDS requests end to end.
    func TestXdsProxyReconnects(t *testing.T) {
    	waitDisconnect := func(proxy *XdsProxy) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_builder.go

    				tlsClientCertChain: proxy.Metadata.TLSClientCertChain,
    				tlsClientKey:       proxy.Metadata.TLSClientKey,
    				tlsClientRootCert:  proxy.Metadata.TLSClientRootCert,
    			}
    		}
    		cb.clusterID = string(proxy.Metadata.ClusterID)
    		if proxy.Metadata.Raw[security.CredentialMetaDataName] == "true" {
    			cb.credentialSocketExist = true
    		}
    	}
    	return cb
    }
    
    func (m *metadataCerts) String() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. security/pkg/server/ca/node_auth_test.go

    			wantErr:                 "no instance",
    		},
    	}
    
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			ctx := metadata.NewIncomingContext(context.Background(), metadata.MD{
    				"clusterid": []string{string(tt.callerClusterID)},
    			})
    			err := mNa.authenticateImpersonation(ctx, tt.caller, tt.requestedIdentityString)
    			if tt.wantErr == "" && err != nil {
    				t.Fatalf("wanted no error, got %v", err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

              valueFrom:
                resourceFieldRef:
                  resource: limits.cpu
            - name: ISTIO_META_CLUSTER_ID
              value: "{{ valueOrDefault .Values.global.multiCluster.clusterName .ClusterID }}"
            - name: ISTIO_META_NODE_NAME
              valueFrom:
                fieldRef:
                  fieldPath: spec.nodeName
            - name: ISTIO_META_INTERCEPTION_MODE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. pkg/model/proxy.go

    	HTTPProxyPort string `json:"HTTP_PROXY_PORT,omitempty"`
    
    	// MeshID specifies the mesh ID environment variable.
    	MeshID string `json:"MESH_ID,omitempty"`
    
    	// ClusterID defines the cluster the node belongs to.
    	ClusterID cluster.ID `json:"CLUSTER_ID,omitempty"`
    
    	// Network defines the network the node belongs to. It is an optional metadata,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. pilot/pkg/xds/bench_test.go

    		Labels: map[string]string{
    			"istio.io/benchmark": "true",
    		},
    		Metadata: &model.NodeMetadata{
    			Namespace: "default",
    			Labels: map[string]string{
    				"istio.io/benchmark": "true",
    			},
    			ClusterID:    constants.DefaultClusterName,
    			IstioVersion: "1.23.0",
    		},
    		ConfigNamespace:  "default",
    		VerifiedIdentity: &spiffe.Identity{Namespace: "default"},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. pilot/pkg/xds/endpoints/ep_filters_test.go

    			}
    		})
    	}
    }
    
    func makeProxy(nw network.ID, c cluster.ID) *model.Proxy {
    	return &model.Proxy{
    		Metadata: &model.NodeMetadata{
    			Network:   nw,
    			ClusterID: c,
    		},
    	}
    }
    
    // environment defines the networks with:
    //   - 1 gateway for network1
    //   - 3 gateway for network2
    //   - 1 gateway for network3
    //   - 0 gateways for network4
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top