mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #37736 from selansen/master
Global Default AddressPool - Update
This commit is contained in:
commit
9299561bd3
15 changed files with 441 additions and 206 deletions
|
@ -3,6 +3,7 @@ package cluster // import "github.com/docker/docker/daemon/cluster"
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -87,6 +88,36 @@ func (c *Cluster) resolveAdvertiseAddr(advertiseAddr, listenAddrPort string) (st
|
||||||
return systemAddr.String(), listenAddrPort, nil
|
return systemAddr.String(), listenAddrPort, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// validateDefaultAddrPool validates default address pool
|
||||||
|
// it also strips white space from the string before validation
|
||||||
|
func validateDefaultAddrPool(defaultAddrPool []string, size uint32) error {
|
||||||
|
if defaultAddrPool == nil {
|
||||||
|
// defaultAddrPool is not defined
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
//if size is not set, then we use default value 24
|
||||||
|
if size == 0 {
|
||||||
|
size = 24
|
||||||
|
}
|
||||||
|
if size > 32 {
|
||||||
|
return fmt.Errorf("subnet size is out of range: %d", size)
|
||||||
|
}
|
||||||
|
for i := range defaultAddrPool {
|
||||||
|
// trim leading and trailing white spaces
|
||||||
|
defaultAddrPool[i] = strings.TrimSpace(defaultAddrPool[i])
|
||||||
|
_, b, err := net.ParseCIDR(defaultAddrPool[i])
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("invalid base pool %s: %v", defaultAddrPool[i], err)
|
||||||
|
}
|
||||||
|
ones, _ := b.Mask.Size()
|
||||||
|
if size < uint32(ones) {
|
||||||
|
return fmt.Errorf("invalid CIDR: %q. Subnet size is too small for pool: %d", defaultAddrPool[i], size)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
func resolveDataPathAddr(dataPathAddr string) (string, error) {
|
func resolveDataPathAddr(dataPathAddr string) (string, error) {
|
||||||
if dataPathAddr == "" {
|
if dataPathAddr == "" {
|
||||||
// dataPathAddr is not defined
|
// dataPathAddr is not defined
|
||||||
|
|
|
@ -3,7 +3,6 @@ package cluster // import "github.com/docker/docker/daemon/cluster"
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -14,6 +13,7 @@ import (
|
||||||
"github.com/docker/docker/daemon/cluster/executor/container"
|
"github.com/docker/docker/daemon/cluster/executor/container"
|
||||||
lncluster "github.com/docker/libnetwork/cluster"
|
lncluster "github.com/docker/libnetwork/cluster"
|
||||||
swarmapi "github.com/docker/swarmkit/api"
|
swarmapi "github.com/docker/swarmkit/api"
|
||||||
|
swarmallocator "github.com/docker/swarmkit/manager/allocator/cnmallocator"
|
||||||
swarmnode "github.com/docker/swarmkit/node"
|
swarmnode "github.com/docker/swarmkit/node"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
@ -115,12 +115,6 @@ func (n *nodeRunner) start(conf nodeStartConfig) error {
|
||||||
joinAddr = conf.RemoteAddr
|
joinAddr = conf.RemoteAddr
|
||||||
}
|
}
|
||||||
|
|
||||||
var defaultAddrPool []*net.IPNet
|
|
||||||
for _, address := range conf.DefaultAddressPool {
|
|
||||||
if _, b, err := net.ParseCIDR(address); err == nil {
|
|
||||||
defaultAddrPool = append(defaultAddrPool, b)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Hostname is not set here. Instead, it is obtained from
|
// Hostname is not set here. Instead, it is obtained from
|
||||||
// the node description that is reported periodically
|
// the node description that is reported periodically
|
||||||
swarmnodeConfig := swarmnode.Config{
|
swarmnodeConfig := swarmnode.Config{
|
||||||
|
@ -128,11 +122,13 @@ func (n *nodeRunner) start(conf nodeStartConfig) error {
|
||||||
ListenControlAPI: control,
|
ListenControlAPI: control,
|
||||||
ListenRemoteAPI: conf.ListenAddr,
|
ListenRemoteAPI: conf.ListenAddr,
|
||||||
AdvertiseRemoteAPI: conf.AdvertiseAddr,
|
AdvertiseRemoteAPI: conf.AdvertiseAddr,
|
||||||
DefaultAddrPool: defaultAddrPool,
|
NetworkConfig: &swarmallocator.NetworkConfig{
|
||||||
SubnetSize: int(conf.SubnetSize),
|
DefaultAddrPool: conf.DefaultAddressPool,
|
||||||
JoinAddr: joinAddr,
|
SubnetSize: conf.SubnetSize,
|
||||||
StateDir: n.cluster.root,
|
},
|
||||||
JoinToken: conf.joinToken,
|
JoinAddr: joinAddr,
|
||||||
|
StateDir: n.cluster.root,
|
||||||
|
JoinToken: conf.joinToken,
|
||||||
Executor: container.NewExecutor(
|
Executor: container.NewExecutor(
|
||||||
n.cluster.config.Backend,
|
n.cluster.config.Backend,
|
||||||
n.cluster.config.PluginBackend,
|
n.cluster.config.PluginBackend,
|
||||||
|
|
|
@ -92,6 +92,10 @@ func (c *Cluster) Init(req types.InitRequest) (string, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Validate Default Address Pool input
|
||||||
|
if err := validateDefaultAddrPool(req.DefaultAddrPool, req.SubnetSize); err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
nr, err := c.newNodeRunner(nodeStartConfig{
|
nr, err := c.newNodeRunner(nodeStartConfig{
|
||||||
forceNewCluster: req.ForceNewCluster,
|
forceNewCluster: req.ForceNewCluster,
|
||||||
autolock: req.AutoLockManagers,
|
autolock: req.AutoLockManagers,
|
||||||
|
|
|
@ -355,7 +355,7 @@ func TestServiceWithDefaultAddressPoolInit(t *testing.T) {
|
||||||
d.Stop(t)
|
d.Stop(t)
|
||||||
|
|
||||||
// Clean up , set it back to original one to make sure other tests don't fail
|
// Clean up , set it back to original one to make sure other tests don't fail
|
||||||
ipAddr = []string{"10.10.0.0/8"}
|
ipAddr = []string{"10.0.0.0/8"}
|
||||||
ops = append(ops, daemon.WithSwarmDefaultAddrPool(ipAddr))
|
ops = append(ops, daemon.WithSwarmDefaultAddrPool(ipAddr))
|
||||||
ops = append(ops, daemon.WithSwarmDefaultAddrPoolSubnetSize(24))
|
ops = append(ops, daemon.WithSwarmDefaultAddrPoolSubnetSize(24))
|
||||||
d = swarm.NewSwarm(t, testEnv, ops...)
|
d = swarm.NewSwarm(t, testEnv, ops...)
|
||||||
|
|
|
@ -127,7 +127,7 @@ github.com/containerd/ttrpc 94dde388801693c54f88a6596f713b51a8b30b2d
|
||||||
github.com/gogo/googleapis 08a7655d27152912db7aaf4f983275eaf8d128ef
|
github.com/gogo/googleapis 08a7655d27152912db7aaf4f983275eaf8d128ef
|
||||||
|
|
||||||
# cluster
|
# cluster
|
||||||
github.com/docker/swarmkit cfa742c8abe6f8e922f6e4e920153c408e7d9c3b
|
github.com/docker/swarmkit d7d23d763a2d47ad6e540f81ab3609f6c323e9be
|
||||||
github.com/gogo/protobuf v1.0.0
|
github.com/gogo/protobuf v1.0.0
|
||||||
github.com/cloudflare/cfssl 1.3.2
|
github.com/cloudflare/cfssl 1.3.2
|
||||||
github.com/fernet/fernet-go 1b2437bc582b3cfbb341ee5a29f8ef5b42912ff2
|
github.com/fernet/fernet-go 1b2437bc582b3cfbb341ee5a29f8ef5b42912ff2
|
||||||
|
|
2
vendor/github.com/docker/swarmkit/agent/session.go
generated
vendored
2
vendor/github.com/docker/swarmkit/agent/session.go
generated
vendored
|
@ -136,7 +136,7 @@ func (s *session) start(ctx context.Context, description *api.NodeDescription) e
|
||||||
// then in `run` it's possible that we just terminate the function because
|
// then in `run` it's possible that we just terminate the function because
|
||||||
// `ctx` is done and hence fail to propagate the timeout error to the agent.
|
// `ctx` is done and hence fail to propagate the timeout error to the agent.
|
||||||
// If the error is not propogated to the agent, the agent will not close
|
// If the error is not propogated to the agent, the agent will not close
|
||||||
// the session or rebuild a new sesssion.
|
// the session or rebuild a new session.
|
||||||
sessionCtx, cancelSession := context.WithCancel(ctx)
|
sessionCtx, cancelSession := context.WithCancel(ctx)
|
||||||
|
|
||||||
// Need to run Session in a goroutine since there's no way to set a
|
// Need to run Session in a goroutine since there's no way to set a
|
||||||
|
|
449
vendor/github.com/docker/swarmkit/api/specs.pb.go
generated
vendored
449
vendor/github.com/docker/swarmkit/api/specs.pb.go
generated
vendored
|
@ -622,6 +622,20 @@ type ContainerSpec struct {
|
||||||
// PidsLimit prevents from OS resource damage by applications inside the container
|
// PidsLimit prevents from OS resource damage by applications inside the container
|
||||||
// using fork bomb attack.
|
// using fork bomb attack.
|
||||||
PidsLimit int64 `protobuf:"varint,25,opt,name=pidsLimit,proto3" json:"pidsLimit,omitempty"`
|
PidsLimit int64 `protobuf:"varint,25,opt,name=pidsLimit,proto3" json:"pidsLimit,omitempty"`
|
||||||
|
// Sysctls sets namespaced kernel parameters (sysctls) in the container. This
|
||||||
|
// option is equivalent to passing --sysctl to docker run.
|
||||||
|
//
|
||||||
|
// Note that while options are subject to the same restrictions as arguments
|
||||||
|
// passed to the --sysctl flag on docker run, those options are not further
|
||||||
|
// validated to ensure that they are safe or sensible in a clustered
|
||||||
|
// environment.
|
||||||
|
//
|
||||||
|
// Additionally, sysctls are not validated for support in the underlying
|
||||||
|
// daemon. For information about supported options, refer to the
|
||||||
|
// documentation at:
|
||||||
|
//
|
||||||
|
// https://docs.docker.com/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime
|
||||||
|
Sysctls map[string]string `protobuf:"bytes,26,rep,name=sysctls" json:"sysctls,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ContainerSpec) Reset() { *m = ContainerSpec{} }
|
func (m *ContainerSpec) Reset() { *m = ContainerSpec{} }
|
||||||
|
@ -1176,6 +1190,13 @@ func (m *ContainerSpec) CopyFrom(src interface{}) {
|
||||||
m.Healthcheck = &HealthConfig{}
|
m.Healthcheck = &HealthConfig{}
|
||||||
deepcopy.Copy(m.Healthcheck, o.Healthcheck)
|
deepcopy.Copy(m.Healthcheck, o.Healthcheck)
|
||||||
}
|
}
|
||||||
|
if o.Sysctls != nil {
|
||||||
|
m.Sysctls = make(map[string]string, len(o.Sysctls))
|
||||||
|
for k, v := range o.Sysctls {
|
||||||
|
m.Sysctls[k] = v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ContainerSpec_PullOptions) Copy() *ContainerSpec_PullOptions {
|
func (m *ContainerSpec_PullOptions) Copy() *ContainerSpec_PullOptions {
|
||||||
|
@ -2064,6 +2085,25 @@ func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error) {
|
||||||
i++
|
i++
|
||||||
i = encodeVarintSpecs(dAtA, i, uint64(m.PidsLimit))
|
i = encodeVarintSpecs(dAtA, i, uint64(m.PidsLimit))
|
||||||
}
|
}
|
||||||
|
if len(m.Sysctls) > 0 {
|
||||||
|
for k, _ := range m.Sysctls {
|
||||||
|
dAtA[i] = 0xd2
|
||||||
|
i++
|
||||||
|
dAtA[i] = 0x1
|
||||||
|
i++
|
||||||
|
v := m.Sysctls[k]
|
||||||
|
mapSize := 1 + len(k) + sovSpecs(uint64(len(k))) + 1 + len(v) + sovSpecs(uint64(len(v)))
|
||||||
|
i = encodeVarintSpecs(dAtA, i, uint64(mapSize))
|
||||||
|
dAtA[i] = 0xa
|
||||||
|
i++
|
||||||
|
i = encodeVarintSpecs(dAtA, i, uint64(len(k)))
|
||||||
|
i += copy(dAtA[i:], k)
|
||||||
|
dAtA[i] = 0x12
|
||||||
|
i++
|
||||||
|
i = encodeVarintSpecs(dAtA, i, uint64(len(v)))
|
||||||
|
i += copy(dAtA[i:], v)
|
||||||
|
}
|
||||||
|
}
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2781,6 +2821,14 @@ func (m *ContainerSpec) Size() (n int) {
|
||||||
if m.PidsLimit != 0 {
|
if m.PidsLimit != 0 {
|
||||||
n += 2 + sovSpecs(uint64(m.PidsLimit))
|
n += 2 + sovSpecs(uint64(m.PidsLimit))
|
||||||
}
|
}
|
||||||
|
if len(m.Sysctls) > 0 {
|
||||||
|
for k, v := range m.Sysctls {
|
||||||
|
_ = k
|
||||||
|
_ = v
|
||||||
|
mapEntrySize := 1 + len(k) + sovSpecs(uint64(len(k))) + 1 + len(v) + sovSpecs(uint64(len(v)))
|
||||||
|
n += mapEntrySize + 2 + sovSpecs(uint64(mapEntrySize))
|
||||||
|
}
|
||||||
|
}
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3103,6 +3151,16 @@ func (this *ContainerSpec) String() string {
|
||||||
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
|
||||||
}
|
}
|
||||||
mapStringForLabels += "}"
|
mapStringForLabels += "}"
|
||||||
|
keysForSysctls := make([]string, 0, len(this.Sysctls))
|
||||||
|
for k, _ := range this.Sysctls {
|
||||||
|
keysForSysctls = append(keysForSysctls, k)
|
||||||
|
}
|
||||||
|
sortkeys.Strings(keysForSysctls)
|
||||||
|
mapStringForSysctls := "map[string]string{"
|
||||||
|
for _, k := range keysForSysctls {
|
||||||
|
mapStringForSysctls += fmt.Sprintf("%v: %v,", k, this.Sysctls[k])
|
||||||
|
}
|
||||||
|
mapStringForSysctls += "}"
|
||||||
s := strings.Join([]string{`&ContainerSpec{`,
|
s := strings.Join([]string{`&ContainerSpec{`,
|
||||||
`Image:` + fmt.Sprintf("%v", this.Image) + `,`,
|
`Image:` + fmt.Sprintf("%v", this.Image) + `,`,
|
||||||
`Labels:` + mapStringForLabels + `,`,
|
`Labels:` + mapStringForLabels + `,`,
|
||||||
|
@ -3129,6 +3187,7 @@ func (this *ContainerSpec) String() string {
|
||||||
`Init:` + strings.Replace(fmt.Sprintf("%v", this.Init), "BoolValue", "google_protobuf4.BoolValue", 1) + `,`,
|
`Init:` + strings.Replace(fmt.Sprintf("%v", this.Init), "BoolValue", "google_protobuf4.BoolValue", 1) + `,`,
|
||||||
`Isolation:` + fmt.Sprintf("%v", this.Isolation) + `,`,
|
`Isolation:` + fmt.Sprintf("%v", this.Isolation) + `,`,
|
||||||
`PidsLimit:` + fmt.Sprintf("%v", this.PidsLimit) + `,`,
|
`PidsLimit:` + fmt.Sprintf("%v", this.PidsLimit) + `,`,
|
||||||
|
`Sysctls:` + mapStringForSysctls + `,`,
|
||||||
`}`,
|
`}`,
|
||||||
}, "")
|
}, "")
|
||||||
return s
|
return s
|
||||||
|
@ -5277,6 +5336,124 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
case 26:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Sysctls", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowSpecs
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= (int(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthSpecs
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
if m.Sysctls == nil {
|
||||||
|
m.Sysctls = make(map[string]string)
|
||||||
|
}
|
||||||
|
var mapkey string
|
||||||
|
var mapvalue string
|
||||||
|
for iNdEx < postIndex {
|
||||||
|
entryPreIndex := iNdEx
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowSpecs
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= (uint64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fieldNum := int32(wire >> 3)
|
||||||
|
if fieldNum == 1 {
|
||||||
|
var stringLenmapkey uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowSpecs
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
stringLenmapkey |= (uint64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
intStringLenmapkey := int(stringLenmapkey)
|
||||||
|
if intStringLenmapkey < 0 {
|
||||||
|
return ErrInvalidLengthSpecs
|
||||||
|
}
|
||||||
|
postStringIndexmapkey := iNdEx + intStringLenmapkey
|
||||||
|
if postStringIndexmapkey > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
|
||||||
|
iNdEx = postStringIndexmapkey
|
||||||
|
} else if fieldNum == 2 {
|
||||||
|
var stringLenmapvalue uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowSpecs
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
stringLenmapvalue |= (uint64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
intStringLenmapvalue := int(stringLenmapvalue)
|
||||||
|
if intStringLenmapvalue < 0 {
|
||||||
|
return ErrInvalidLengthSpecs
|
||||||
|
}
|
||||||
|
postStringIndexmapvalue := iNdEx + intStringLenmapvalue
|
||||||
|
if postStringIndexmapvalue > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
|
||||||
|
iNdEx = postStringIndexmapvalue
|
||||||
|
} else {
|
||||||
|
iNdEx = entryPreIndex
|
||||||
|
skippy, err := skipSpecs(dAtA[iNdEx:])
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if skippy < 0 {
|
||||||
|
return ErrInvalidLengthSpecs
|
||||||
|
}
|
||||||
|
if (iNdEx + skippy) > postIndex {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
iNdEx += skippy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
m.Sysctls[mapkey] = mapvalue
|
||||||
|
iNdEx = postIndex
|
||||||
default:
|
default:
|
||||||
iNdEx = preIndex
|
iNdEx = preIndex
|
||||||
skippy, err := skipSpecs(dAtA[iNdEx:])
|
skippy, err := skipSpecs(dAtA[iNdEx:])
|
||||||
|
@ -6588,139 +6765,141 @@ var (
|
||||||
func init() { proto.RegisterFile("github.com/docker/swarmkit/api/specs.proto", fileDescriptorSpecs) }
|
func init() { proto.RegisterFile("github.com/docker/swarmkit/api/specs.proto", fileDescriptorSpecs) }
|
||||||
|
|
||||||
var fileDescriptorSpecs = []byte{
|
var fileDescriptorSpecs = []byte{
|
||||||
// 2131 bytes of a gzipped FileDescriptorProto
|
// 2166 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x6f, 0x1b, 0xc7,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4d, 0x6f, 0x1b, 0xc9,
|
||||||
0x15, 0x17, 0x25, 0x8a, 0x22, 0xdf, 0x52, 0x36, 0x35, 0x71, 0x9c, 0x15, 0x6d, 0x4b, 0x34, 0xe3,
|
0xd1, 0x16, 0x25, 0x8a, 0x1f, 0x35, 0x94, 0x4d, 0xf5, 0xda, 0xde, 0x11, 0x6d, 0x4b, 0x34, 0xd7,
|
||||||
0xb8, 0x4a, 0x82, 0x52, 0xa8, 0x1a, 0xa4, 0x4e, 0xdc, 0xb4, 0x25, 0x45, 0x46, 0x66, 0x6d, 0x4b,
|
0xeb, 0x57, 0xbb, 0x8b, 0x97, 0x42, 0x94, 0xc5, 0xc6, 0x6b, 0x67, 0x93, 0x90, 0x22, 0x57, 0x62,
|
||||||
0xc4, 0x50, 0x56, 0x6b, 0xa0, 0x00, 0x31, 0xda, 0x1d, 0x91, 0x03, 0x2d, 0x77, 0xb6, 0xb3, 0x43,
|
0x6c, 0x4b, 0x44, 0x53, 0x56, 0x62, 0x20, 0x00, 0xd1, 0x9a, 0x69, 0x91, 0x03, 0x0d, 0xa7, 0x27,
|
||||||
0x19, 0xbc, 0xf5, 0x18, 0xa8, 0x9f, 0x41, 0xe8, 0xa1, 0xe8, 0xbd, 0xfd, 0x16, 0x3e, 0xf6, 0xd8,
|
0xdd, 0x4d, 0x19, 0xbc, 0xe5, 0xb8, 0x50, 0x7e, 0x83, 0x90, 0x43, 0x90, 0x7b, 0xf2, 0x2f, 0x7c,
|
||||||
0x5e, 0x84, 0x44, 0x5f, 0xa1, 0xb7, 0x5e, 0x5a, 0xcc, 0xec, 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 0x95, 0x3f, 0x65, 0xc1,
|
0xa1, 0x51, 0x0d, 0x5c, 0x6b, 0xed, 0x16, 0xe7, 0x93, 0x51, 0x0d, 0x4e, 0xbc, 0xc0, 0x4c, 0xe5,
|
||||||
0xea, 0x52, 0x71, 0xc2, 0x9c, 0xf7, 0x2c, 0x91, 0x2f, 0x21, 0x2b, 0x49, 0x78, 0xac, 0xa5, 0x61,
|
0x77, 0x69, 0xb0, 0x3a, 0x94, 0x9f, 0x78, 0xce, 0x07, 0x96, 0xc8, 0x57, 0x90, 0x96, 0x44, 0x1c,
|
||||||
0xa5, 0x4b, 0x63, 0x9f, 0x84, 0xc7, 0x6a, 0x50, 0x43, 0xd7, 0x78, 0xa5, 0x0c, 0x41, 0x03, 0x8f,
|
0x6b, 0x69, 0x58, 0xc9, 0xd2, 0xd8, 0x27, 0xe2, 0x58, 0x0d, 0x6a, 0xe8, 0x1a, 0xaf, 0x94, 0xc1,
|
||||||
0x39, 0x44, 0x52, 0x57, 0x2b, 0xc3, 0xda, 0xfa, 0x24, 0x8d, 0x8d, 0x13, 0x94, 0x99, 0xff, 0x93,
|
0x69, 0xe8, 0x7b, 0x0e, 0x91, 0xd4, 0xd5, 0xca, 0xb0, 0x36, 0x3f, 0x4d, 0x62, 0xe3, 0x31, 0xca,
|
||||||
0x39, 0x3c, 0x45, 0x45, 0x8f, 0x21, 0xd7, 0xf7, 0xf8, 0x21, 0xf1, 0xb4, 0x26, 0xac, 0xad, 0xfb,
|
0xcc, 0x7f, 0x67, 0x0e, 0x4f, 0x51, 0xd1, 0x53, 0xc8, 0xf4, 0x7c, 0x76, 0x48, 0x7c, 0xad, 0x09,
|
||||||
0x69, 0x4e, 0x76, 0x34, 0x62, 0xe2, 0xc0, 0x50, 0xd0, 0x23, 0xc8, 0x8d, 0x02, 0x97, 0x48, 0x6a,
|
0x6b, 0xf3, 0x41, 0x92, 0x93, 0x6d, 0x8d, 0x98, 0x38, 0x30, 0x14, 0xf4, 0x18, 0x32, 0xc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x00, 0x0a, 0x47, 0x8c, 0x3b, 0xb4, 0x6b, 0xa2, 0x26, 0xaf, 0x35, 0x61, 0x69, 0x5b, 0xa4, 0x2f,
|
||||||
0x3e, 0xf5, 0xa9, 0x60, 0x8e, 0x0d, 0x7a, 0xb0, 0x87, 0xa9, 0x17, 0x32, 0x82, 0xe0, 0x91, 0x2f,
|
0x54, 0x87, 0x6c, 0x8f, 0x06, 0x94, 0x7b, 0x8e, 0x0d, 0x7a, 0xb0, 0x47, 0x89, 0x01, 0x19, 0x41,
|
||||||
0xd9, 0x90, 0x9a, 0x91, 0x62, 0x22, 0xfa, 0x1d, 0x7c, 0x10, 0x1f, 0x5f, 0x4f, 0xd0, 0x23, 0x2a,
|
0xf0, 0x30, 0x90, 0xde, 0x80, 0x9a, 0x91, 0x62, 0x22, 0xfa, 0x15, 0x7c, 0x14, 0x1f, 0x5f, 0x97,
|
||||||
0xa8, 0xaf, 0x34, 0x60, 0xe9, 0x7d, 0xf8, 0xe4, 0xed, 0x1a, 0x30, 0x68, 0x13, 0x6c, 0x90, 0xb8,
|
0xd3, 0x23, 0xca, 0x69, 0xa0, 0x34, 0x60, 0xe9, 0x7d, 0xf8, 0xf4, 0xdd, 0x1a, 0x30, 0x68, 0x93,
|
||||||
0xfc, 0x21, 0x6c, 0x14, 0x60, 0x49, 0x44, 0xe3, 0x56, 0xff, 0x98, 0x51, 0xaa, 0xbf, 0x84, 0x40,
|
0x6c, 0x10, 0xbf, 0xfc, 0x41, 0xd4, 0xf3, 0x90, 0xe5, 0xd1, 0xb8, 0x95, 0xdf, 0xa6, 0x94, 0xea,
|
||||||
0x9b, 0x60, 0x25, 0xc3, 0x33, 0x57, 0xab, 0xb7, 0xd0, 0xb8, 0x71, 0x71, 0xbe, 0x0e, 0x31, 0xb6,
|
0x2f, 0x21, 0xd0, 0x06, 0x58, 0xe3, 0xe1, 0x3d, 0x57, 0xab, 0x37, 0x5f, 0xbf, 0x71, 0x71, 0xbe,
|
||||||
0xdd, 0x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x99, 0xfc, 0xf4, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb8, 0xa3, 0x85, 0xdc, 0xc7,
|
0x01, 0x44, 0xcb, 0xfc, 0x9f, 0x5e, 0x5b, 0xdd, 0x7e, 0xf3, 0xfd, 0xea, 0xdc, 0x5f, 0xbe, 0x5f,
|
||||||
0x15, 0x00, 0x00,
|
0x9d, 0xfb, 0xcd, 0xc5, 0x6a, 0xea, 0xcd, 0xc5, 0x6a, 0xea, 0xcf, 0x17, 0xab, 0xa9, 0xbf, 0x5d,
|
||||||
|
0xac, 0xa6, 0x0e, 0x33, 0xba, 0x3e, 0xfa, 0xe1, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x32, 0x89,
|
||||||
|
0x54, 0x8a, 0x4d, 0x16, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
17
vendor/github.com/docker/swarmkit/api/specs.proto
generated
vendored
17
vendor/github.com/docker/swarmkit/api/specs.proto
generated
vendored
|
@ -315,9 +315,24 @@ message ContainerSpec {
|
||||||
// Runtimes that don't support it ignore that field
|
// Runtimes that don't support it ignore that field
|
||||||
Isolation isolation = 24;
|
Isolation isolation = 24;
|
||||||
|
|
||||||
// PidsLimit prevents from OS resource damage by applications inside the container
|
// PidsLimit prevents from OS resource damage by applications inside the container
|
||||||
// using fork bomb attack.
|
// using fork bomb attack.
|
||||||
int64 pidsLimit = 25;
|
int64 pidsLimit = 25;
|
||||||
|
|
||||||
|
// Sysctls sets namespaced kernel parameters (sysctls) in the container. This
|
||||||
|
// option is equivalent to passing --sysctl to docker run.
|
||||||
|
//
|
||||||
|
// Note that while options are subject to the same restrictions as arguments
|
||||||
|
// passed to the --sysctl flag on docker run, those options are not further
|
||||||
|
// validated to ensure that they are safe or sensible in a clustered
|
||||||
|
// environment.
|
||||||
|
//
|
||||||
|
// Additionally, sysctls are not validated for support in the underlying
|
||||||
|
// daemon. For information about supported options, refer to the
|
||||||
|
// documentation at:
|
||||||
|
//
|
||||||
|
// https://docs.docker.com/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime
|
||||||
|
map<string, string> sysctls = 26;
|
||||||
}
|
}
|
||||||
|
|
||||||
// EndpointSpec defines the properties that can be configured to
|
// EndpointSpec defines the properties that can be configured to
|
||||||
|
|
21
vendor/github.com/docker/swarmkit/manager/allocator/allocator.go
generated
vendored
21
vendor/github.com/docker/swarmkit/manager/allocator/allocator.go
generated
vendored
|
@ -1,12 +1,12 @@
|
||||||
package allocator
|
package allocator
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net"
|
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/docker/docker/pkg/plugingetter"
|
"github.com/docker/docker/pkg/plugingetter"
|
||||||
"github.com/docker/go-events"
|
"github.com/docker/go-events"
|
||||||
"github.com/docker/swarmkit/api"
|
"github.com/docker/swarmkit/api"
|
||||||
|
"github.com/docker/swarmkit/manager/allocator/cnmallocator"
|
||||||
"github.com/docker/swarmkit/manager/state"
|
"github.com/docker/swarmkit/manager/state"
|
||||||
"github.com/docker/swarmkit/manager/state/store"
|
"github.com/docker/swarmkit/manager/state/store"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
@ -34,12 +34,8 @@ type Allocator struct {
|
||||||
// pluginGetter provides access to docker's plugin inventory.
|
// pluginGetter provides access to docker's plugin inventory.
|
||||||
pluginGetter plugingetter.PluginGetter
|
pluginGetter plugingetter.PluginGetter
|
||||||
|
|
||||||
// DefaultAddrPool specifies default subnet pool for global scope networks
|
// networkConfig stores network related config for the cluster
|
||||||
defaultAddrPool []*net.IPNet
|
networkConfig *cnmallocator.NetworkConfig
|
||||||
|
|
||||||
// SubnetSize specifies the subnet size of the networks created from
|
|
||||||
// the default subnet pool
|
|
||||||
subnetSize int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// taskBallot controls how the voting for task allocation is
|
// taskBallot controls how the voting for task allocation is
|
||||||
|
@ -73,17 +69,16 @@ type allocActor struct {
|
||||||
|
|
||||||
// New returns a new instance of Allocator for use during allocation
|
// New returns a new instance of Allocator for use during allocation
|
||||||
// stage of the manager.
|
// stage of the manager.
|
||||||
func New(store *store.MemoryStore, pg plugingetter.PluginGetter, defaultAddrPool []*net.IPNet, subnetSize int) (*Allocator, error) {
|
func New(store *store.MemoryStore, pg plugingetter.PluginGetter, netConfig *cnmallocator.NetworkConfig) (*Allocator, error) {
|
||||||
a := &Allocator{
|
a := &Allocator{
|
||||||
store: store,
|
store: store,
|
||||||
taskBallot: &taskBallot{
|
taskBallot: &taskBallot{
|
||||||
votes: make(map[string][]string),
|
votes: make(map[string][]string),
|
||||||
},
|
},
|
||||||
stopChan: make(chan struct{}),
|
stopChan: make(chan struct{}),
|
||||||
doneChan: make(chan struct{}),
|
doneChan: make(chan struct{}),
|
||||||
pluginGetter: pg,
|
pluginGetter: pg,
|
||||||
defaultAddrPool: defaultAddrPool,
|
networkConfig: netConfig,
|
||||||
subnetSize: subnetSize,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return a, nil
|
return a, nil
|
||||||
|
|
15
vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator/drivers_ipam.go
generated
vendored
15
vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator/drivers_ipam.go
generated
vendored
|
@ -1,7 +1,6 @@
|
||||||
package cnmallocator
|
package cnmallocator
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
@ -14,7 +13,7 @@ import (
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
func initIPAMDrivers(r *drvregistry.DrvRegistry, defaultAddrPool []*net.IPNet, subnetSize int) error {
|
func initIPAMDrivers(r *drvregistry.DrvRegistry, netConfig *NetworkConfig) error {
|
||||||
var addressPool []*ipamutils.NetworkToSplit
|
var addressPool []*ipamutils.NetworkToSplit
|
||||||
var str strings.Builder
|
var str strings.Builder
|
||||||
str.WriteString("Subnetlist - ")
|
str.WriteString("Subnetlist - ")
|
||||||
|
@ -22,16 +21,16 @@ func initIPAMDrivers(r *drvregistry.DrvRegistry, defaultAddrPool []*net.IPNet, s
|
||||||
// from the info. We will be using it to call Libnetwork API
|
// from the info. We will be using it to call Libnetwork API
|
||||||
// We also need to log new address pool info whenever swarm init
|
// We also need to log new address pool info whenever swarm init
|
||||||
// happens with default address pool option
|
// happens with default address pool option
|
||||||
if defaultAddrPool != nil {
|
if netConfig != nil {
|
||||||
for _, p := range defaultAddrPool {
|
for _, p := range netConfig.DefaultAddrPool {
|
||||||
addressPool = append(addressPool, &ipamutils.NetworkToSplit{
|
addressPool = append(addressPool, &ipamutils.NetworkToSplit{
|
||||||
Base: p.String(),
|
Base: p,
|
||||||
Size: subnetSize,
|
Size: int(netConfig.SubnetSize),
|
||||||
})
|
})
|
||||||
str.WriteString(p.String() + ",")
|
str.WriteString(p + ",")
|
||||||
}
|
}
|
||||||
str.WriteString(": Size ")
|
str.WriteString(": Size ")
|
||||||
str.WriteString(strconv.Itoa(subnetSize))
|
str.WriteString(strconv.Itoa(int(netConfig.SubnetSize)))
|
||||||
}
|
}
|
||||||
if err := ipamutils.ConfigGlobalScopeDefaultNetworks(addressPool); err != nil {
|
if err := ipamutils.ConfigGlobalScopeDefaultNetworks(addressPool); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
14
vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator/networkallocator.go
generated
vendored
14
vendor/github.com/docker/swarmkit/manager/allocator/cnmallocator/networkallocator.go
generated
vendored
|
@ -86,8 +86,18 @@ type initializer struct {
|
||||||
ntype string
|
ntype string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NetworkConfig is used to store network related cluster config in the Manager.
|
||||||
|
type NetworkConfig struct {
|
||||||
|
// DefaultAddrPool specifies default subnet pool for global scope networks
|
||||||
|
DefaultAddrPool []string
|
||||||
|
|
||||||
|
// SubnetSize specifies the subnet size of the networks created from
|
||||||
|
// the default subnet pool
|
||||||
|
SubnetSize uint32
|
||||||
|
}
|
||||||
|
|
||||||
// New returns a new NetworkAllocator handle
|
// New returns a new NetworkAllocator handle
|
||||||
func New(pg plugingetter.PluginGetter, defaultAddrPool []*net.IPNet, subnetSize int) (networkallocator.NetworkAllocator, error) {
|
func New(pg plugingetter.PluginGetter, netConfig *NetworkConfig) (networkallocator.NetworkAllocator, error) {
|
||||||
na := &cnmNetworkAllocator{
|
na := &cnmNetworkAllocator{
|
||||||
networks: make(map[string]*network),
|
networks: make(map[string]*network),
|
||||||
services: make(map[string]struct{}),
|
services: make(map[string]struct{}),
|
||||||
|
@ -106,7 +116,7 @@ func New(pg plugingetter.PluginGetter, defaultAddrPool []*net.IPNet, subnetSize
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = initIPAMDrivers(reg, defaultAddrPool, subnetSize); err != nil {
|
if err = initIPAMDrivers(reg, netConfig); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
10
vendor/github.com/docker/swarmkit/manager/allocator/network.go
generated
vendored
10
vendor/github.com/docker/swarmkit/manager/allocator/network.go
generated
vendored
|
@ -68,7 +68,15 @@ type networkContext struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *Allocator) doNetworkInit(ctx context.Context) (err error) {
|
func (a *Allocator) doNetworkInit(ctx context.Context) (err error) {
|
||||||
na, err := cnmallocator.New(a.pluginGetter, a.defaultAddrPool, a.subnetSize)
|
var netConfig *cnmallocator.NetworkConfig
|
||||||
|
if a.networkConfig != nil && a.networkConfig.DefaultAddrPool != nil {
|
||||||
|
netConfig = &cnmallocator.NetworkConfig{
|
||||||
|
DefaultAddrPool: a.networkConfig.DefaultAddrPool,
|
||||||
|
SubnetSize: a.networkConfig.SubnetSize,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
na, err := cnmallocator.New(a.pluginGetter, netConfig)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
13
vendor/github.com/docker/swarmkit/manager/controlapi/cluster.go
generated
vendored
13
vendor/github.com/docker/swarmkit/manager/controlapi/cluster.go
generated
vendored
|
@ -19,6 +19,13 @@ const (
|
||||||
// expiredCertGrace is the amount of time to keep a node in the
|
// expiredCertGrace is the amount of time to keep a node in the
|
||||||
// blacklist beyond its certificate expiration timestamp.
|
// blacklist beyond its certificate expiration timestamp.
|
||||||
expiredCertGrace = 24 * time.Hour * 7
|
expiredCertGrace = 24 * time.Hour * 7
|
||||||
|
// inbuilt default subnet size
|
||||||
|
inbuiltSubnetSize = 24
|
||||||
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
// inbuilt default address pool
|
||||||
|
inbuiltDefaultAddressPool = []string{"10.0.0.0/8"}
|
||||||
)
|
)
|
||||||
|
|
||||||
func validateClusterSpec(spec *api.ClusterSpec) error {
|
func validateClusterSpec(spec *api.ClusterSpec) error {
|
||||||
|
@ -268,6 +275,12 @@ func redactClusters(clusters []*api.Cluster) []*api.Cluster {
|
||||||
DefaultAddressPool: cluster.DefaultAddressPool,
|
DefaultAddressPool: cluster.DefaultAddressPool,
|
||||||
SubnetSize: cluster.SubnetSize,
|
SubnetSize: cluster.SubnetSize,
|
||||||
}
|
}
|
||||||
|
if newCluster.DefaultAddressPool == nil {
|
||||||
|
// This is just for CLI display. Set the inbuilt default pool for
|
||||||
|
// user reference.
|
||||||
|
newCluster.DefaultAddressPool = inbuiltDefaultAddressPool
|
||||||
|
newCluster.SubnetSize = inbuiltSubnetSize
|
||||||
|
}
|
||||||
redactedClusters = append(redactedClusters, newCluster)
|
redactedClusters = append(redactedClusters, newCluster)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
35
vendor/github.com/docker/swarmkit/manager/manager.go
generated
vendored
35
vendor/github.com/docker/swarmkit/manager/manager.go
generated
vendored
|
@ -20,6 +20,7 @@ import (
|
||||||
"github.com/docker/swarmkit/identity"
|
"github.com/docker/swarmkit/identity"
|
||||||
"github.com/docker/swarmkit/log"
|
"github.com/docker/swarmkit/log"
|
||||||
"github.com/docker/swarmkit/manager/allocator"
|
"github.com/docker/swarmkit/manager/allocator"
|
||||||
|
"github.com/docker/swarmkit/manager/allocator/cnmallocator"
|
||||||
"github.com/docker/swarmkit/manager/allocator/networkallocator"
|
"github.com/docker/swarmkit/manager/allocator/networkallocator"
|
||||||
"github.com/docker/swarmkit/manager/controlapi"
|
"github.com/docker/swarmkit/manager/controlapi"
|
||||||
"github.com/docker/swarmkit/manager/dispatcher"
|
"github.com/docker/swarmkit/manager/dispatcher"
|
||||||
|
@ -127,12 +128,8 @@ type Config struct {
|
||||||
// FIPS setting.
|
// FIPS setting.
|
||||||
FIPS bool
|
FIPS bool
|
||||||
|
|
||||||
// DefaultAddrPool specifies default subnet pool for global scope networks
|
// NetworkConfig stores network related config for the cluster
|
||||||
DefaultAddrPool []*net.IPNet
|
NetworkConfig *cnmallocator.NetworkConfig
|
||||||
|
|
||||||
// SubnetSize specifies the subnet size of the networks created from
|
|
||||||
// the default subnet pool
|
|
||||||
SubnetSize int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Manager is the cluster manager for Swarm.
|
// Manager is the cluster manager for Swarm.
|
||||||
|
@ -947,14 +944,10 @@ func (m *Manager) becomeLeader(ctx context.Context) {
|
||||||
nil,
|
nil,
|
||||||
0)
|
0)
|
||||||
|
|
||||||
var defaultAddrPool []string
|
|
||||||
for _, p := range m.config.DefaultAddrPool {
|
|
||||||
defaultAddrPool = append(defaultAddrPool, p.String())
|
|
||||||
}
|
|
||||||
// If defaultAddrPool is valid we update cluster object with new value
|
// If defaultAddrPool is valid we update cluster object with new value
|
||||||
if defaultAddrPool != nil {
|
if m.config.NetworkConfig != nil && m.config.NetworkConfig.DefaultAddrPool != nil {
|
||||||
clusterObj.DefaultAddressPool = defaultAddrPool
|
clusterObj.DefaultAddressPool = m.config.NetworkConfig.DefaultAddrPool
|
||||||
clusterObj.SubnetSize = uint32(m.config.SubnetSize)
|
clusterObj.SubnetSize = m.config.NetworkConfig.SubnetSize
|
||||||
}
|
}
|
||||||
|
|
||||||
err := store.CreateCluster(tx, clusterObj)
|
err := store.CreateCluster(tx, clusterObj)
|
||||||
|
@ -1003,24 +996,20 @@ func (m *Manager) becomeLeader(ctx context.Context) {
|
||||||
|
|
||||||
// If DefaultAddrPool is null, Read from store and check if
|
// If DefaultAddrPool is null, Read from store and check if
|
||||||
// DefaultAddrPool info is stored in cluster object
|
// DefaultAddrPool info is stored in cluster object
|
||||||
if m.config.DefaultAddrPool == nil {
|
if m.config.NetworkConfig == nil || m.config.NetworkConfig.DefaultAddrPool == nil {
|
||||||
var cluster *api.Cluster
|
var cluster *api.Cluster
|
||||||
s.View(func(tx store.ReadTx) {
|
s.View(func(tx store.ReadTx) {
|
||||||
cluster = store.GetCluster(tx, clusterID)
|
cluster = store.GetCluster(tx, clusterID)
|
||||||
})
|
})
|
||||||
if cluster.DefaultAddressPool != nil {
|
if cluster.DefaultAddressPool != nil {
|
||||||
for _, address := range cluster.DefaultAddressPool {
|
for _, address := range cluster.DefaultAddressPool {
|
||||||
_, b, err := net.ParseCIDR(address)
|
m.config.NetworkConfig.DefaultAddrPool = append(m.config.NetworkConfig.DefaultAddrPool, address)
|
||||||
if err != nil {
|
|
||||||
log.G(ctx).WithError(err).Error("Default Address Pool reading failed for cluster object %s", address)
|
|
||||||
}
|
|
||||||
m.config.DefaultAddrPool = append(m.config.DefaultAddrPool, b)
|
|
||||||
}
|
}
|
||||||
|
m.config.NetworkConfig.SubnetSize = cluster.SubnetSize
|
||||||
}
|
}
|
||||||
m.config.SubnetSize = int(cluster.SubnetSize)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m.allocator, err = allocator.New(s, m.config.PluginGetter, m.config.DefaultAddrPool, m.config.SubnetSize)
|
m.allocator, err = allocator.New(s, m.config.PluginGetter, m.config.NetworkConfig)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.G(ctx).WithError(err).Error("failed to create allocator")
|
log.G(ctx).WithError(err).Error("failed to create allocator")
|
||||||
// TODO(stevvooe): It doesn't seem correct here to fail
|
// TODO(stevvooe): It doesn't seem correct here to fail
|
||||||
|
@ -1144,7 +1133,7 @@ func defaultClusterObject(
|
||||||
rootCA *ca.RootCA,
|
rootCA *ca.RootCA,
|
||||||
fips bool,
|
fips bool,
|
||||||
defaultAddressPool []string,
|
defaultAddressPool []string,
|
||||||
subnetSize int) *api.Cluster {
|
subnetSize uint32) *api.Cluster {
|
||||||
var caKey []byte
|
var caKey []byte
|
||||||
if rcaSigner, err := rootCA.Signer(); err == nil {
|
if rcaSigner, err := rootCA.Signer(); err == nil {
|
||||||
caKey = rcaSigner.Key
|
caKey = rcaSigner.Key
|
||||||
|
@ -1178,7 +1167,7 @@ func defaultClusterObject(
|
||||||
UnlockKeys: initialUnlockKeys,
|
UnlockKeys: initialUnlockKeys,
|
||||||
FIPS: fips,
|
FIPS: fips,
|
||||||
DefaultAddressPool: defaultAddressPool,
|
DefaultAddressPool: defaultAddressPool,
|
||||||
SubnetSize: uint32(subnetSize),
|
SubnetSize: subnetSize,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
12
vendor/github.com/docker/swarmkit/node/node.go
generated
vendored
12
vendor/github.com/docker/swarmkit/node/node.go
generated
vendored
|
@ -28,6 +28,7 @@ import (
|
||||||
"github.com/docker/swarmkit/ioutils"
|
"github.com/docker/swarmkit/ioutils"
|
||||||
"github.com/docker/swarmkit/log"
|
"github.com/docker/swarmkit/log"
|
||||||
"github.com/docker/swarmkit/manager"
|
"github.com/docker/swarmkit/manager"
|
||||||
|
"github.com/docker/swarmkit/manager/allocator/cnmallocator"
|
||||||
"github.com/docker/swarmkit/manager/encryption"
|
"github.com/docker/swarmkit/manager/encryption"
|
||||||
"github.com/docker/swarmkit/remotes"
|
"github.com/docker/swarmkit/remotes"
|
||||||
"github.com/docker/swarmkit/xnet"
|
"github.com/docker/swarmkit/xnet"
|
||||||
|
@ -105,12 +106,8 @@ type Config struct {
|
||||||
// for connections to the remote API (including the raft service).
|
// for connections to the remote API (including the raft service).
|
||||||
AdvertiseRemoteAPI string
|
AdvertiseRemoteAPI string
|
||||||
|
|
||||||
// DefaultAddrPool specifies default subnet pool for global scope networks
|
// NetworkConfig stores network related config for the cluster
|
||||||
DefaultAddrPool []*net.IPNet
|
NetworkConfig *cnmallocator.NetworkConfig
|
||||||
|
|
||||||
// SubnetSize specifies the subnet size of the networks created from
|
|
||||||
// the default subnet pool
|
|
||||||
SubnetSize int
|
|
||||||
|
|
||||||
// Executor specifies the executor to use for the agent.
|
// Executor specifies the executor to use for the agent.
|
||||||
Executor exec.Executor
|
Executor exec.Executor
|
||||||
|
@ -1002,8 +999,7 @@ func (n *Node) runManager(ctx context.Context, securityConfig *ca.SecurityConfig
|
||||||
PluginGetter: n.config.PluginGetter,
|
PluginGetter: n.config.PluginGetter,
|
||||||
RootCAPaths: rootPaths,
|
RootCAPaths: rootPaths,
|
||||||
FIPS: n.config.FIPS,
|
FIPS: n.config.FIPS,
|
||||||
DefaultAddrPool: n.config.DefaultAddrPool,
|
NetworkConfig: n.config.NetworkConfig,
|
||||||
SubnetSize: n.config.SubnetSize,
|
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue