- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for Statuses (0.17 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) -
pkg/kubelet/pleg/generic_test.go
} event := &PodLifecycleEvent{ID: pod.ID, Type: ContainerStarted, Data: container.ID.ID} pods = append(pods, pod) statuses = append(statuses, status) events = append(events, event) } return pods, statuses, events } func TestRelistWithCache(t *testing.T) { ctx := context.Background() mockCtrl := gomock.NewController(t) defer mockCtrl.Finish()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K 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) -
istioctl/pkg/writer/pilot/status.go
} const ignoredStatus = "IGNORED" // PrintAll takes a slice of Istiod syncz responses and outputs them using a tabwriter func (s *XdsStatusWriter) PrintAll(statuses map[string]*discovery.DiscoveryResponse) error { w, fullStatus, err := s.setupStatusPrint(statuses) if err != nil { return err } for _, status := range fullStatus { if err := xdsStatusPrintln(w, status); err != nil { return err } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 04:16:55 UTC 2024 - 6.1K 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/kubelet/kuberuntime/util/util_test.go
pod: &v1.Pod{}, status: &kubecontainer.PodStatus{}, expectedChanged: true, expectedAttempt: 0, expectedSandboxID: "", }, "Pod with multiple ready sandbox statuses": { pod: &v1.Pod{}, status: &kubecontainer.PodStatus{ SandboxStatuses: []*runtimeapi.PodSandboxStatus{ { Id: "sandboxID2", Metadata: &runtimeapi.PodSandboxMetadata{Attempt: uint32(1)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:14:48 UTC 2024 - 6.3K 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)