- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 208 for podStates (0.19 sec)
-
staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go
*out = (*in).DeepCopy() } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. func (in *PodStatus) DeepCopy() *PodStatus { if in == nil { return nil } out := new(PodStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 6.1K bytes - Viewed (0) -
pkg/api/pod/util.go
dropUserField(podStatus.ContainerStatuses) dropUserField(podStatus.EphemeralContainerStatuses) } } func hostIPsInUse(podStatus *api.PodStatus) bool { if podStatus == nil { return false } return len(podStatus.HostIPs) > 0 } // dropDisabledDynamicResourceAllocationFields removes pod claim references from // container specs and pod-level resource claims unless they are already used
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41.3K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/volume_stats_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go
"emptyInfo": {v1.Pod{Status: v1.PodStatus{ContainerStatuses: []v1.ContainerStatus{}}}, "false"}, "fooExists": { v1.Pod{ Status: v1.PodStatus{ ContainerStatuses: []v1.ContainerStatus{ { Name: "foo", }, }, }, }, "false", }, "barExists": { v1.Pod{ Status: v1.PodStatus{ ContainerStatuses: []v1.ContainerStatus{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 23:10:00 UTC 2019 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go
*out = (*in).DeepCopy() } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. func (in *PodStatus) DeepCopy() *PodStatus { if in == nil { return nil } out := new(PodStatus) in.DeepCopyInto(out) return out
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 4.4K bytes - Viewed (0) -
pkg/kubelet/prober/worker_test.go
}, }, { // Pod failed podStatus: &failedStatus, }, { // Pod deletion podStatus: &runningStatus, setDeletionTimestamp: true, expectSet: true, expectContinue: map[string]bool{ readiness.String(): true, }, expectedResult: results.Success, }, { // No container status podStatus: &otherStatus, expectContinue: map[string]bool{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 23:48:10 UTC 2023 - 16.1K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
klog.V(4).InfoS("Static pod has no corresponding mirror pod, no need to reconcile", "pod", klog.KObj(pod)) return false } pod = mirrorPod } podStatus := pod.Status.DeepCopy() normalizeStatus(pod, podStatus) if isPodStatusByKubeletEqual(podStatus, &status) { // If the status from the source is the same with the cached status, // reconcile is not needed. Just return. return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_sys_containers.go
statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1" "k8s.io/kubernetes/pkg/kubelet/cm" ) func (sp *summaryProviderImpl) GetSystemContainersStats(nodeConfig cm.NodeConfig, podStats []statsapi.PodStats, updateStats bool) (stats []statsapi.ContainerStats) { systemContainers := map[string]struct { name string forceStatsUpdate bool startTime metav1.Time }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}} client := kube.NewFakeClient(ns, pod) // We are expecting at most 1 calls to the mock, wait for them
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/kubelet/runonce_test.go
podManager.SetPods(pods) // The original test here is totally meaningless, because fakeruntime will always return an empty podStatus. While // the original logic of isPodRunning happens to return true when podstatus is empty, so the test can always pass. // Now the logic in isPodRunning is changed, to let the test pass, we set the podstatus directly in fake runtime.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 06:59:54 UTC 2024 - 6.5K bytes - Viewed (0)