- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for portRange (0.23 sec)
-
pkg/registry/core/service/portallocator/allocator.go
} type PortAllocator struct { portRange net.PortRange alloc allocator.Interface // metrics is a metrics recorder that can be disabled metrics metricsRecorderInterface } // PortAllocator implements Interface and Snapshottable var _ Interface = &PortAllocator{} // New creates a PortAllocator over a net.PortRange, calling allocatorFactory to construct the backing store.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 7.4K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/allocator_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 14K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/validation_test.go
} }) } } func makeOptionsWithPort(kubernetesServiceNodePort int, base int, size int) *ServerRunOptions { var portRange = utilnet.PortRange{ Base: base, Size: size, } return &ServerRunOptions{ Extra: Extra{ ServiceNodePortRange: portRange, KubernetesServiceNodePort: kubernetesServiceNodePort, }, } } func TestValidateMaxCIDRRange(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/storage/storage_test.go
d() server.Terminate(t) } return server, storage, backing, s, destroyFunc } func validNewRangeAllocation() *api.RangeAllocation { portRange := fmt.Sprintf("%d-%d", basePortRange, basePortRange+sizePortRange-1) return &api.RangeAllocation{ Range: portRange, } } func key() string { return "/ranges/servicenodeports" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 8.1K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation.go
} } } if _, err := utilnet.ParsePortRange(config.PortRange); err != nil { allErrs = append(allErrs, field.Invalid(newPath.Child("PortRange"), config.PortRange, "must be a valid port range (e.g. 300-2000)")) } allErrs = append(allErrs, validateKubeProxyNodePortAddress(config.NodePortAddresses, newPath.Child("NodePortAddresses"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/proxy/apis/config/types.go
// configSyncPeriod is how often configuration from the apiserver is refreshed. Must be greater // than 0. ConfigSyncPeriod metav1.Duration // portRange was previously used to configure the userspace proxy, but is now unused. PortRange string } // ProxyMode represents modes used by the Kubernetes proxy server. // // Currently, three modes of proxy are available on Linux platforms: 'iptables', 'ipvs',
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/options.go
PrimaryServiceClusterIPRange net.IPNet SecondaryServiceClusterIPRange net.IPNet // APIServerServiceIP is the first valid IP from PrimaryServiceClusterIPRange APIServerServiceIP net.IP ServiceNodePortRange utilnet.PortRange EndpointReconcilerType string MasterCount int } // NewServerRunOptions creates a new ServerRunOptions object with default parameters func NewServerRunOptions() *ServerRunOptions { s := ServerRunOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/kube-proxy/app/server_test.go
- "fd00:1::0/64" nftables: masqueradeAll: true masqueradeBit: 18 minSyncPeriod: 10s syncPeriod: 60s kind: KubeProxyConfiguration metricsBindAddress: "%s" mode: "%s" oomScoreAdj: 17 portRange: "2-7" detectLocalMode: "ClusterCIDR" detectLocal: bridgeInterface: "cbr0" interfaceNamePrefix: "veth" nodePortAddresses: - "10.20.30.40/16" - "fd00:1::0/64" ` testCases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 32.3K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux_test.go
ipvs: excludeCIDRs: null minSyncPeriod: 0s scheduler: "" syncPeriod: 30s kind: KubeProxyConfiguration metricsBindAddress: 127.0.0.1:10249 mode: "" nodePortAddresses: null oomScoreAdj: -999 portRange: "" detectLocalMode: "BridgeInterface"`) if err != nil { return nil, "", fmt.Errorf("unexpected error when writing content to temp kube-proxy config file: %v", err) } return file, tempDir, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
pkg/controlplane/instance.go
// the API server items and `Extra*` fields likely fit nicely together. // The range of ports to be assigned to services with type=NodePort or greater ServiceNodePortRange utilnet.PortRange // If non-zero, the "kubernetes" services uses this port as NodePort. KubernetesServiceNodePort int // Number of masters running; all masters must be started with the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.2K bytes - Viewed (0)