Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for probe_type (0.17 sec)

  1. pkg/kubelet/prober/worker.go

    	}
    
    	// Graceful shutdown of the pod.
    	if w.pod.ObjectMeta.DeletionTimestamp != nil && (w.probeType == liveness || w.probeType == startup) {
    		klog.V(3).InfoS("Pod deletion requested, setting probe result to success",
    			"probeType", w.probeType, "pod", klog.KObj(w.pod), "containerName", w.container.Name)
    		if w.probeType == startup {
    			klog.InfoS("Pod deletion requested before container has fully started",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/prober_manager.go

    	}
    }
    
    // Key uniquely identifying container probes
    type probeKey struct {
    	podUID        types.UID
    	containerName string
    	probeType     probeType
    }
    
    // Type of probe (liveness, readiness or startup)
    type probeType int
    
    const (
    	liveness probeType = iota
    	readiness
    	startup
    
    	probeResultSuccessful string = "successful"
    	probeResultFailed     string = "failed"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. pkg/kubelet/prober/prober.go

    		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. src/main/resources/fess_indices/fess_config.role_type/role_type.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 410 bytes
    - Viewed (0)
  5. pkg/kubelet/prober/worker_test.go

    	m := newTestManager()
    
    	for _, probeType := range [...]probeType{liveness, readiness, startup} {
    		// Test statuses.
    		runningStatus := getTestRunningStatusWithStarted(probeType != startup)
    		pendingStatus := getTestRunningStatusWithStarted(probeType != startup)
    		pendingStatus.ContainerStatuses[0].State.Running = nil
    		terminatedStatus := getTestRunningStatusWithStarted(probeType != startup)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. pkg/kubelet/prober/common_test.go

    	// Don't actually execute probes.
    	m.prober.exec = fakeExecProber{probe.Success, nil}
    	return m
    }
    
    func newTestWorker(m *manager, probeType probeType, probeSpec v1.Probe) *worker {
    	pod := getTestPod()
    	setTestProbe(pod, probeType, probeSpec)
    	return newWorker(m, probeType, pod, pod.Spec.Containers[0])
    }
    
    type fakeExecProber struct {
    	result probe.Result
    	err    error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. pkg/kubelet/prober/prober_test.go

    			expectedResult: results.Success,
    		},
    	}
    
    	for i, test := range tests {
    		for _, probeType := range [...]probeType{liveness, readiness, startup} {
    			prober := &prober{
    				recorder: &record.FakeRecorder{},
    			}
    			testID := fmt.Sprintf("%d-%s", i, probeType)
    			testContainer := v1.Container{Env: test.env}
    			switch probeType {
    			case liveness:
    				testContainer.LivenessProbe = test.probe
    			case readiness:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. src/main/resources/fess_indices/fess_config.role_type.json

    Shinsuke Sugaya <******@****.***> 1638450896 +0900
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 173 bytes
    - Viewed (0)
  9. src/main/config/es/fess_config_role_type.json

    {
      "fess_config.role_type" : {
        "aliases" : { },
        "mappings" : {
          "role_type" : {
            "properties" : {
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "name" : {
                "type" : "keyword"
              },
              "sortOrder" : {
                "type" : "integer"
              },
              "updatedBy" : {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 950 bytes
    - Viewed (0)
  10. pkg/kubelet/prober/scale_test.go

    			go func() {
    				defer wg.Done()
    				for {
    					var result results.Update
    					var probeType string
    					select {
    					case result = <-m.startupManager.Updates():
    						probeType = "startup"
    					case result = <-m.livenessManager.Updates():
    						probeType = "liveness"
    					case result = <-m.readinessManager.Updates():
    						probeType = "readiness"
    					case <-ctx.Done():
    						return
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top