Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 600 for Probes (1.33 sec)

  1. cni/pkg/iptables/testdata/hostprobe.golden

    iptables -t nat -N ISTIO_POSTRT
    iptables -t nat -A POSTROUTING -j ISTIO_POSTRT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 222 bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/server_test.go

    	testCases := []struct {
    		name   string
    		probes []ready.Prober
    		err    error
    	}{
    		{
    			name:   "success probe",
    			probes: []ready.Prober{rp},
    			err:    nil,
    		},
    		{
    			name:   "not ready probe",
    			probes: []ready.Prober{urp},
    			err:    errors.New("not ready"),
    		},
    		{
    			name:   "both probes",
    			probes: []ready.Prober{rp, urp},
    			err:    errors.New("not ready"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. pkg/kube/inject/inject_test.go

    			in:   "hello-probes.yaml",
    			want: "hello-probes.proxyHoldsApplication.yaml.injected",
    			setFlags: []string{
    				`values.global.proxy.holdApplicationUntilProxyStarts=true`,
    			},
    		},
    		{
    			// Verifies that HoldApplicationUntilProxyStarts in proxyconfig sets lifecycle hook
    			in:   "hello-probes-proxyHoldApplication-ProxyConfig.yaml",
    			want: "hello-probes-proxyHoldApplication-ProxyConfig.yaml.injected",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	var kmsHealthChecks []healthz.HealthChecker
    	transformers, probes, kmsUsed, err := getTransformerOverridesAndKMSPluginProbes(ctx, config, apiServerID)
    	if err != nil {
    		return nil, nil, nil, err
    	}
    	for i := range probes {
    		probe := probes[i]
    		kmsHealthChecks = append(kmsHealthChecks, probe.toHealthzCheck(i))
    	}
    
    	return transformers, kmsHealthChecks, kmsUsed, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/testing/fake_manager.go

    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // FakeManager simulates a prober.Manager for testing.
    type FakeManager struct{}
    
    // Unused methods below.
    
    // AddPod simulates adding a Pod.
    func (FakeManager) AddPod(_ *v1.Pod) {}
    
    // RemovePod simulates removing a Pod.
    func (FakeManager) RemovePod(_ *v1.Pod) {}
    
    // Simulated stopping liveness and startup probes.
    func (FakeManager) StopLivenessAndStartup(_ *v1.Pod) {}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. pkg/istio-agent/health/health_probers.go

    }
    
    type EnvoyProber struct {
    	Config ready.Prober
    }
    
    var _ Prober = &EnvoyProber{}
    
    func (a EnvoyProber) Probe(time.Duration) (ProbeResult, error) {
    	if err := a.Config.Check(); err != nil {
    		return Unhealthy, err
    	}
    	return Healthy, nil
    }
    
    type AggregateProber struct {
    	Probes []Prober
    }
    
    var _ Prober = &AggregateProber{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. internal/http/dial_linux.go

    				// TCP starts sending keepalive probes
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, 15)
    
    				// Number of probes.
    				// ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5)
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    				// Wait time after successful probe in seconds.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (3)
  8. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. pkg/probe/tcp/tcp.go

    import (
    	"net"
    	"strconv"
    	"time"
    
    	"k8s.io/kubernetes/pkg/probe"
    
    	"k8s.io/klog/v2"
    )
    
    // New creates Prober.
    func New() Prober {
    	return tcpProber{}
    }
    
    // Prober is an interface that defines the Probe function for doing TCP readiness/liveness checks.
    type Prober interface {
    	Probe(host string, port int, timeout time.Duration) (probe.Result, string, error)
    }
    
    type tcpProber struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/options/statusserver.go

    		PodIP:          InstanceIPVar.Get(),
    		AdminPort:      uint16(proxyConfig.ProxyAdminPort),
    		StatusPort:     uint16(proxyConfig.StatusPort),
    		KubeAppProbers: kubeAppProberNameVar.Get(),
    		NodeType:       t,
    		Probes:         []ready.Prober{agent},
    		NoEnvoy:        agent.EnvoyDisabled(),
    		FetchDNS:       agent.GetDNSTable,
    		GRPCBootstrap:  agent.GRPCBootstrapPath(),
    		TriggerDrain: func() {
    			agent.DrainNow()
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top