- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 125 for pdName (0.14 sec)
-
pkg/kubelet/util/format/pod.go
// with pod UID as part of the string. func PodDesc(podName, podNamespace string, podUID types.UID) string { // Use underscore as the delimiter because it is not allowed in pod name // (DNS subdomain format), while allowed in the container name format. return fmt.Sprintf("%s_%s(%s)", podName, podNamespace, podUID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 13 08:27:42 UTC 2023 - 1.3K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/metrics/metrics_test.go
asw := cache.NewActualStateOfWorld(fakeVolumePluginMgr) podName := "pod-uid" volumeName := v1.UniqueVolumeName("volume-name") volumeSpec := controllervolumetesting.GetTestVolumeSpec(string(volumeName), volumeName) nodeName := k8stypes.NodeName("node-name") dsw.AddNode(nodeName) _, err := dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/sidecar.go
) var _ echo.Sidecar = &sidecar{} type sidecar struct { podNamespace string podName string cluster cluster.Cluster } func newSidecar(pod corev1.Pod, cluster cluster.Cluster) *sidecar { sidecar := &sidecar{ podNamespace: pod.Namespace, podName: pod.Name, cluster: cluster, } return sidecar }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 03:49:49 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/registry/storage/volumeattachment/storage/storage_test.go
} func validNewVolumeAttachment(name string) *storageapi.VolumeAttachment { pvName := "foo" return &storageapi.VolumeAttachment{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, Spec: storageapi.VolumeAttachmentSpec{ Attacher: "valid-attacher", Source: storageapi.VolumeAttachmentSource{ PersistentVolumeName: &pvName, }, NodeName: "valid-node", }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 6.2K bytes - Viewed (1) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter_test.go
func TestQueueWaitTimeLatencyTracker(t *testing.T) { metrics.Register() var fsObj *flowcontrol.FlowSchema var plcObj *flowcontrol.PriorityLevelConfiguration cfgObjs := []runtime.Object{} plName := "test-pl" username := "test-user" fsName := "test-fs" lendable := int32(0) borrowingLimit := int32(0) fsObj = &flowcontrol.FlowSchema{ ObjectMeta: metav1.ObjectMeta{ Name: fsName, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 5.6K bytes - Viewed (0) -
pilot/pkg/bootstrap/options.go
fn(p) } return p } // Apply default value to PilotArgs func (p *PilotArgs) applyDefaults() { p.Namespace = PodNamespace p.CniNamespace = PodNamespace p.PodName = PodName p.Revision = Revision p.JwtRule = JwtRule p.KeepaliveOptions = keepalive.DefaultOption() p.RegistryOptions.DistributionTrackingEnabled = features.EnableDistributionTracking
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
Netns: "/var/netns/foo", PodName: "pod-bingo", PodNamespace: "funkyns", } payload, _ := json.Marshal(valid) addEvent, err := processAddEvent(payload) assert.NoError(t, err) assert.Equal(t, valid, addEvent) } func TestProcessAddEventBadPayload(t *testing.T) { valid := CNIPluginAddEvent{ Netns: "/var/netns/foo", PodName: "pod-bingo", PodNamespace: "funkyns", }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go
"CancelledRequests", // 10 } tabPrint(tabWriter, rowForHeaders(columnHeaders)) endLine(tabWriter) plNames := make([]string, 0, len(cfgCtlr.priorityLevelStates)) for plName := range cfgCtlr.priorityLevelStates { plNames = append(plNames, plName) } sort.Strings(plNames) for i := range plNames { plState, ok := cfgCtlr.priorityLevelStates[plNames[i]] if !ok { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 17:38:43 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/legacy.go
// legacyLogSymlink composes the legacy container log path. It is only used for legacy cluster // logging support. func legacyLogSymlink(containerID string, containerName, podName, podNamespace string) string { return logSymlink(legacyContainerLogsDir, kubecontainer.BuildPodFullName(podName, podNamespace), containerName, containerID) } // getContainerIDFromLegacyLogSymlink returns error if container Id cannot be parsed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 2.7K bytes - Viewed (0) -
src/net/cgo_unix_cgo_resn.go
return err } func _C_res_nclose(state *_C_struct___res_state) { C.res_nclose(state) } func _C_res_nsearch(state *_C_struct___res_state, dname *_C_char, class, typ int, ans *_C_uchar, anslen int) int { x := C.res_nsearch(state, dname, C.int(class), C.int(typ), ans, C.int(anslen)) return int(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 23:50:56 UTC 2024 - 979 bytes - Viewed (0)