Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 576 for probs (0.03 sec)

  1. pkg/probe/http/http.go

    		return probe.Success, body, nil
    	}
    	klog.V(4).Infof("Probe failed for %s with request headers %v, response body: %v", url.String(), headers, body)
    	// Note: Until https://issue.k8s.io/99425 is addressed, this user-facing failure message must not contain the response body.
    	failureMsg := fmt.Sprintf("HTTP probe failed with statuscode: %d", res.StatusCode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 00:37:32 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/prober/prober.go

    	if err != nil || (result != probe.Success && result != probe.Warning) {
    		// Probe failed in one way or another.
    		if err != nil {
    			klog.V(1).ErrorS(err, "Probe errored", "probeType", probeType, "pod", klog.KObj(pod), "podUID", pod.UID, "containerName", container.Name)
    			pb.recordContainerEvent(pod, &container, v1.EventTypeWarning, events.ContainerUnhealthy, "%s probe errored: %v", probeType, err)
    		} else { // result != probe.Success
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. 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)
  5. pkg/kubelet/prober/testing/fake_manager.go

    func (FakeManager) RemovePod(_ *v1.Pod) {}
    
    // Simulated stopping liveness and startup probes.
    func (FakeManager) StopLivenessAndStartup(_ *v1.Pod) {}
    
    // CleanupPods simulates cleaning up Pods.
    func (FakeManager) CleanupPods(_ map[types.UID]sets.Empty) {}
    
    // Start simulates start syncing the probe status
    func (FakeManager) Start() {}
    
    // UpdatePodStatus simulates updating the Pod Status.
    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/probe/dialer_windows.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package probe
    
    import (
    	"net"
    	"syscall"
    )
    
    // ProbeDialer returns a dialer optimized for probes to avoid lingering sockets on TIME-WAIT state.
    // The dialer reduces the TIME-WAIT period to 1 seconds instead of the OS default of 60 seconds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. pkg/probe/dialer_others.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package probe
    
    import (
    	"net"
    	"syscall"
    )
    
    // ProbeDialer returns a dialer optimized for probes to avoid lingering sockets on TIME-WAIT state.
    // The dialer reduces the TIME-WAIT period to 1 seconds instead of the OS default of 60 seconds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/status/dialer_others.go

    limitations under the License.
    */
    
    package status
    
    import (
    	"net"
    	"syscall"
    )
    
    // copied from https://github.com/kubernetes/kubernetes/blob/v1.27.0-alpha.1/pkg/probe/dialer_others.go#L27
    // ProbeDialer returns a dialer optimized for probes to avoid lingering sockets on TIME-WAIT state.
    // The dialer reduces the TIME-WAIT period to 1 seconds instead of the OS default of 60 seconds.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/status/dialer_windows.go

    limitations under the License.
    */
    
    package status
    
    import (
    	"net"
    	"syscall"
    )
    
    // copied from https://github.com/kubernetes/kubernetes/blob/v1.27.0-alpha.1/pkg/probe/dialer_windows.go#L27
    // ProbeDialer returns a dialer optimized for probes to avoid lingering sockets on TIME-WAIT state.
    // The dialer reduces the TIME-WAIT period to 1 seconds instead of the OS default of 60 seconds.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. pkg/kubelet/prober/worker_test.go

    		w := newTestWorker(m, probeType, v1.Probe{SuccessThreshold: 1, FailureThreshold: 1})
    		status := getTestRunningStatusWithStarted(probeType != startup)
    		m.statusManager.SetPodStatus(w.pod, status)
    
    		// First probe should fail.
    		m.prober.exec = fakeExecProber{probe.Failure, nil}
    		msg := "first probe"
    		expectContinue(t, w, w.doProbe(ctx), msg)
    		expectResult(t, w, results.Failure, msg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
Back to top