- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for podRef (0.27 sec)
-
pkg/api/v1/endpoints/util_test.go
Addresses: []v1.EndpointAddress{{IP: "1.2.3.4", TargetRef: podRef("uid-1")}}, Ports: []v1.EndpointPort{{Port: 111}}, }, { Addresses: []v1.EndpointAddress{{IP: "1.2.3.4", TargetRef: podRef("uid-1")}}, Ports: []v1.EndpointPort{{Port: 222}}, }}, expect: []v1.EndpointSubset{{ Addresses: []v1.EndpointAddress{{IP: "1.2.3.4", TargetRef: podRef("uid-1")}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 16.6K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/resource_metrics.go
if s.StartTime.Unix() <= 0 { return } ch <- metrics.NewLazyConstMetric(containerStartTimeDesc, metrics.GaugeValue, float64(s.StartTime.UnixNano())/float64(time.Second), s.Name, pod.PodRef.Name, pod.PodRef.Namespace) } func (rc *resourceMetricsCollector) collectContainerCPUMetrics(ch chan<- metrics.Metric, pod summary.PodStats, s summary.ContainerStats) { if s.CPU == nil || s.CPU.UsageCoreNanoSeconds == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 07:13:37 UTC 2023 - 9.2K bytes - Viewed (2) -
pkg/serviceaccount/claims.go
} if podref.UID != string(pod.UID) { klog.V(4).Infof("Pod UID no longer matches %s/%s: %q != %q", namespace, podref.Name, string(pod.UID), podref.UID) return nil, fmt.Errorf("pod UID (%s) does not match service account pod ref claim (%s)", pod.UID, podref.UID) } if pod.DeletionTimestamp != nil && pod.DeletionTimestamp.Time.Before(invalidIfDeletedBefore) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 11.3K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/log_metrics.go
if c.Logs != nil && c.Logs.UsedBytes != nil { ch <- metrics.NewLazyConstMetric( descLogSize, metrics.GaugeValue, float64(*c.Logs.UsedBytes), ps.PodRef.UID, ps.PodRef.Namespace, ps.PodRef.Name, c.Name, ) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 05 13:02:13 UTC 2022 - 2.3K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/resource_metrics_test.go
resource_scrape_error 0 `, }, { name: "arbitrary container metrics for different container, pods and namespaces", summary: &statsapi.Summary{ Pods: []statsapi.PodStats{ { PodRef: statsapi.PodReference{ Name: "pod_a", Namespace: "namespace_a", }, Containers: []statsapi.ContainerStats{ { Name: "container_a",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 15.3K bytes - Viewed (1) -
pkg/kubelet/stats/cadvisor_stats_provider.go
// using old log path, they will be populated by cadvisorInfoToContainerStats. podUID := types.UID(podStats.PodRef.UID) logs, err := p.hostStatsProvider.getPodContainerLogStats(podStats.PodRef.Namespace, podStats.PodRef.Name, podUID, containerName, &rootFsInfo) if err != nil { klog.ErrorS(err, "Unable to fetch container log stats", "containerName", containerName) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 16 13:34:22 UTC 2023 - 18.9K 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 (1) -
pkg/kubelet/metrics/collectors/log_metrics_test.go
descLogSize = descLogSize.GetRawDesc() size := uint64(18) collector := &logMetricsCollector{ podStats: func(_ context.Context) ([]statsapi.PodStats, error) { return []statsapi.PodStats{ { PodRef: statsapi.PodReference{ Namespace: "some-namespace", Name: "podName1", UID: "UID_some_id", }, Containers: []statsapi.ContainerStats{ { Name: "containerName1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 05 13:02:13 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_test.go
rlimitStats = getRlimitStats() ) func TestSummaryProviderGetStatsNoSplitFileSystem(t *testing.T) { ctx := context.Background() assert := assert.New(t) podStats := []statsapi.PodStats{ { PodRef: statsapi.PodReference{Name: "test-pod", Namespace: "test-namespace", UID: "UID_test-pod"}, StartTime: metav1.NewTime(time.Now()), Containers: []statsapi.ContainerStats{*getContainerStats()},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 15.1K bytes - Viewed (0) -
pkg/volume/noop_expandable_plugin.go
return true } func (n *noopExpandableVolumePluginInstance) RequiresRemount(spec *Spec) bool { return false } func (n *noopExpandableVolumePluginInstance) NewMounter(spec *Spec, podRef *v1.Pod, opts VolumeOptions) (Mounter, error) { return nil, nil } func (n *noopExpandableVolumePluginInstance) NewUnmounter(name string, podUID types.UID) (Unmounter, error) { return nil, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 2.2K bytes - Viewed (0)