Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for exit_node (0.25 sec)

  1. pkg/printers/internalversion/printers.go

    				if container.State.Terminated.Signal != 0 {
    					reason = fmt.Sprintf("Signal:%d", container.State.Terminated.Signal)
    				} else {
    					reason = fmt.Sprintf("ExitCode:%d", container.State.Terminated.ExitCode)
    				}
    			} else if container.Ready && container.State.Running != nil {
    				hasRunning = true
    				readyContainers++
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    				ExitCode: 0,
    			},
    		},
    	}
    }
    func waitingStateWithNonZeroTermination(cName string) v1.ContainerStatus {
    	return v1.ContainerStatus{
    		Name: cName,
    		State: v1.ContainerState{
    			Waiting: &v1.ContainerStateWaiting{},
    		},
    		LastTerminationState: v1.ContainerState{
    			Terminated: &v1.ContainerStateTerminated{
    				ExitCode: -1,
    			},
    		},
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/kubelet/container/runtime.go

    	// Creation time of the container.
    	CreatedAt time.Time
    	// Start time of the container.
    	StartedAt time.Time
    	// Finish time of the container.
    	FinishedAt time.Time
    	// Exit code of the container.
    	ExitCode int
    	// Name of the image, this also includes the tag of the image,
    	// the expected form is "NAME:TAG".
    	Image string
    	// ID of the image.
    	ImageID string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"":              "PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/batch/v1/generated.proto

    }
    
    // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling
    // a failed pod based on its container exit codes. In particular, it lookups the
    // .state.terminated.exitCode for each app container and init container status,
    // represented by the .status.containerStatuses and .status.initContainerStatuses
    // fields in the Pod status, respectively. Containers completed with success
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. pkg/apis/batch/types.go

    )
    
    // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling
    // a failed pod based on its container exit codes. In particular, it lookups the
    // .state.terminated.exitCode for each app container and init container status,
    // represented by the .status.containerStatuses and .status.initContainerStatuses
    // fields in the Pod status, respectively. Containers completed with success
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types.go

    )
    
    // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling
    // a failed pod based on its container exit codes. In particular, it lookups the
    // .state.terminated.exitCode for each app container and init container status,
    // represented by the .status.containerStatuses and .status.initContainerStatuses
    // fields in the Pod status, respectively. Containers completed with success
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    			runningContainers = append(runningContainers, s.ID.String())
    		}
    		if klogVEnabled {
    			containers = append(containers, container{Name: s.Name, State: string(s.State), ExitCode: s.ExitCode, FinishedAt: s.FinishedAt.UTC().Format(time.RFC3339Nano)})
    		}
    	}
    	if klogVEnabled {
    		sort.Slice(containers, func(i, j int) bool { return containers[i].Name < containers[j].Name })
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	cStatus := podStatus.FindContainerStatusByName(c.Name)
    	if cStatus == nil || cStatus.State == kubecontainer.ContainerStateRunning {
    		return false
    	}
    	return cStatus.ExitCode == 0
    }
    
    func isInPlacePodVerticalScalingAllowed(pod *v1.Pod) bool {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		return false
    	}
    	if types.IsStaticPod(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. src/runtime/proc.go

    	exit(0)
    	for {
    		var x *int32
    		*x = 0
    	}
    }
    
    // os_beforeExit is called from os.Exit(0).
    //
    //go:linkname os_beforeExit os.runtime_beforeExit
    func os_beforeExit(exitCode int) {
    	runExitHooks(exitCode)
    	if exitCode == 0 && raceenabled {
    		racefini()
    	}
    }
    
    func init() {
    	exithook.Gosched = Gosched
    	exithook.Goid = func() uint64 { return getg().goid }
    	exithook.Throw = throw
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top