Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 250 for probs (0.08 sec)

  1. pilot/cmd/pilot-agent/status/ready/probe.go

    }
    
    type Prober interface {
    	// Check executes the probe and returns an error if the probe fails.
    	Check() error
    }
    
    var _ Prober = &Probe{}
    
    // Check executes the probe and returns an error if the probe fails.
    func (p *Probe) Check() error {
    	// First, check that Envoy has received a configuration update from Pilot.
    	if err := p.checkConfigStatus(); err != nil {
    		return err
    	}
    	return p.isEnvoyReady()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier_test.go

    			t.Errorf("Failed to find -j MASQUERADE in %s chain", kubePostroutingChain)
    		}
    		if hasMasqRandomFully != testcase {
    			probs := map[bool]string{false: "found", true: "did not find"}
    			t.Errorf("%s --random-fully in -j MASQUERADE rule in %s chain for HasRandomFully()=%v", probs[testcase], kubePostroutingChain, testcase)
    		}
    	}
    }
    
    func TestExternalIPsNoEndpoint(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  3. pkg/kube/apimirror/probe.go

    	URISchemeHTTP URIScheme = "HTTP"
    	// URISchemeHTTPS means that the scheme used will be https://
    	URISchemeHTTPS URIScheme = "HTTPS"
    )
    
    // HTTPHeader describes a custom header to be used in HTTP probes
    type HTTPHeader struct {
    	// The header field name
    	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
    	// The header field value
    	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. hack/testdata/pod-with-metadata-and-probes.yaml

      - image: registry.k8s.io/nginx:1.7.9
        name: target
        readinessProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
        livenessProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
        startupProbe:
          exec:
            command: ["/bin/sh", "-c", "cat probe"]
      initContainers:
      - image: busybox
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 17:26:20 UTC 2024
    - 471 bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/status/server.go

    			upstreamLocalAddress = UpstreamLocalAddressIPv6
    		}
    	}
    	probes := make([]ready.Prober, 0)
    	if !config.NoEnvoy {
    		probes = append(probes, &ready.Probe{
    			LocalHostAddr: localhost,
    			AdminPort:     config.AdminPort,
    			Context:       config.Context,
    			NoEnvoy:       config.NoEnvoy,
    		})
    	}
    
    	if config.GRPCBootstrap != "" {
    		probes = append(probes, grpcready.NewProbe(config.GRPCBootstrap))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  6. src/net/ipsock_posix.go

    		// and we don't need to probe the capability.
    		probes = probes[:1]
    	}
    	for i := range probes {
    		s, err := sysSocket(syscall.AF_INET6, syscall.SOCK_STREAM, syscall.IPPROTO_TCP)
    		if err != nil {
    			continue
    		}
    		defer poll.CloseFunc(s)
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, probes[i].value)
    		sa, err := probes[i].laddr.sockaddr(syscall.AF_INET6)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/testing/benchmark_test.go

    	}
    	testing.Benchmark(func(b *testing.B) {
    		procs := uint32(0)
    		iters := uint64(0)
    		b.SetParallelism(3)
    		b.RunParallel(func(pb *testing.PB) {
    			atomic.AddUint32(&procs, 1)
    			for pb.Next() {
    				atomic.AddUint64(&iters, 1)
    			}
    		})
    		if want := uint32(3 * runtime.GOMAXPROCS(0)); procs != want {
    			t.Errorf("got %v procs, want %v", procs, want)
    		}
    		if iters != uint64(b.N) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/kubelet/prober/prober_manager_test.go

    	"k8s.io/kubernetes/pkg/features"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/prober/results"
    	"k8s.io/kubernetes/pkg/probe"
    )
    
    func init() {
    }
    
    var defaultProbe = &v1.Probe{
    	ProbeHandler: v1.ProbeHandler{
    		Exec: &v1.ExecAction{},
    	},
    	TimeoutSeconds:   1,
    	PeriodSeconds:    1,
    	SuccessThreshold: 1,
    	FailureThreshold: 3,
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top