- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 69 for nodeipam (0.31 sec)
-
pkg/controller/nodeipam/ipam/range_allocator_test.go
import ( "net" "testing" "time" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/kubernetes/fake" "k8s.io/kubernetes/pkg/controller/nodeipam/ipam/test" "k8s.io/kubernetes/pkg/controller/testutil" "k8s.io/kubernetes/test/utils/ktesting" netutils "k8s.io/utils/net" ) type testCase struct { description string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 25.2K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/range_allocator.go
"k8s.io/client-go/tools/cache" "k8s.io/client-go/tools/record" "k8s.io/client-go/util/workqueue" nodeutil "k8s.io/component-helpers/node/util" "k8s.io/kubernetes/pkg/controller/nodeipam/ipam/cidrset" controllerutil "k8s.io/kubernetes/pkg/controller/util/node" ) type rangeAllocator struct { client clientset.Interface // cluster cidrs as passed in during controller creation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 16.2K bytes - Viewed (1) -
cmd/kube-controller-manager/app/options/options_test.go
jobconfig "k8s.io/kubernetes/pkg/controller/job/config" namespaceconfig "k8s.io/kubernetes/pkg/controller/namespace/config" nodeipamconfig "k8s.io/kubernetes/pkg/controller/nodeipam/config" nodelifecycleconfig "k8s.io/kubernetes/pkg/controller/nodelifecycle/config" poautosclerconfig "k8s.io/kubernetes/pkg/controller/podautoscaler/config" podgcconfig "k8s.io/kubernetes/pkg/controller/podgc/config"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 55.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
- Migrated `pkg/controller/nodeipam/ipam/cloud_cidr_allocator.go, pkg/controller/nodeipam/ipam/multi_cidr_range_allocator.go pkg/controller/nodeipam/ipam/range_allocator.go pkg/controller/nodelifecycle/node_lifecycle_controller.go` to structured logging ([#112670](https://github.com/kubernetes/kubernetes/pull/112670), [@yangjunmyfm19208...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 23:01:06 UTC 2024 - 455.3K bytes - Viewed (0) -
pkg/util/node/node.go
} if len(allIPs) == 0 { return nil, fmt.Errorf("host IP unknown; known addresses: %v", node.Status.Addresses) } nodeIPs := []net.IP{allIPs[0]} for _, ip := range allIPs { if netutils.IsIPv6(ip) != netutils.IsIPv6(nodeIPs[0]) { nodeIPs = append(nodeIPs, ip) break } } return nodeIPs, nil } // GetNodeHostIP returns the provided node's "primary" IP; see GetNodeHostIPs for more details
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 27 23:24:38 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters_test.go
cloud = &fakecloud.Cloud{ Addresses: testCase.nodeAddresses, Err: nil, } } nodeIPs := []net.IP{testCase.nodeIP} if testCase.secondaryNodeIP != nil { nodeIPs = append(nodeIPs, testCase.secondaryNodeIP) } // construct setter setter := NodeAddress(nodeIPs, nodeIPValidator, hostname, testCase.hostnameOverride,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/util/node/node_test.go
} } else if tc.expectIPs == nil { t.Errorf("expected error, got %v", nodeIPs) } else if !reflect.DeepEqual(nodeIPs, tc.expectIPs) { t.Errorf("expected %v, got %v", tc.expectIPs, nodeIPs) } else if !nodeIP.Equal(nodeIPs[0]) { t.Errorf("GetNodeHostIP did not return same primary (%s) as GetNodeHostIPs (%s)", nodeIP.String(), nodeIPs[0].String()) } }) } } func TestIsNodeReady(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 27 23:24:38 UTC 2023 - 7.1K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters.go
) Setter { var nodeIP, secondaryNodeIP net.IP if len(nodeIPs) > 0 { nodeIP = nodeIPs[0] } preferIPv4 := nodeIP == nil || nodeIP.To4() != nil isPreferredIPFamily := func(ip net.IP) bool { return (ip.To4() != nil) == preferIPv4 } nodeIPSpecified := nodeIP != nil && !nodeIP.IsUnspecified() if len(nodeIPs) > 1 { secondaryNodeIP = nodeIPs[1] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 12:12:04 UTC 2024 - 30.5K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier.go
minSyncPeriod time.Duration, hostname string, nodeIP net.IP, recorder events.EventRecorder, healthzServer *healthcheck.ProxierHealthServer, healthzBindAddress string, config config.KubeProxyWinkernelConfiguration, ) (*Proxier, error) { if nodeIP == nil { klog.InfoS("Invalid nodeIP, initializing kube-proxy with 127.0.0.1 as nodeIP") nodeIP = netutils.ParseIPSloppy("127.0.0.1") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 59K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns.go
func NewConfigurer(recorder record.EventRecorder, nodeRef *v1.ObjectReference, nodeIPs []net.IP, clusterDNS []net.IP, clusterDomain, resolverConfig string) *Configurer { return &Configurer{ recorder: recorder, getHostDNSConfig: getHostDNSConfig, nodeRef: nodeRef, nodeIPs: nodeIPs, clusterDNS: clusterDNS, ClusterDomain: clusterDomain, ResolverConfig: resolverConfig,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 04 11:37:10 UTC 2023 - 16.1K bytes - Viewed (0)