Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 394 for xds (0.29 sec)

  1. pilot/pkg/xds/workload_test.go

    	metav1beta1 "istio.io/api/type/v1beta1"
    	securityclient "istio.io/client-go/pkg/apis/security/v1beta1"
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pilot/test/xds"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube/kclient/clienttest"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. pkg/istio-agent/xds_proxy_delta_test.go

    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pilot/test/xds"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    // Validates basic xds proxy flow by proxying one CDS requests end to end.
    func TestDeltaXdsProxyBasicFlow(t *testing.T) {
    	proxy := setupXdsProxy(t)
    	f := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/apigen/apigen_test.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/test/xds"
    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // Creates an in-process discovery server, using the same code as Istiod, but
    // backed by an in-memory config and endpoint Store.
    func initDS(t *testing.T) *xds.FakeDiscoveryServer {
    	ds := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	sd := ds.MemRegistry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package xds
    
    // xds uses ADSC to call XDS
    
    import (
    	"context"
    	"crypto/tls"
    	"fmt"
    	"strings"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"google.golang.org/grpc"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pkg/istio-agent/xds_proxy_test.go

    	if !proto.Equal(gotEcdsConfig, wantEcdsConfig) {
    		t.Errorf("xds proxy wasm config conversion got %v want %v", gotEcdsConfig, wantEcdsConfig)
    	}
    	v1 := proxy.ecdsLastAckVersion
    	n1 := proxy.ecdsLastNonce
    
    	// reset wasm cache to a NACK cache, and recreate xds server as well to simulate a version bump
    	proxy.wasmCache = &fakeNackCache{}
    	f = xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    		ConfigString: string(ef),
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. tests/integration/pilot/piggyback_test.go

    					args := []string{
    						"x", "proxy-status", "--xds-via-agents", fmt.Sprintf("%s.%s", podName, namespace),
    					}
    					output, _, err := istioCtl.Invoke(args)
    					if err != nil {
    						return err
    					}
    					return expectSubstrings(output, "Clusters Match", "Listeners Match", "Routes Match")
    				})
    
    				// Test gRPC-based tapped XDS using istioctl.
    				retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/xds/monitoring.go

    	typeTag = monitoring.CreateLabel("type")
    
    	TotalXDSInternalErrors = monitoring.NewSum(
    		"pilot_total_xds_internal_errors",
    		"Total number of internal XDS errors in pilot.",
    	)
    
    	ExpiredNonce = monitoring.NewSum(
    		"pilot_xds_expired_nonce",
    		"Total number of XDS requests with an expired nonce.",
    	)
    
    	// pilot_total_xds_rejects should be used instead. This is for backwards compatibility
    	cdsReject = monitoring.NewGauge(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/xds_test.go

    			ID:              "app.app",
    			Type:            model.SidecarProxy,
    			IPAddresses:     []string{"1.1.1.1"},
    			ConfigNamespace: "app",
    		}
    	}
    
    	t.Run("STATIC", func(t *testing.T) {
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    			ConfigString: scopeConfig,
    			ConfigTemplateInput: SidecarTestConfig{
    				ImportedNamespaces: []string{"./*", "included/*"},
    				Resolution:         "STATIC",
    			},
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. pilot/pkg/xds/lds_test.go

    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pilot/test/xds"
    	"istio.io/istio/pilot/test/xdstest"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/wellknown"
    	"istio.io/istio/tests/util"
    )
    
    // TestLDS using isolated namespaces
    func TestLDSIsolated(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pilot/pkg/xds/delta_test.go

    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	ads := s.ConnectDeltaADS().WithType(v3.ClusterType)
    	ads.RequestResponseAck(nil)
    }
    
    func TestDeltaAdsClusterUpdate(t *testing.T) {
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	ads := s.ConnectDeltaADS().WithType(v3.EndpointType)
    	nonce := ""
    	sendEDSReqAndVerify := func(add, remove, expect []string) {
    		t.Helper()
    		res := ads.RequestResponseAck(&discovery.DeltaDiscoveryRequest{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top