Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isZtunnel (0.23 sec)

  1. istioctl/pkg/util/ambient/util.go

    	isZtunnel := strings.HasPrefix(podName, "ztunnel")
    	if client == nil {
    		return isZtunnel
    	}
    	pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    	if err != nil {
    		return isZtunnel
    	}
    	if v, ok := pod.Labels["app"]; ok {
    		return v == "ztunnel"
    	}
    	return isZtunnel
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. security/pkg/server/ca/node_auth_test.go

    			}
    		})
    	}
    }
    
    func toPod(p pod, isZtunnel bool) *v1.Pod {
    	po := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      p.name,
    			Namespace: p.namespace,
    			UID:       types.UID(p.uid),
    		},
    		Spec: v1.PodSpec{
    			ServiceAccountName: p.account,
    			NodeName:           p.node,
    		},
    	}
    	if isZtunnel {
    		po.Labels = map[string]string{
    			"app": "ztunnel",
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. pilot/pkg/xds/proxy_dependencies.go

    func ConfigAffectsProxy(req *model.PushRequest, proxy *model.Proxy) bool {
    	// Empty changes means "all" to get a backward compatibility.
    	if len(req.ConfigsUpdated) == 0 {
    		return true
    	}
    	if proxy.IsWaypointProxy() || proxy.IsZTunnel() {
    		// Optimizations do not apply since scoping uses different mechanism
    		// TODO: implement ambient aware scoping
    		return true
    	}
    
    	for config := range req.ConfigsUpdated {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/context.go

    	return node.Type == Waypoint
    }
    
    // IsZTunnel returns true if the proxy is acting as a ztunnel in an ambient mesh.
    func (node *Proxy) IsZTunnel() bool {
    	return node.Type == Ztunnel
    }
    
    // IsAmbient returns true if the proxy is acting as either a ztunnel or a waypoint proxy in an ambient mesh.
    func (node *Proxy) IsAmbient() bool {
    	return node.IsWaypointProxy() || node.IsZTunnel()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  5. pilot/pkg/xds/ads.go

    	proxy.LastPushContext = s.globalPushContext()
    	// First request so initialize connection id and start tracking it.
    	con.SetID(connectionID(proxy.ID))
    	con.node = node
    	con.proxy = proxy
    	if proxy.IsZTunnel() && !features.EnableAmbient {
    		return fmt.Errorf("ztunnel requires PILOT_ENABLE_AMBIENT=true")
    	}
    
    	// Authorize xds clients
    	if err := s.authorize(con, identities); err != nil {
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/debug.go

    			for _, rr := range resource {
    				configDump.Configs = append(configDump.Configs, rr.Resource)
    			}
    		}
    		writeJSON(w, configDump, req)
    		return
    	}
    
    	if con.proxy.IsZTunnel() {
    		resources := s.getConfigDumpByResourceType(con, nil, []string{v3.AddressType})
    		configDump := &admin.ConfigDump{}
    		for _, resource := range resources {
    			for _, rr := range resource {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(
          MockResponse(
            code = 407,
            headers = headersOf("Proxy-Authenticate", "Basic realm=\"localhost\""),
            inTunnel = true,
          ),
        )
        server.enqueue(
          MockResponse(inTunnel = true),
        )
        server.enqueue(
          MockResponse(body = "response body"),
        )
        client =
          client.newBuilder()
            .sslSocketFactory(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        server.useHttps(handshakeCertificates.sslSocketFactory())
        val queueDispatcher = QueueDispatcher()
        queueDispatcher.enqueueResponse(MockResponse(inTunnel = true))
        queueDispatcher.enqueueResponse(MockResponse(inTunnel = true))
        queueDispatcher.enqueueResponse(MockResponse(body = "call2 response"))
        queueDispatcher.enqueueResponse(MockResponse(body = "call1 response"))
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

         * calls should be attempted on the socket.
         */
        @Throws(IOException::class, InterruptedException::class)
        private fun processTunnelRequests(): Boolean {
          if (!dispatcher.peek().inTunnel) return true // No tunnel requests.
    
          val source = raw.source().buffer()
          val sink = raw.sink().buffer()
          while (true) {
            val socketStillGood = processOneRequest(raw, source, sink)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. cluster/gce/config-test.sh

    NODE_LABELS=${KUBE_NODE_LABELS:-}
    WINDOWS_NODE_LABELS=${WINDOWS_NODE_LABELS:-}
    NODE_LOCAL_SSDS_EPHEMERAL=${NODE_LOCAL_SSDS_EPHEMERAL:-}
    # Turning GRPC based Konnectivity testing on id advance of
    # removing the SSHTunnel code.
    export KUBE_ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE=true
    export PREPARE_KONNECTIVITY_SERVICE="${KUBE_ENABLE_KONNECTIVITY_SERVICE:-true}"
    export EGRESS_VIA_KONNECTIVITY="${KUBE_ENABLE_KONNECTIVITY_SERVICE:-true}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top