mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
Phase 2: service and endpoint processing
This commit is contained in:
@@ -132,6 +132,13 @@ type ExtraConfig struct {
|
||||
ServiceIPRange net.IPNet
|
||||
// The IP address for the GenericAPIServer service (must be inside ServiceIPRange)
|
||||
APIServerServiceIP net.IP
|
||||
|
||||
// dual stack services, the range represents an alternative IP range for service IP
|
||||
// must be of different family than primary (ServiceIPRange)
|
||||
SecondaryServiceIPRange net.IPNet
|
||||
// the secondary IP address the GenericAPIServer service (must be inside SecondaryServiceIPRange)
|
||||
SecondaryAPIServerServiceIP net.IP
|
||||
|
||||
// Port for the apiserver service.
|
||||
APIServerServicePort int
|
||||
|
||||
@@ -323,6 +330,7 @@ func (c completedConfig) New(delegationTarget genericapiserver.DelegationTarget)
|
||||
KubeletClientConfig: c.ExtraConfig.KubeletClientConfig,
|
||||
EventTTL: c.ExtraConfig.EventTTL,
|
||||
ServiceIPRange: c.ExtraConfig.ServiceIPRange,
|
||||
SecondaryServiceIPRange: c.ExtraConfig.SecondaryServiceIPRange,
|
||||
ServiceNodePortRange: c.ExtraConfig.ServiceNodePortRange,
|
||||
LoopbackClientConfig: c.GenericConfig.LoopbackClientConfig,
|
||||
ServiceAccountIssuer: c.ExtraConfig.ServiceAccountIssuer,
|
||||
|
||||
Reference in New Issue
Block a user