Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 160 for Probe (0.04 sec)

  1. cmd/kubeadm/app/util/staticpod/utils.go

    	}
    
    	return pod, nil
    }
    
    // LivenessProbe creates a Probe object with a HTTPGet handler
    func LivenessProbe(host, path string, port int32, scheme v1.URIScheme) *v1.Probe {
    	// sets initialDelaySeconds same as periodSeconds to skip one period before running a check
    	return createHTTPProbe(host, path, port, scheme, 10, 15, 8, 10)
    }
    
    // ReadinessProbe creates a Probe object with a HTTPGet handler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/server.go

    func isRedirect(code int) bool {
    	return code >= http.StatusMultipleChoices && code < http.StatusBadRequest
    }
    
    // Using the same redirect logic that kubelet does: https://github.com/kubernetes/kubernetes/blob/b152001f459/pkg/probe/http/http.go#L141
    // This means that:
    // * If we exceed 10 redirects, the probe fails
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  3. pilot/cmd/pilot-agent/status/server_test.go

    	testCases := []struct {
    		probe string
    		err   string
    	}{
    		// Json can't be parsed.
    		{
    			probe: "invalid-prober-json-encoding",
    			err:   "failed to decode",
    		},
    		// map key is not well formed.
    		{
    			probe: `{"abc": {"path": "/app-foo/health"}}`,
    			err:   "invalid path",
    		},
    		// invalid probe type
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    		t.Run(tt.desc, func(t *testing.T) {
    			tt.probe.state.Store(&envelopekmsv2.State{})
    			_ = tt.probe.check(ctx)
    			if tt.probe.ttl != tt.wantTTL {
    				t.Fatalf("want ttl %v, got ttl %v", tt.wantTTL, tt.probe.ttl)
    			}
    		})
    	}
    }
    
    func TestKMSv2InvalidKeyID(t *testing.T) {
    	ctx := testContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  5. src/net/ipsock_plan9.go

    	"io/fs"
    	"os"
    	"syscall"
    )
    
    // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
    // capabilities.
    //
    // Plan 9 uses IPv6 natively, see ip(3).
    func (p *ipStackCapabilities) probe() {
    	p.ipv4Enabled = probe(netdir+"/iproute", "4i")
    	p.ipv6Enabled = probe(netdir+"/iproute", "6i")
    	if p.ipv4Enabled && p.ipv6Enabled {
    		p.ipv4MappedIPv6Enabled = true
    	}
    }
    
    func probe(filename, query string) bool {
    	var file *file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 20:38:53 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. tests/integration/pilot/grpc_probe_test.go

    			if !t.Clusters().Default().MinKubeVersion(23) {
    				t.Skip("gRPC probe not supported")
    			}
    
    			ns := namespace.NewOrFail(t, t, namespace.Config{Prefix: "grpc-probe", Inject: true})
    			// apply strict mtls
    			t.ConfigKube(t.Clusters().Configs()...).YAML(ns.Name(), `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: grpc-probe-mtls
    spec:
      mtls:
        mode: STRICT`).ApplyOrFail(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

        private JvmInstallationMetadata getMetadataFromInstallation(File jdkPath) {
            File tmpDir = temporaryFileProvider.createTemporaryDirectory("jvm", "probe");
            File probe = writeProbeClass(tmpDir);
            ExecHandleBuilder exec = execHandleFactory.newExec();
            exec.setWorkingDir(probe.getParentFile());
            exec.executable(javaExecutable(jdkPath));
            try {
                ByteArrayOutputStream out = new ByteArrayOutputStream();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    		// initialize state so that Load always works
    		probe.state.Store(&envelopekmsv2.State{})
    
    		primeAndProbeKMSv2(ctx, probe, kmsName)
    		transformer := storagevalue.PrefixTransformer{
    			Transformer: envelopekmsv2.NewEnvelopeTransformer(envelopeService, kmsName, probe.getCurrentState, apiServerID),
    			Prefix:      []byte(kmsTransformerPrefixV2 + kmsName + ":"),
    		}
    
    		return transformer, probe, &kmsState{
    			v2Used:        true,
    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. cmd/kubeadm/app/util/staticpod/utils_test.go

    		{
    			name: "etcd probe localhost IPv6 URL with HTTP scheme",
    			cfg: &kubeadmapi.Etcd{
    				Local: &kubeadmapi.LocalEtcd{
    					ExtraArgs: []kubeadmapi.Arg{
    						{Name: "listen-metrics-urls", Value: "http://[::1]:1234"},
    					},
    				},
    			},
    			isIPv6:           true,
    			expectedHostname: "::1",
    			expectedPort:     1234,
    			expectedScheme:   v1.URISchemeHTTP,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  10. releasenotes/notes/46087.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
    - 46087
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 28 03:09:47 UTC 2023
    - 166 bytes
    - Viewed (0)
Back to top