Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for tcpprobe (0.34 sec)

  1. tests/integration/pilot/tcp_probe_test.go

    	if !wantSuccess {
    		cfg.ReadinessTimeout = time.Second * 15
    	}
    	_, err := deployment.New(ctx).
    		With(&tcpProbe, cfg).
    		Build()
    	gotSuccess := err == nil
    	if gotSuccess != wantSuccess {
    		ctx.Errorf("tcpProbe app %v, got error %v, want success = %v", name, err, wantSuccess)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/prober.go

    	grpcprobe "k8s.io/kubernetes/pkg/probe/grpc"
    	httpprobe "k8s.io/kubernetes/pkg/probe/http"
    	tcpprobe "k8s.io/kubernetes/pkg/probe/tcp"
    	"k8s.io/utils/exec"
    
    	"k8s.io/klog/v2"
    )
    
    const maxProbeRetries = 3
    
    // Prober helps to check the liveness/readiness/startup of a container.
    type prober struct {
    	exec   execprobe.Prober
    	http   httpprobe.Prober
    	tcp    tcpprobe.Prober
    	grpc   grpcprobe.Prober
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/tunnelingconfig/apply.go

    	networking "istio.io/api/networking/v1alpha3"
    )
    
    type ApplyFunc = func(tcpProxy *tcp.TcpProxy, destinationRule *networking.DestinationRule, subsetName string)
    
    // Apply configures tunneling_config in a given TcpProxy depending on the destination rule and the destination hosts
    var Apply ApplyFunc = func(tcpProxy *tcp.TcpProxy, destinationRule *networking.DestinationRule, subsetName string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/accesslog_test.go

    				verify(t, tc.encoding, l.AccessLog[0], tc.wantFormat)
    
    				for _, fc := range l.FilterChains {
    					for _, filter := range fc.Filters {
    						switch filter.Name {
    						case wellknown.TCPProxy:
    							tcpConfig := &tcp.TcpProxy{}
    							if err := filter.GetTypedConfig().UnmarshalTo(tcpConfig); err != nil {
    								t.Fatal(err)
    							}
    							if tcpConfig.GetCluster() == util.BlackHoleCluster {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/networkfilter.go

    // TcpProxy instance and builds a TCP filter out of it.
    func setAccessLogAndBuildTCPFilter(push *model.PushContext, node *model.Proxy,
    	config *tcp.TcpProxy, class istionetworking.ListenerClass, svc *model.Service,
    ) *listener.Filter {
    	accessLogBuilder.setTCPAccessLog(push, node, config, class, svc)
    
    	tcpFilter := &listener.Filter{
    		Name:       wellknown.TCPProxy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/networkfilter_test.go

    			tcpProxy := xdstest.ExtractTCPProxy(t, &listener.FilterChain{Filters: filters})
    			if tt.expectedTunnelingConfig == nil {
    				if tcpProxy.TunnelingConfig != nil {
    					t.Fatalf("Unexpected tunneling config in TcpProxy filter: %s", filters[0].String())
    				}
    			} else {
    				if tcpProxy.TunnelingConfig.GetHostname() != tt.expectedTunnelingConfig.hostname {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_builder.go

    	}
    
    	tcpProxy := &tcp.TcpProxy{
    		StatPrefix:       egressCluster,
    		ClusterSpecifier: &tcp.TcpProxy_Cluster{Cluster: egressCluster},
    		IdleTimeout:      parseDuration(node.Metadata.IdleTimeout),
    	}
    
    	filterStack := buildMetricsNetworkFilters(push, node, istionetworking.ListenerClassSidecarOutbound, nil)
    	accessLogBuilder.setTCPAccessLog(push, node, tcpProxy, istionetworking.ListenerClassSidecarOutbound, nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. pkg/config/validation/envoyfilter/envoyfilter_test.go

    func TestRecurseMissingTypedConfig(t *testing.T) {
    	good := &listener.Filter{
    		Name:       wellknown.TCPProxy,
    		ConfigType: &listener.Filter_TypedConfig{TypedConfig: nil},
    	}
    	ecds := &hcm.HttpFilter{
    		Name:       "something",
    		ConfigType: &hcm.HttpFilter_ConfigDiscovery{},
    	}
    	bad := &listener.Filter{
    		Name: wellknown.TCPProxy,
    	}
    	assert.Equal(t, recurseMissingTypedConfig(good.ProtoReflect()), []string{}, "typed config set")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_inbound.go

    	}
    	tcpProxy := &tcp.TcpProxy{
    		StatPrefix:       statPrefix,
    		ClusterSpecifier: &tcp.TcpProxy_Cluster{Cluster: fcc.clusterName},
    		IdleTimeout:      parseDuration(lb.node.Metadata.IdleTimeout),
    	}
    	tcpFilter := setAccessLogAndBuildTCPFilter(lb.push, lb.node, tcpProxy, istionetworking.ListenerClassSidecarInbound, fcc.policyService)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. pkg/kubelet/lifecycle/handlers.go

    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    	"k8s.io/kubernetes/pkg/kubelet/util/format"
    	httpprobe "k8s.io/kubernetes/pkg/probe/http"
    	"k8s.io/kubernetes/pkg/security/apparmor"
    )
    
    const (
    	maxRespBodyLength = 10 * 1 << 10 // 10KB
    )
    
    type handlerRunner struct {
    	httpDoer         kubetypes.HTTPDoer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top