- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 871 for mynodename (0.15 sec)
-
pkg/controller/volume/attachdetach/reconciler/reconciler.go
func (rc *reconciler) hasOutOfServiceTaint(nodeName types.NodeName) (bool, error) { node, err := rc.nodeLister.Get(string(nodeName)) if err != nil { return false, err } return taints.TaintKeyExists(node.Spec.Taints, v1.TaintNodeOutOfService), nil } // nodeIsHealthy returns true if the node looks healthy. func (rc *reconciler) nodeIsHealthy(nodeName types.NodeName) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 21:02:38 UTC 2024 - 21.1K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 42.7K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
{name: "c2", phase: v1.PodPending, nodeName: "worker-1"}, {name: "d2", phase: v1.PodRunning, nodeName: "worker-1"}, {name: "e2", phase: v1.PodUnknown, nodeName: "worker-1"}, // pods a3, b3, c3, d3 and e3 are on node worker-2 {name: "a3", nodeName: "worker-2"}, {name: "b3", deletionTimeStamp: &metav1.Time{}, nodeName: "worker-2"}, {name: "c3", phase: v1.PodPending, nodeName: "worker-2"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
) func TestExistingPodAddedWhenNsLabeled(t *testing.T) { setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) 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", }, }
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/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go
return } if tc.expectCreateErr { tCtx.Fatalf("did not get expected error") } for nodeName, expect := range tc.expectNodeResults { t.Run(nodeName, func(t *testing.T) { tCtx := ktesting.Init(t) isSuitable, err := controller.nodeIsSuitable(tCtx, nodeName, tc.resources) if err != nil { if expect.suitableErr == "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 09:27:01 UTC 2024 - 34.8K bytes - Viewed (0) -
pkg/kubelet/config/http_test.go
&v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: "111", Name: "foo" + "-" + nodeName, Namespace: "mynamespace", Annotations: map[string]string{kubetypes.ConfigHashAnnotationKey: "111"}, }, Spec: v1.PodSpec{ NodeName: nodeName, RestartPolicy: v1.RestartPolicyAlways, DNSPolicy: v1.DNSClusterFirst,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 11.2K bytes - Viewed (0) -
src/os/sys_aix.go
// Therefore, hostname is retrieve with uname syscall and the Nodename field. func hostname() (name string, err error) { var u syscall.Utsname if errno := syscall.Uname(&u); errno != nil { return "", NewSyscallError("uname", errno) } b := make([]byte, len(u.Nodename)) i := 0 for ; i < len(u.Nodename); i++ { if u.Nodename[i] == 0 { break } b[i] = byte(u.Nodename[i]) } return string(b[:i]), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 11 15:41:04 UTC 2018 - 682 bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go
} for _, slice := range slices { if model[slice.NodeName] == nil { model[slice.NodeName] = make(map[string]ResourceModels) } resource := model[slice.NodeName][slice.DriverName] namedresourcesmodel.AddResources(&resource.NamedResources, slice.NamedResources) model[slice.NodeName][slice.DriverName] = resource } objs := claimAssumeCache.List(nil) for _, obj := range objs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 22 09:03:22 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/auth/nodeidentifier/default.go
// and the user name matches the format system:node:<nodeName>, and populates // nodeName if isNode is true func NewDefaultNodeIdentifier() NodeIdentifier { return defaultNodeIdentifier{} } // defaultNodeIdentifier implements NodeIdentifier type defaultNodeIdentifier struct{} // nodeUserNamePrefix is the prefix for usernames in the form `system:node:<nodeName>` const nodeUserNamePrefix = "system:node:"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 15 09:32:31 UTC 2017 - 1.9K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
IPs: []IPConfig{{ Address: *addr, }}, } setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: fakePodIP, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0)