Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 384 for Wrobel (0.16 sec)

  1. pkg/kubelet/prober/prober.go

    	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
    	runner kubecontainer.CommandRunner
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/prober_manager_test.go

    			UID: "probe_pod",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "probe1",
    			}, {
    				Name:           "readiness",
    				ReadinessProbe: defaultProbe,
    			}, {
    				Name: "probe2",
    			}, {
    				Name:          "liveness",
    				LivenessProbe: defaultProbe,
    			}, {
    				Name: "probe3",
    			}, {
    				Name:         "startup",
    				StartupProbe: defaultProbe,
    			}},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/grpcready/probe.go

    )
    
    var _ ready.Prober = &probe{}
    
    type probe struct {
    	sync.RWMutex
    	bootstrapPath string
    	bootstrap     *grpcxds.Bootstrap
    }
    
    // NewProbe returns a probe that checks if a valid bootstrap file can be loaded once.
    // If that bootstrap file has a file_watcher cert provider, we also ensure those certs exist.
    func NewProbe(bootstrapPath string) ready.Prober {
    	return &probe{bootstrapPath: bootstrapPath}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 28 16:58:31 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/status/ready/probe.go

    	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()
    }
    
    // checkConfigStatus checks to make sure initial configs have been received from Pilot.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. pkg/volume/flexvolume/probe.go

    	if err := prober.createPluginDir(); err != nil {
    		return err
    	}
    	if err := prober.initWatcher(); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // If probeAllNeeded is true, probe all pluginDir
    // else probe events in eventsMap
    func (prober *flexVolumeProber) Probe() (events []volume.ProbeEvent, err error) {
    	if prober.probeAllNeeded {
    		prober.testAndSetProbeAllNeeded(false)
    		return prober.probeAll()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. pkg/kubelet/prober/worker.go

    			return true
    		}
    	} else {
    		// Disable other probes until container has started.
    		if w.probeType != startup {
    			return true
    		}
    	}
    
    	// Note, exec probe does NOT have access to pod environment variables or downward API
    	result, err := w.probeManager.prober.probe(ctx, w.probeType, w.pod, status, w.container, w.containerID)
    	if err != nil {
    		// Prober error, throw away the result.
    		return true
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. pkg/kubelet/prober/prober_manager.go

    	// readinessManager manages the results of readiness probes
    	readinessManager results.Manager
    
    	// livenessManager manages the results of liveness probes
    	livenessManager results.Manager
    
    	// startupManager manages the results of startup probes
    	startupManager results.Manager
    
    	// prober executes the probe actions.
    	prober *prober
    
    	start time.Time
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/status/server.go

    	}
    	if prober.HTTPGet != nil && prober.HTTPGet.Port.Type != apimirror.Int {
    		return fmt.Errorf("invalid prober config for %v, the port must be int type", path)
    	}
    	if prober.TCPSocket != nil && prober.TCPSocket.Port.Type != apimirror.Int {
    		return fmt.Errorf("invalid prober config for %v, the port must be int type", path)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (1)
  9. releasenotes/notes/agent-probe-keepalives.yaml

    releaseNotes:
    - |
      **Improved** istio-agent health probe rewrite to not re-use connections, mirring Kubernetes' probing behavior.
    
    upgradeNotes:
    - title: Health Probes will no longer re-use connections
      content: |
        Health probes using the istio-agent [health probe rewrite](https://istio.io/latest/docs/ops/configuration/mesh/app-health-check/) will
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 07 20:06:21 UTC 2021
    - 963 bytes
    - Viewed (0)
  10. pkg/istio-agent/health/health_check.go

    func NewWorkloadHealthChecker(cfg *v1alpha3.ReadinessProbe, envoyProbe ready.Prober, proxyAddrs []string, ipv6 bool) *WorkloadHealthChecker {
    	// if a config does not exist return a no-op prober
    	if cfg == nil {
    		return nil
    	}
    	cfg = fillInDefaults(cfg, proxyAddrs)
    	var prober Prober
    	switch healthCheckMethod := cfg.HealthCheckMethod.(type) {
    	case *v1alpha3.ReadinessProbe_HttpGet:
    		prober = NewHTTPProber(healthCheckMethod.HttpGet, ipv6)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:44 UTC 2021
    - 5.7K bytes
    - Viewed (0)
Back to top