- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 345 for NodeName (0.32 sec)
-
cni/pkg/util/podutil_test.go
) func TestGetPodIPIfPodIPPresent(t *testing.T) { pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: "derp", }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } podIPs := GetPodIPsIfPresent(pod) assert.Equal(t, len(podIPs), 1) } func TestGetPodIPsIfPodIPPresent(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/kubelet/runonce_test.go
kb.resourceAnalyzer = stats.NewResourceAnalyzer(kb, volumeStatsAggPeriod, kb.recorder) nodeRef := &v1.ObjectReference{ Kind: "Node", Name: string(kb.nodeName), UID: types.UID(kb.nodeName), Namespace: "", } fakeKillPodFunc := func(pod *v1.Pod, evict bool, gracePeriodOverride *int64, fn func(*v1.PodStatus)) error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 06:59:54 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/registry.go
imagelocality.Name: imagelocality.New, tainttoleration.Name: runtime.FactoryAdapter(fts, tainttoleration.New), nodename.Name: nodename.New, nodeports.Name: nodeports.New, nodeaffinity.Name: nodeaffinity.New, podtopologyspread.Name: runtime.FactoryAdapter(fts, podtopologyspread.New),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 5K bytes - Viewed (0) -
cmd/kubelet/app/auth.go
// It returns AuthInterface, a run method to start internal controllers (like cert reloading) and error. func BuildAuth(nodeName types.NodeName, client clientset.Interface, config kubeletconfig.KubeletConfiguration) (server.AuthInterface, func(<-chan struct{}), error) { // Get clients, if provided var ( tokenClient authenticationclient.AuthenticationV1Interface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 07 14:37:01 UTC 2022 - 5K bytes - Viewed (0) -
pkg/kubelet/util/util.go
// GetNodenameForKernel gets hostname value to set in the hostname field (the nodename field of struct utsname) of the pod. func GetNodenameForKernel(hostname string, hostDomainName string, setHostnameAsFQDN *bool) (string, error) { kernelHostname := hostname // FQDN has to be 64 chars to fit in the Linux nodename kernel field (specification 64 chars and the null terminating char). const fqdnMaxLen = 64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 18:07:39 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/kubelet/cadvisor/testing/cadvisor_fake.go
import ( cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" "k8s.io/kubernetes/pkg/kubelet/cadvisor" ) // Fake cadvisor.Interface implementation. type Fake struct { NodeName string } const ( // FakeKernelVersion is a fake kernel version for testing. FakeKernelVersion = "3.16.0-0.bpo.4-amd64" // FakeContainerOSVersion is a fake OS version for testing.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 22:07:20 UTC 2023 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/types.go
// NodeName is a request to schedule this carp onto a specific node. If it is non-empty, // the scheduler simply schedules this carp onto that node, assuming that it fits resource // requirements. // +optional NodeName string `json:"nodeName,omitempty" protobuf:"bytes,10,opt,name=nodeName"` // Host networking requested for this carp. Use the host's network namespace.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/imagelocality/image_locality.go
func (pl *ImageLocality) Score(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (int64, *framework.Status) { nodeInfo, err := pl.handle.SnapshotSharedLister().NodeInfos().Get(nodeName) if err != nil { return 0, framework.AsStatus(fmt.Errorf("getting node %q from Snapshot: %w", nodeName, err)) } nodeInfos, err := pl.handle.SnapshotSharedLister().NodeInfos().List() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 06:17:57 UTC 2024 - 5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceSlice.json
"apiVersion": "apiVersionValue", "time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "nodeName": "nodeNameValue", "driverName": "driverNameValue", "namedResources": { "instances": [ { "name": "nameValue", "attributes": [ { "name": "nameValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/api/discovery/v1/types.go
// in the zone and nodeName fields instead. // +optional DeprecatedTopology map[string]string `json:"deprecatedTopology,omitempty" protobuf:"bytes,5,opt,name=deprecatedTopology"` // nodeName represents the name of the Node hosting this endpoint. This can // be used to determine endpoints local to a Node. // +optional NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 9.5K bytes - Viewed (0)