- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for Statuses (0.13 sec)
-
pkg/kubelet/types/types.go
} // SortInitContainerStatuses ensures that statuses are in the order that their // init container appears in the pod spec func SortInitContainerStatuses(p *v1.Pod, statuses []v1.ContainerStatus) { containers := p.Spec.InitContainers current := 0 for _, container := range containers { for j := current; j < len(statuses); j++ { if container.Name == statuses[j].Name { statuses[current], statuses[j] = statuses[j], statuses[current]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
cluster/gce/windows/smoke-test.sh
windows_deployment_timeout=600 output_file=/tmp/k8s-smoke-test.out function check_windows_nodes_are_ready { # kubectl filtering is the worst. statuses=$(${kubectl} get nodes -l kubernetes.io/os=windows \ -o jsonpath='{.items[*].status.conditions[?(@.type=="Ready")].status}') for status in $statuses; do if [[ $status == "False" ]]; then echo "ERROR: some Windows node has status != Ready"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 20.6K bytes - Viewed (0) -
.github/workflows/smokeshow.yml
name: Smokeshow on: workflow_run: workflows: [Test] types: [completed] permissions: statuses: write jobs: smokeshow: if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest steps: - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/setup-python@v5 with:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 10 01:06:31 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
current := "<unknown>" if len(statuses) > i && statuses[i].External != nil && statuses[i].External.Current.AverageValue != nil { current = statuses[i].External.Current.AverageValue.String() } list = append(list, fmt.Sprintf("%s/%s (avg)", current, spec.External.Target.AverageValue.String())) } else { current := "<unknown>" if len(statuses) > i && statuses[i].External != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
cStatus := &kubecontainer.Status{ ID: kubecontainer.BuildContainerID("test", id), Name: containerName, } // Rearrange container statuses if i%2 == 0 { cStatuses = append(cStatuses, cStatus) } else { cStatuses = append([]*kubecontainer.Status{cStatus}, cStatuses...) } specContainerList = append(specContainerList, v1.Container{Name: containerName}) } pod := podWithUIDNameNs("uid1", "foo", "test")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
Message: reason.Message, }, } statuses[container.Name] = status } // Sort the container statuses since clients of this interface expect the list // of containers in a pod has a deterministic order. if isInitContainer { return kubetypes.SortStatusesOfInitContainers(pod, statuses) } containerStatuses := make([]v1.ContainerStatus, 0, len(statuses)) for _, status := range statuses {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
go wait.Forever(func() { for { select { case <-m.podStatusChannel: klog.V(4).InfoS("Syncing updated statuses") m.syncBatch(false) case <-syncTicker: klog.V(4).InfoS("Syncing all statuses") m.syncBatch(true) } } }, 0) } // GetContainerResourceAllocation returns the last checkpointed AllocatedResources values
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
src/runtime/tracestatus.go
// // They correspond directly to the various goroutine // statuses. type traceGoStatus uint8 const ( traceGoBad traceGoStatus = iota traceGoRunnable traceGoRunning traceGoSyscall traceGoWaiting ) // traceProcStatus is the status of a P. // // They mostly correspond to the various P statuses. type traceProcStatus uint8 const ( traceProcBad traceProcStatus = iota
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/kubelet/container/helpers.go
func HasAnyRegularContainerStarted(spec *v1.PodSpec, statuses []v1.ContainerStatus) bool { if len(statuses) == 0 { return false } containerNames := make(map[string]struct{}) for _, c := range spec.Containers { containerNames[c.Name] = struct{}{} } for _, status := range statuses { if _, ok := containerNames[status.Name]; !ok { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
} for failedNodeName, failedMsg := range failedAndUnresolvableMap { var aggregatedReasons []string if _, found := statuses[failedNodeName]; found { aggregatedReasons = statuses[failedNodeName].Reasons() } aggregatedReasons = append(aggregatedReasons, failedMsg) statuses[failedNodeName] = framework.NewStatus(framework.UnschedulableAndUnresolvable, aggregatedReasons...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0)