1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #24459 from tonistiigi/update-swarmkit

Update swarmkit to 6478bc19cf
This commit is contained in:
Sebastiaan van Stijn 2016-07-08 23:40:27 -07:00 committed by GitHub
commit 602f1c02d9
21 changed files with 1204 additions and 491 deletions

View file

@ -88,20 +88,6 @@ func (c *containerConfig) image() string {
return reference.WithDefaultTag(ref).String() return reference.WithDefaultTag(ref).String()
} }
func (c *containerConfig) volumes() map[string]struct{} {
r := make(map[string]struct{})
for _, m := range c.spec().Mounts {
// pick off all the volume mounts.
if m.Type != api.MountTypeVolume || m.Source != "" {
continue
}
r[m.Target] = struct{}{}
}
return r
}
func (c *containerConfig) config() *enginecontainer.Config { func (c *containerConfig) config() *enginecontainer.Config {
config := &enginecontainer.Config{ config := &enginecontainer.Config{
Labels: c.labels(), Labels: c.labels(),
@ -159,20 +145,48 @@ func (c *containerConfig) labels() map[string]string {
return labels return labels
} }
func (c *containerConfig) bindMounts() []string { // volumes gets placed into the Volumes field on the containerConfig.
var r []string func (c *containerConfig) volumes() map[string]struct{} {
r := make(map[string]struct{})
// Volumes *only* creates anonymous volumes. The rest is mixed in with
// binds, which aren't actually binds. Basically, any volume that
// results in a single component must be added here.
//
// This is reversed engineered from the behavior of the engine API.
for _, mount := range c.spec().Mounts {
if mount.Type == api.MountTypeVolume && mount.Source == "" {
r[mount.Target] = struct{}{}
}
}
return r
}
for _, val := range c.spec().Mounts { func (c *containerConfig) tmpfs() map[string]string {
if val.Type == api.MountTypeBind || (val.Type == api.MountTypeVolume && val.Source != "") { r := make(map[string]string)
mask := getMountMask(&val)
spec := fmt.Sprintf("%s:%s", val.Source, val.Target) for _, spec := range c.spec().Mounts {
if spec.Type != api.MountTypeTmpfs {
continue
}
r[spec.Target] = getMountMask(&spec)
}
return r
}
func (c *containerConfig) binds() []string {
var r []string
for _, mount := range c.spec().Mounts {
if mount.Type == api.MountTypeBind || (mount.Type == api.MountTypeVolume && mount.Source != "") {
spec := fmt.Sprintf("%s:%s", mount.Source, mount.Target)
mask := getMountMask(&mount)
if mask != "" { if mask != "" {
spec = fmt.Sprintf("%s:%s", spec, mask) spec = fmt.Sprintf("%s:%s", spec, mask)
} }
r = append(r, spec) r = append(r, spec)
} }
} }
return r return r
} }
@ -182,7 +196,16 @@ func getMountMask(m *api.Mount) string {
maskOpts = append(maskOpts, "ro") maskOpts = append(maskOpts, "ro")
} }
if m.BindOptions != nil { switch m.Type {
case api.MountTypeVolume:
if m.VolumeOptions != nil && m.VolumeOptions.NoCopy {
maskOpts = append(maskOpts, "nocopy")
}
case api.MountTypeBind:
if m.BindOptions == nil {
break
}
switch m.BindOptions.Propagation { switch m.BindOptions.Propagation {
case api.MountPropagationPrivate: case api.MountPropagationPrivate:
maskOpts = append(maskOpts, "private") maskOpts = append(maskOpts, "private")
@ -197,21 +220,66 @@ func getMountMask(m *api.Mount) string {
case api.MountPropagationRSlave: case api.MountPropagationRSlave:
maskOpts = append(maskOpts, "rslave") maskOpts = append(maskOpts, "rslave")
} }
} case api.MountTypeTmpfs:
if m.TmpfsOptions == nil {
break
}
if m.VolumeOptions != nil { if m.TmpfsOptions.Mode != 0 {
if m.VolumeOptions.NoCopy { maskOpts = append(maskOpts, fmt.Sprintf("mode=%o", m.TmpfsOptions.Mode))
maskOpts = append(maskOpts, "nocopy") }
if m.TmpfsOptions.SizeBytes != 0 {
// calculate suffix here, making this linux specific, but that is
// okay, since API is that way anyways.
// we do this by finding the suffix that divides evenly into the
// value, returing the value itself, with no suffix, if it fails.
//
// For the most part, we don't enforce any semantic to this values.
// The operating system will usually align this and enforce minimum
// and maximums.
var (
size = m.TmpfsOptions.SizeBytes
suffix string
)
for _, r := range []struct {
suffix string
divisor int64
}{
{"g", 1 << 30},
{"m", 1 << 20},
{"k", 1 << 10},
} {
if size%r.divisor == 0 {
size = size / r.divisor
suffix = r.suffix
break
}
}
maskOpts = append(maskOpts, fmt.Sprintf("size=%d%s", size, suffix))
} }
} }
return strings.Join(maskOpts, ",") return strings.Join(maskOpts, ",")
} }
func (c *containerConfig) hostConfig() *enginecontainer.HostConfig { func (c *containerConfig) hostConfig() *enginecontainer.HostConfig {
return &enginecontainer.HostConfig{ hc := &enginecontainer.HostConfig{
Resources: c.resources(), Resources: c.resources(),
Binds: c.bindMounts(), Binds: c.binds(),
Tmpfs: c.tmpfs(),
} }
if c.task.LogDriver != nil {
hc.LogConfig = enginecontainer.LogConfig{
Type: c.task.LogDriver.Name,
Config: c.task.LogDriver.Options,
}
}
return hc
} }
// This handles the case of volumes that are defined inside a service Mount // This handles the case of volumes that are defined inside a service Mount

View file

@ -139,7 +139,7 @@ clone git github.com/docker/docker-credential-helpers v0.3.0
clone git github.com/docker/containerd 1b3a81545ca79456086dc2aa424357be98b962ee clone git github.com/docker/containerd 1b3a81545ca79456086dc2aa424357be98b962ee
# cluster # cluster
clone git github.com/docker/swarmkit 16fa595d3b6fec012830179dc8e9b2d90335527d clone git github.com/docker/swarmkit 6478bc19cf4bc1d7ba2d6f04ccaacf099508f4a0
clone git github.com/golang/mock bd3c8e81be01eef76d4b503f5e687d2d1354d2d9 clone git github.com/golang/mock bd3c8e81be01eef76d4b503f5e687d2d1354d2d9
clone git github.com/gogo/protobuf 43a2e0b1c32252bfbbdf81f7faa7a88fb3fa4028 clone git github.com/gogo/protobuf 43a2e0b1c32252bfbbdf81f7faa7a88fb3fa4028
clone git github.com/cloudflare/cfssl b895b0549c0ff676f92cf09ba971ae02bb41367b clone git github.com/cloudflare/cfssl b895b0549c0ff676f92cf09ba971ae02bb41367b

View file

@ -3,6 +3,7 @@
package main package main
import ( import (
"fmt"
"net/http" "net/http"
"strconv" "strconv"
"strings" "strings"
@ -298,7 +299,36 @@ func (s *DockerSwarmSuite) TestApiSwarmPromoteDemote(c *check.C) {
time.Sleep(100 * time.Millisecond) time.Sleep(100 * time.Millisecond)
} }
// todo: test raft qourum stability // Demoting last node should fail
node := d1.getNode(c, d1.NodeID)
node.Spec.Role = swarm.NodeRoleWorker
url := fmt.Sprintf("/nodes/%s/update?version=%d", node.ID, node.Version.Index)
status, out, err := d1.SockRequest("POST", url, node.Spec)
c.Assert(err, checker.IsNil)
c.Assert(status, checker.Equals, http.StatusInternalServerError, check.Commentf("output: %q", string(out)))
c.Assert(string(out), checker.Contains, "last manager of the swarm")
info, err = d1.info()
c.Assert(err, checker.IsNil)
c.Assert(info.LocalNodeState, checker.Equals, swarm.LocalNodeStateActive)
c.Assert(info.ControlAvailable, checker.Equals, true)
// Promote already demoted node
d1.updateNode(c, d2.NodeID, func(n *swarm.Node) {
n.Spec.Role = swarm.NodeRoleManager
})
for i := 0; ; i++ {
info, err := d2.info()
c.Assert(err, checker.IsNil)
c.Assert(info.LocalNodeState, checker.Equals, swarm.LocalNodeStateActive)
if info.ControlAvailable {
break
}
if i > 100 {
c.Errorf("node did not turn into manager")
}
time.Sleep(100 * time.Millisecond)
}
} }
func (s *DockerSwarmSuite) TestApiSwarmServicesCreate(c *check.C) { func (s *DockerSwarmSuite) TestApiSwarmServicesCreate(c *check.C) {

View file

@ -197,6 +197,11 @@ func (a *Agent) run(ctx context.Context) {
sessionq = nil sessionq = nil
// if we're here before <-registered, do nothing for that event // if we're here before <-registered, do nothing for that event
registered = nil registered = nil
// Bounce the connection.
if a.config.Picker != nil {
a.config.Picker.Reset()
}
case <-session.closed: case <-session.closed:
log.G(ctx).Debugf("agent: rebuild session") log.G(ctx).Debugf("agent: rebuild session")

View file

@ -19,9 +19,15 @@ type Config struct {
// updated with managers weights as observed by the agent. // updated with managers weights as observed by the agent.
Managers picker.Remotes Managers picker.Remotes
// Conn specifies the client connection Agent will use // Conn specifies the client connection Agent will use.
Conn *grpc.ClientConn Conn *grpc.ClientConn
// Picker is the picker used by Conn.
// TODO(aaronl): This is only part of the config to allow resetting the
// GRPC connection. This should be refactored to address the coupling
// between Conn and Picker.
Picker *picker.Picker
// Executor specifies the executor to use for the agent. // Executor specifies the executor to use for the agent.
Executor exec.Executor Executor exec.Executor

View file

@ -375,8 +375,9 @@ func (n *Node) runAgent(ctx context.Context, db *bolt.DB, creds credentials.Tran
if ctx.Err() != nil { if ctx.Err() != nil {
return ctx.Err() return ctx.Err()
} }
picker := picker.NewPicker(n.remotes, manager.Addr)
conn, err := grpc.Dial(manager.Addr, conn, err := grpc.Dial(manager.Addr,
grpc.WithPicker(picker.NewPicker(n.remotes, manager.Addr)), grpc.WithPicker(picker),
grpc.WithTransportCredentials(creds), grpc.WithTransportCredentials(creds),
grpc.WithBackoffMaxDelay(maxSessionFailureBackoff)) grpc.WithBackoffMaxDelay(maxSessionFailureBackoff))
if err != nil { if err != nil {
@ -389,6 +390,7 @@ func (n *Node) runAgent(ctx context.Context, db *bolt.DB, creds credentials.Tran
Executor: n.config.Executor, Executor: n.config.Executor,
DB: db, DB: db,
Conn: conn, Conn: conn,
Picker: picker,
NotifyRoleChange: n.roleChangeReq, NotifyRoleChange: n.roleChangeReq,
}) })
if err != nil { if err != nil {

View file

@ -12,6 +12,8 @@ import (
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"
) )
const dispatcherRPCTimeout = 5 * time.Second
var ( var (
errSessionDisconnect = errors.New("agent: session disconnect") // instructed to disconnect errSessionDisconnect = errors.New("agent: session disconnect") // instructed to disconnect
errSessionClosed = errors.New("agent: session closed") errSessionClosed = errors.New("agent: session closed")
@ -88,16 +90,39 @@ func (s *session) start(ctx context.Context) error {
description.Hostname = s.agent.config.Hostname description.Hostname = s.agent.config.Hostname
} }
stream, err := client.Session(ctx, &api.SessionRequest{ errChan := make(chan error, 1)
Description: description, var (
}) msg *api.SessionMessage
if err != nil { stream api.Dispatcher_SessionClient
return err )
} // Note: we don't defer cancellation of this context, because the
// streaming RPC is used after this function returned. We only cancel
// it in the timeout case to make sure the goroutine completes.
sessionCtx, cancelSession := context.WithCancel(ctx)
msg, err := stream.Recv() // Need to run Session in a goroutine since there's no way to set a
if err != nil { // timeout for an individual Recv call in a stream.
return err go func() {
stream, err = client.Session(sessionCtx, &api.SessionRequest{
Description: description,
})
if err != nil {
errChan <- err
return
}
msg, err = stream.Recv()
errChan <- err
}()
select {
case err := <-errChan:
if err != nil {
return err
}
case <-time.After(dispatcherRPCTimeout):
cancelSession()
return errors.New("session initiation timed out")
} }
s.sessionID = msg.SessionID s.sessionID = msg.SessionID
@ -115,9 +140,11 @@ func (s *session) heartbeat(ctx context.Context) error {
for { for {
select { select {
case <-heartbeat.C: case <-heartbeat.C:
resp, err := client.Heartbeat(ctx, &api.HeartbeatRequest{ heartbeatCtx, cancel := context.WithTimeout(ctx, dispatcherRPCTimeout)
resp, err := client.Heartbeat(heartbeatCtx, &api.HeartbeatRequest{
SessionID: s.sessionID, SessionID: s.sessionID,
}) })
cancel()
if err != nil { if err != nil {
if grpc.Code(err) == codes.NotFound { if grpc.Code(err) == codes.NotFound {
err = errNodeNotRegistered err = errNodeNotRegistered

View file

@ -159,6 +159,15 @@ type Task struct {
// A copy of runtime state of service endpoint from Service // A copy of runtime state of service endpoint from Service
// object to be distributed to agents as part of the task. // object to be distributed to agents as part of the task.
Endpoint *Endpoint `protobuf:"bytes,12,opt,name=endpoint" json:"endpoint,omitempty"` Endpoint *Endpoint `protobuf:"bytes,12,opt,name=endpoint" json:"endpoint,omitempty"`
// LogDriver specifies the selected log driver to use for the task. Agent
// processes should always favor the value in this field.
//
// If present in the TaskSpec, this will be a copy of that value. The
// orchestrator may choose to insert a value here, which should be honored,
// such a cluster default or policy-based value.
//
// If not present, the daemon's default will be used.
LogDriver *Driver `protobuf:"bytes,13,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"`
} }
func (m *Task) Reset() { *m = Task{} } func (m *Task) Reset() { *m = Task{} }
@ -334,6 +343,7 @@ func (m *Task) Copy() *Task {
Status: *m.Status.Copy(), Status: *m.Status.Copy(),
DesiredState: m.DesiredState, DesiredState: m.DesiredState,
Endpoint: m.Endpoint.Copy(), Endpoint: m.Endpoint.Copy(),
LogDriver: m.LogDriver.Copy(),
} }
if m.Networks != nil { if m.Networks != nil {
@ -498,7 +508,7 @@ func (this *Task) GoString() string {
if this == nil { if this == nil {
return "nil" return "nil"
} }
s := make([]string, 0, 16) s := make([]string, 0, 17)
s = append(s, "&api.Task{") s = append(s, "&api.Task{")
s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n") s = append(s, "ID: "+fmt.Sprintf("%#v", this.ID)+",\n")
s = append(s, "Meta: "+strings.Replace(this.Meta.GoString(), `&`, ``, 1)+",\n") s = append(s, "Meta: "+strings.Replace(this.Meta.GoString(), `&`, ``, 1)+",\n")
@ -516,6 +526,9 @@ func (this *Task) GoString() string {
if this.Endpoint != nil { if this.Endpoint != nil {
s = append(s, "Endpoint: "+fmt.Sprintf("%#v", this.Endpoint)+",\n") s = append(s, "Endpoint: "+fmt.Sprintf("%#v", this.Endpoint)+",\n")
} }
if this.LogDriver != nil {
s = append(s, "LogDriver: "+fmt.Sprintf("%#v", this.LogDriver)+",\n")
}
s = append(s, "}") s = append(s, "}")
return strings.Join(s, "") return strings.Join(s, "")
} }
@ -962,6 +975,16 @@ func (m *Task) MarshalTo(data []byte) (int, error) {
} }
i += n20 i += n20
} }
if m.LogDriver != nil {
data[i] = 0x6a
i++
i = encodeVarintObjects(data, i, uint64(m.LogDriver.Size()))
n21, err := m.LogDriver.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n21
}
return i, nil return i, nil
} }
@ -984,11 +1007,11 @@ func (m *NetworkAttachment) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintObjects(data, i, uint64(m.Network.Size())) i = encodeVarintObjects(data, i, uint64(m.Network.Size()))
n21, err := m.Network.MarshalTo(data[i:]) n22, err := m.Network.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n21 i += n22
} }
if len(m.Addresses) > 0 { if len(m.Addresses) > 0 {
for _, s := range m.Addresses { for _, s := range m.Addresses {
@ -1047,38 +1070,38 @@ func (m *Network) MarshalTo(data []byte) (int, error) {
data[i] = 0x12 data[i] = 0x12
i++ i++
i = encodeVarintObjects(data, i, uint64(m.Meta.Size())) i = encodeVarintObjects(data, i, uint64(m.Meta.Size()))
n22, err := m.Meta.MarshalTo(data[i:]) n23, err := m.Meta.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n22
data[i] = 0x1a
i++
i = encodeVarintObjects(data, i, uint64(m.Spec.Size()))
n23, err := m.Spec.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n23 i += n23
data[i] = 0x1a
i++
i = encodeVarintObjects(data, i, uint64(m.Spec.Size()))
n24, err := m.Spec.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n24
if m.DriverState != nil { if m.DriverState != nil {
data[i] = 0x22 data[i] = 0x22
i++ i++
i = encodeVarintObjects(data, i, uint64(m.DriverState.Size())) i = encodeVarintObjects(data, i, uint64(m.DriverState.Size()))
n24, err := m.DriverState.MarshalTo(data[i:]) n25, err := m.DriverState.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n24 i += n25
} }
if m.IPAM != nil { if m.IPAM != nil {
data[i] = 0x2a data[i] = 0x2a
i++ i++
i = encodeVarintObjects(data, i, uint64(m.IPAM.Size())) i = encodeVarintObjects(data, i, uint64(m.IPAM.Size()))
n25, err := m.IPAM.MarshalTo(data[i:]) n26, err := m.IPAM.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n25 i += n26
} }
return i, nil return i, nil
} }
@ -1107,27 +1130,27 @@ func (m *Cluster) MarshalTo(data []byte) (int, error) {
data[i] = 0x12 data[i] = 0x12
i++ i++
i = encodeVarintObjects(data, i, uint64(m.Meta.Size())) i = encodeVarintObjects(data, i, uint64(m.Meta.Size()))
n26, err := m.Meta.MarshalTo(data[i:]) n27, err := m.Meta.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n26
data[i] = 0x1a
i++
i = encodeVarintObjects(data, i, uint64(m.Spec.Size()))
n27, err := m.Spec.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n27 i += n27
data[i] = 0x22 data[i] = 0x1a
i++ i++
i = encodeVarintObjects(data, i, uint64(m.RootCA.Size())) i = encodeVarintObjects(data, i, uint64(m.Spec.Size()))
n28, err := m.RootCA.MarshalTo(data[i:]) n28, err := m.Spec.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n28 i += n28
data[i] = 0x22
i++
i = encodeVarintObjects(data, i, uint64(m.RootCA.Size()))
n29, err := m.RootCA.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n29
if len(m.NetworkBootstrapKeys) > 0 { if len(m.NetworkBootstrapKeys) > 0 {
for _, msg := range m.NetworkBootstrapKeys { for _, msg := range m.NetworkBootstrapKeys {
data[i] = 0x2a data[i] = 0x2a
@ -1317,6 +1340,10 @@ func (m *Task) Size() (n int) {
l = m.Endpoint.Size() l = m.Endpoint.Size()
n += 1 + l + sovObjects(uint64(l)) n += 1 + l + sovObjects(uint64(l))
} }
if m.LogDriver != nil {
l = m.LogDriver.Size()
n += 1 + l + sovObjects(uint64(l))
}
return n return n
} }
@ -1484,6 +1511,7 @@ func (this *Task) String() string {
`DesiredState:` + fmt.Sprintf("%v", this.DesiredState) + `,`, `DesiredState:` + fmt.Sprintf("%v", this.DesiredState) + `,`,
`Networks:` + strings.Replace(fmt.Sprintf("%v", this.Networks), "NetworkAttachment", "NetworkAttachment", 1) + `,`, `Networks:` + strings.Replace(fmt.Sprintf("%v", this.Networks), "NetworkAttachment", "NetworkAttachment", 1) + `,`,
`Endpoint:` + strings.Replace(fmt.Sprintf("%v", this.Endpoint), "Endpoint", "Endpoint", 1) + `,`, `Endpoint:` + strings.Replace(fmt.Sprintf("%v", this.Endpoint), "Endpoint", "Endpoint", 1) + `,`,
`LogDriver:` + strings.Replace(fmt.Sprintf("%v", this.LogDriver), "Driver", "Driver", 1) + `,`,
`}`, `}`,
}, "") }, "")
return s return s
@ -2774,6 +2802,39 @@ func (m *Task) Unmarshal(data []byte) error {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
case 13:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LogDriver", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowObjects
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthObjects
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.LogDriver == nil {
m.LogDriver = &Driver{}
}
if err := m.LogDriver.Unmarshal(data[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipObjects(data[iNdEx:]) skippy, err := skipObjects(data[iNdEx:])
@ -3466,66 +3527,67 @@ var (
) )
var fileDescriptorObjects = []byte{ var fileDescriptorObjects = []byte{
// 965 bytes of a gzipped FileDescriptorProto // 981 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xbc, 0x56, 0x4f, 0x6f, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xbc, 0x56, 0x4f, 0x6f, 0x1b, 0x45,
0x14, 0xaf, 0xed, 0xad, 0xed, 0x7d, 0x4e, 0x22, 0x31, 0x54, 0xd5, 0x36, 0x84, 0xa4, 0xb8, 0x02, 0x14, 0xaf, 0xed, 0x8d, 0xed, 0x7d, 0x8e, 0x23, 0x31, 0x54, 0xd5, 0x36, 0x84, 0xa4, 0xb8, 0x02,
0x71, 0x40, 0xae, 0x28, 0x05, 0x81, 0xa0, 0x42, 0xb6, 0x13, 0x81, 0x05, 0x81, 0x68, 0x5a, 0x85, 0x71, 0x40, 0xae, 0x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, 0x00, 0x00, 0x85, 0xdf, 0x49, 0xd3, 0xbc, 0x4b, 0x3f, 0xf8, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x27, 0xf6,
0x9e, 0x07, 0x0b, 0x00, 0x00,
} }

View file

@ -155,6 +155,16 @@ message Task {
// A copy of runtime state of service endpoint from Service // A copy of runtime state of service endpoint from Service
// object to be distributed to agents as part of the task. // object to be distributed to agents as part of the task.
Endpoint endpoint = 12; Endpoint endpoint = 12;
// LogDriver specifies the selected log driver to use for the task. Agent
// processes should always favor the value in this field.
//
// If present in the TaskSpec, this will be a copy of that value. The
// orchestrator may choose to insert a value here, which should be honored,
// such a cluster default or policy-based value.
//
// If not present, the daemon's default will be used.
Driver log_driver = 13;
} }
// NetworkAttachment specifies the network parameters of attachment to // NetworkAttachment specifies the network parameters of attachment to

View file

@ -308,6 +308,9 @@ type TaskSpec struct {
Restart *RestartPolicy `protobuf:"bytes,4,opt,name=restart" json:"restart,omitempty"` Restart *RestartPolicy `protobuf:"bytes,4,opt,name=restart" json:"restart,omitempty"`
// Placement specifies node selection constraints // Placement specifies node selection constraints
Placement *Placement `protobuf:"bytes,5,opt,name=placement" json:"placement,omitempty"` Placement *Placement `protobuf:"bytes,5,opt,name=placement" json:"placement,omitempty"`
// LogDriver specifies the log driver to use for the task. Any runtime will
// direct logs into the specified driver for the duration of the task.
LogDriver *Driver `protobuf:"bytes,6,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"`
} }
func (m *TaskSpec) Reset() { *m = TaskSpec{} } func (m *TaskSpec) Reset() { *m = TaskSpec{} }
@ -500,6 +503,12 @@ type ClusterSpec struct {
Dispatcher DispatcherConfig `protobuf:"bytes,5,opt,name=dispatcher" json:"dispatcher"` Dispatcher DispatcherConfig `protobuf:"bytes,5,opt,name=dispatcher" json:"dispatcher"`
// CAConfig defines cluster-level certificate authority settings. // CAConfig defines cluster-level certificate authority settings.
CAConfig CAConfig `protobuf:"bytes,6,opt,name=ca_config,json=caConfig" json:"ca_config"` CAConfig CAConfig `protobuf:"bytes,6,opt,name=ca_config,json=caConfig" json:"ca_config"`
// DefaultLogDriver specifies the log driver to use for the cluster if not
// specified for each task.
//
// If this is changed, only new tasks will pick up the new log driver.
// Existing tasks will continue to use the previous default until rescheduled.
DefaultLogDriver *Driver `protobuf:"bytes,7,opt,name=default_log_driver,json=defaultLogDriver" json:"default_log_driver,omitempty"`
} }
func (m *ClusterSpec) Reset() { *m = ClusterSpec{} } func (m *ClusterSpec) Reset() { *m = ClusterSpec{} }
@ -625,6 +634,7 @@ func (m *TaskSpec) Copy() *TaskSpec {
Resources: m.Resources.Copy(), Resources: m.Resources.Copy(),
Restart: m.Restart.Copy(), Restart: m.Restart.Copy(),
Placement: m.Placement.Copy(), Placement: m.Placement.Copy(),
LogDriver: m.LogDriver.Copy(),
} }
switch m.Runtime.(type) { switch m.Runtime.(type) {
@ -749,6 +759,7 @@ func (m *ClusterSpec) Copy() *ClusterSpec {
Raft: *m.Raft.Copy(), Raft: *m.Raft.Copy(),
Dispatcher: *m.Dispatcher.Copy(), Dispatcher: *m.Dispatcher.Copy(),
CAConfig: *m.CAConfig.Copy(), CAConfig: *m.CAConfig.Copy(),
DefaultLogDriver: m.DefaultLogDriver.Copy(),
} }
return o return o
@ -840,7 +851,7 @@ func (this *TaskSpec) GoString() string {
if this == nil { if this == nil {
return "nil" return "nil"
} }
s := make([]string, 0, 8) s := make([]string, 0, 9)
s = append(s, "&api.TaskSpec{") s = append(s, "&api.TaskSpec{")
if this.Runtime != nil { if this.Runtime != nil {
s = append(s, "Runtime: "+fmt.Sprintf("%#v", this.Runtime)+",\n") s = append(s, "Runtime: "+fmt.Sprintf("%#v", this.Runtime)+",\n")
@ -854,6 +865,9 @@ func (this *TaskSpec) GoString() string {
if this.Placement != nil { if this.Placement != nil {
s = append(s, "Placement: "+fmt.Sprintf("%#v", this.Placement)+",\n") s = append(s, "Placement: "+fmt.Sprintf("%#v", this.Placement)+",\n")
} }
if this.LogDriver != nil {
s = append(s, "LogDriver: "+fmt.Sprintf("%#v", this.LogDriver)+",\n")
}
s = append(s, "}") s = append(s, "}")
return strings.Join(s, "") return strings.Join(s, "")
} }
@ -947,7 +961,7 @@ func (this *ClusterSpec) GoString() string {
if this == nil { if this == nil {
return "nil" return "nil"
} }
s := make([]string, 0, 10) s := make([]string, 0, 11)
s = append(s, "&api.ClusterSpec{") s = append(s, "&api.ClusterSpec{")
s = append(s, "Annotations: "+strings.Replace(this.Annotations.GoString(), `&`, ``, 1)+",\n") s = append(s, "Annotations: "+strings.Replace(this.Annotations.GoString(), `&`, ``, 1)+",\n")
s = append(s, "AcceptancePolicy: "+strings.Replace(this.AcceptancePolicy.GoString(), `&`, ``, 1)+",\n") s = append(s, "AcceptancePolicy: "+strings.Replace(this.AcceptancePolicy.GoString(), `&`, ``, 1)+",\n")
@ -955,6 +969,9 @@ func (this *ClusterSpec) GoString() string {
s = append(s, "Raft: "+strings.Replace(this.Raft.GoString(), `&`, ``, 1)+",\n") s = append(s, "Raft: "+strings.Replace(this.Raft.GoString(), `&`, ``, 1)+",\n")
s = append(s, "Dispatcher: "+strings.Replace(this.Dispatcher.GoString(), `&`, ``, 1)+",\n") s = append(s, "Dispatcher: "+strings.Replace(this.Dispatcher.GoString(), `&`, ``, 1)+",\n")
s = append(s, "CAConfig: "+strings.Replace(this.CAConfig.GoString(), `&`, ``, 1)+",\n") s = append(s, "CAConfig: "+strings.Replace(this.CAConfig.GoString(), `&`, ``, 1)+",\n")
if this.DefaultLogDriver != nil {
s = append(s, "DefaultLogDriver: "+fmt.Sprintf("%#v", this.DefaultLogDriver)+",\n")
}
s = append(s, "}") s = append(s, "}")
return strings.Join(s, "") return strings.Join(s, "")
} }
@ -1257,6 +1274,16 @@ func (m *TaskSpec) MarshalTo(data []byte) (int, error) {
} }
i += n12 i += n12
} }
if m.LogDriver != nil {
data[i] = 0x32
i++
i = encodeVarintSpecs(data, i, uint64(m.LogDriver.Size()))
n13, err := m.LogDriver.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n13
}
return i, nil return i, nil
} }
@ -1266,11 +1293,11 @@ func (m *TaskSpec_Container) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.Container.Size())) i = encodeVarintSpecs(data, i, uint64(m.Container.Size()))
n13, err := m.Container.MarshalTo(data[i:]) n14, err := m.Container.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n13 i += n14
} }
return i, nil return i, nil
} }
@ -1385,21 +1412,21 @@ func (m *ContainerSpec) MarshalTo(data []byte) (int, error) {
data[i] = 0x4a data[i] = 0x4a
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.StopGracePeriod.Size())) i = encodeVarintSpecs(data, i, uint64(m.StopGracePeriod.Size()))
n14, err := m.StopGracePeriod.MarshalTo(data[i:]) n15, err := m.StopGracePeriod.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n14 i += n15
} }
if m.PullOptions != nil { if m.PullOptions != nil {
data[i] = 0x52 data[i] = 0x52
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.PullOptions.Size())) i = encodeVarintSpecs(data, i, uint64(m.PullOptions.Size()))
n15, err := m.PullOptions.MarshalTo(data[i:]) n16, err := m.PullOptions.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n15 i += n16
} }
return i, nil return i, nil
} }
@ -1483,20 +1510,20 @@ func (m *NetworkSpec) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.Annotations.Size())) i = encodeVarintSpecs(data, i, uint64(m.Annotations.Size()))
n16, err := m.Annotations.MarshalTo(data[i:]) n17, err := m.Annotations.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n16 i += n17
if m.DriverConfig != nil { if m.DriverConfig != nil {
data[i] = 0x12 data[i] = 0x12
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.DriverConfig.Size())) i = encodeVarintSpecs(data, i, uint64(m.DriverConfig.Size()))
n17, err := m.DriverConfig.MarshalTo(data[i:]) n18, err := m.DriverConfig.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n17 i += n18
} }
if m.Ipv6Enabled { if m.Ipv6Enabled {
data[i] = 0x18 data[i] = 0x18
@ -1522,11 +1549,11 @@ func (m *NetworkSpec) MarshalTo(data []byte) (int, error) {
data[i] = 0x2a data[i] = 0x2a
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.IPAM.Size())) i = encodeVarintSpecs(data, i, uint64(m.IPAM.Size()))
n18, err := m.IPAM.MarshalTo(data[i:]) n19, err := m.IPAM.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n18 i += n19
} }
return i, nil return i, nil
} }
@ -1549,51 +1576,61 @@ func (m *ClusterSpec) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.Annotations.Size())) i = encodeVarintSpecs(data, i, uint64(m.Annotations.Size()))
n19, err := m.Annotations.MarshalTo(data[i:]) n20, err := m.Annotations.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n19
data[i] = 0x12
i++
i = encodeVarintSpecs(data, i, uint64(m.AcceptancePolicy.Size()))
n20, err := m.AcceptancePolicy.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n20 i += n20
data[i] = 0x1a data[i] = 0x12
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.Orchestration.Size())) i = encodeVarintSpecs(data, i, uint64(m.AcceptancePolicy.Size()))
n21, err := m.Orchestration.MarshalTo(data[i:]) n21, err := m.AcceptancePolicy.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n21 i += n21
data[i] = 0x22 data[i] = 0x1a
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.Raft.Size())) i = encodeVarintSpecs(data, i, uint64(m.Orchestration.Size()))
n22, err := m.Raft.MarshalTo(data[i:]) n22, err := m.Orchestration.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n22 i += n22
data[i] = 0x2a data[i] = 0x22
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.Dispatcher.Size())) i = encodeVarintSpecs(data, i, uint64(m.Raft.Size()))
n23, err := m.Dispatcher.MarshalTo(data[i:]) n23, err := m.Raft.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n23 i += n23
data[i] = 0x32 data[i] = 0x2a
i++ i++
i = encodeVarintSpecs(data, i, uint64(m.CAConfig.Size())) i = encodeVarintSpecs(data, i, uint64(m.Dispatcher.Size()))
n24, err := m.CAConfig.MarshalTo(data[i:]) n24, err := m.Dispatcher.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n24 i += n24
data[i] = 0x32
i++
i = encodeVarintSpecs(data, i, uint64(m.CAConfig.Size()))
n25, err := m.CAConfig.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n25
if m.DefaultLogDriver != nil {
data[i] = 0x3a
i++
i = encodeVarintSpecs(data, i, uint64(m.DefaultLogDriver.Size()))
n26, err := m.DefaultLogDriver.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n26
}
return i, nil return i, nil
} }
@ -1736,6 +1773,10 @@ func (m *TaskSpec) Size() (n int) {
l = m.Placement.Size() l = m.Placement.Size()
n += 1 + l + sovSpecs(uint64(l)) n += 1 + l + sovSpecs(uint64(l))
} }
if m.LogDriver != nil {
l = m.LogDriver.Size()
n += 1 + l + sovSpecs(uint64(l))
}
return n return n
} }
@ -1868,6 +1909,10 @@ func (m *ClusterSpec) Size() (n int) {
n += 1 + l + sovSpecs(uint64(l)) n += 1 + l + sovSpecs(uint64(l))
l = m.CAConfig.Size() l = m.CAConfig.Size()
n += 1 + l + sovSpecs(uint64(l)) n += 1 + l + sovSpecs(uint64(l))
if m.DefaultLogDriver != nil {
l = m.DefaultLogDriver.Size()
n += 1 + l + sovSpecs(uint64(l))
}
return n return n
} }
@ -1971,6 +2016,7 @@ func (this *TaskSpec) String() string {
`Resources:` + strings.Replace(fmt.Sprintf("%v", this.Resources), "ResourceRequirements", "ResourceRequirements", 1) + `,`, `Resources:` + strings.Replace(fmt.Sprintf("%v", this.Resources), "ResourceRequirements", "ResourceRequirements", 1) + `,`,
`Restart:` + strings.Replace(fmt.Sprintf("%v", this.Restart), "RestartPolicy", "RestartPolicy", 1) + `,`, `Restart:` + strings.Replace(fmt.Sprintf("%v", this.Restart), "RestartPolicy", "RestartPolicy", 1) + `,`,
`Placement:` + strings.Replace(fmt.Sprintf("%v", this.Placement), "Placement", "Placement", 1) + `,`, `Placement:` + strings.Replace(fmt.Sprintf("%v", this.Placement), "Placement", "Placement", 1) + `,`,
`LogDriver:` + strings.Replace(fmt.Sprintf("%v", this.LogDriver), "Driver", "Driver", 1) + `,`,
`}`, `}`,
}, "") }, "")
return s return s
@ -2060,6 +2106,7 @@ func (this *ClusterSpec) String() string {
`Raft:` + strings.Replace(strings.Replace(this.Raft.String(), "RaftConfig", "RaftConfig", 1), `&`, ``, 1) + `,`, `Raft:` + strings.Replace(strings.Replace(this.Raft.String(), "RaftConfig", "RaftConfig", 1), `&`, ``, 1) + `,`,
`Dispatcher:` + strings.Replace(strings.Replace(this.Dispatcher.String(), "DispatcherConfig", "DispatcherConfig", 1), `&`, ``, 1) + `,`, `Dispatcher:` + strings.Replace(strings.Replace(this.Dispatcher.String(), "DispatcherConfig", "DispatcherConfig", 1), `&`, ``, 1) + `,`,
`CAConfig:` + strings.Replace(strings.Replace(this.CAConfig.String(), "CAConfig", "CAConfig", 1), `&`, ``, 1) + `,`, `CAConfig:` + strings.Replace(strings.Replace(this.CAConfig.String(), "CAConfig", "CAConfig", 1), `&`, ``, 1) + `,`,
`DefaultLogDriver:` + strings.Replace(fmt.Sprintf("%v", this.DefaultLogDriver), "Driver", "Driver", 1) + `,`,
`}`, `}`,
}, "") }, "")
return s return s
@ -2867,6 +2914,39 @@ func (m *TaskSpec) Unmarshal(data []byte) error {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
case 6:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field LogDriver", 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.LogDriver == nil {
m.LogDriver = &Driver{}
}
if err := m.LogDriver.Unmarshal(data[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipSpecs(data[iNdEx:]) skippy, err := skipSpecs(data[iNdEx:])
@ -3894,6 +3974,39 @@ func (m *ClusterSpec) Unmarshal(data []byte) error {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field DefaultLogDriver", 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.DefaultLogDriver == nil {
m.DefaultLogDriver = &Driver{}
}
if err := m.DefaultLogDriver.Unmarshal(data[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipSpecs(data[iNdEx:]) skippy, err := skipSpecs(data[iNdEx:])
@ -4021,85 +4134,88 @@ var (
) )
var fileDescriptorSpecs = []byte{ var fileDescriptorSpecs = []byte{
// 1279 bytes of a gzipped FileDescriptorProto // 1320 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x72, 0x1b, 0xc5, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x57, 0xcd, 0x72, 0x1b, 0x45,
0x13, 0xb6, 0xec, 0xb5, 0x2c, 0xf7, 0xda, 0x89, 0x33, 0x95, 0x5f, 0xa2, 0x28, 0xf9, 0xd9, 0x8e, 0x17, 0xf5, 0xcf, 0x58, 0x96, 0xee, 0xd8, 0x89, 0xd2, 0x95, 0x2f, 0x51, 0x94, 0x7c, 0xb6, 0x23,
0x08, 0x10, 0xa8, 0x42, 0x06, 0x41, 0x25, 0xe1, 0x5f, 0xc1, 0x5a, 0x16, 0x8e, 0x09, 0x76, 0xb6, 0x02, 0x04, 0xaa, 0x90, 0x41, 0x50, 0xf9, 0xe1, 0xa7, 0x40, 0x96, 0x84, 0x63, 0x12, 0x3b, 0x53,
0xc6, 0x49, 0x38, 0xba, 0x46, 0xab, 0x89, 0xbc, 0xe5, 0xd5, 0xce, 0x32, 0x3b, 0x52, 0xca, 0x37, 0xed, 0x24, 0x2c, 0x55, 0xed, 0x99, 0x8e, 0x3c, 0xe5, 0xd1, 0xcc, 0xd0, 0xd3, 0xa3, 0x94, 0x77,
0x8e, 0x29, 0x0e, 0xdc, 0xe0, 0x40, 0x15, 0x27, 0xde, 0x81, 0x67, 0xc8, 0x91, 0x1b, 0x9c, 0x52, 0x2c, 0x53, 0x2c, 0xd8, 0xc1, 0x8e, 0x05, 0xc5, 0x3b, 0xf0, 0x0c, 0x59, 0xb2, 0xa1, 0x8a, 0x55,
0x24, 0x4f, 0x40, 0x15, 0x2f, 0x40, 0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b5, 0xb9, 0x3f, 0xf0, 0xf9, 0xeb, 0xd9, 0xda, 0xfc, 0xb7, 0xcf, 0xd7, 0xe6, 0x9f, 0xe0, 0xf3,
0x1b, 0x3e, 0x7f, 0xe2, 0x73, 0x50, 0xd2, 0xff, 0x29, 0x3e, 0xfc, 0x27, 0x00, 0x00, 0xff, 0xff,
0xde, 0xdd, 0x4d, 0x58, 0xb2, 0x0c, 0x00, 0x00,
} }

View file

@ -114,6 +114,10 @@ message TaskSpec {
// Placement specifies node selection constraints // Placement specifies node selection constraints
Placement placement = 5; Placement placement = 5;
// LogDriver specifies the log driver to use for the task. Any runtime will
// direct logs into the specified driver for the duration of the task.
Driver log_driver = 6;
} }
// Container specifies runtime parameters for a container. // Container specifies runtime parameters for a container.
@ -243,4 +247,11 @@ message ClusterSpec {
// CAConfig defines cluster-level certificate authority settings. // CAConfig defines cluster-level certificate authority settings.
CAConfig ca_config = 6 [(gogoproto.nullable) = false, (gogoproto.customname) = "CAConfig"]; CAConfig ca_config = 6 [(gogoproto.nullable) = false, (gogoproto.customname) = "CAConfig"];
// DefaultLogDriver specifies the log driver to use for the cluster if not
// specified for each task.
//
// If this is changed, only new tasks will pick up the new log driver.
// Existing tasks will continue to use the previous default until rescheduled.
Driver default_log_driver = 7;
} }

View file

@ -146,6 +146,8 @@ import docker_swarmkit_v1 "github.com/docker/swarmkit/api/timestamp"
import docker_swarmkit_v11 "github.com/docker/swarmkit/api/duration" import docker_swarmkit_v11 "github.com/docker/swarmkit/api/duration"
import _ "github.com/gogo/protobuf/gogoproto" import _ "github.com/gogo/protobuf/gogoproto"
import os "os"
import strings "strings" import strings "strings"
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
import sort "sort" import sort "sort"
@ -310,15 +312,18 @@ type Mount_MountType int32
const ( const (
MountTypeBind Mount_MountType = 0 MountTypeBind Mount_MountType = 0
MountTypeVolume Mount_MountType = 1 MountTypeVolume Mount_MountType = 1
MountTypeTmpfs Mount_MountType = 2
) )
var Mount_MountType_name = map[int32]string{ var Mount_MountType_name = map[int32]string{
0: "BIND", 0: "BIND",
1: "VOLUME", 1: "VOLUME",
2: "TMPFS",
} }
var Mount_MountType_value = map[string]int32{ var Mount_MountType_value = map[string]int32{
"BIND": 0, "BIND": 0,
"VOLUME": 1, "VOLUME": 1,
"TMPFS": 2,
} }
func (x Mount_MountType) String() string { func (x Mount_MountType) String() string {
@ -640,16 +645,26 @@ func (*Image) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1
type Mount struct { type Mount struct {
// Type defines the nature of the mount. // Type defines the nature of the mount.
Type Mount_MountType `protobuf:"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.Mount_MountType" json:"type,omitempty"` Type Mount_MountType `protobuf:"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.Mount_MountType" json:"type,omitempty"`
// Source path to mount // Source specifies the name of the mount. Depending on mount type, this
// may be a volume name or a host path, or even ignored.
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// Target path in container // Target path in container
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// ReadOnly should be set to true if the mount should not be writable. // ReadOnly should be set to true if the mount should not be writable.
ReadOnly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"` ReadOnly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
// BindOptions configures properties of a bind mount type. // BindOptions configures properties of a bind mount type.
//
// For mounts of type bind, the source must be an absolute host path.
BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions" json:"bind_options,omitempty"` BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions" json:"bind_options,omitempty"`
// VolumeOptions configures the properties specific to a volume mount type. // VolumeOptions configures the properties specific to a volume mount type.
//
// For mounts of type volume, the source will be used as the volume name.
VolumeOptions *Mount_VolumeOptions `protobuf:"bytes,6,opt,name=volume_options,json=volumeOptions" json:"volume_options,omitempty"` VolumeOptions *Mount_VolumeOptions `protobuf:"bytes,6,opt,name=volume_options,json=volumeOptions" json:"volume_options,omitempty"`
// TmpfsOptions allows one to set options for mounting a temporary
// filesystem.
//
// The source field will be ignored when using mounts of type tmpfs.
TmpfsOptions *Mount_TmpfsOptions `protobuf:"bytes,7,opt,name=tmpfs_options,json=tmpfsOptions" json:"tmpfs_options,omitempty"`
} }
func (m *Mount) Reset() { *m = Mount{} } func (m *Mount) Reset() { *m = Mount{} }
@ -683,6 +698,24 @@ func (m *Mount_VolumeOptions) Reset() { *m = Mount_VolumeOpti
func (*Mount_VolumeOptions) ProtoMessage() {} func (*Mount_VolumeOptions) ProtoMessage() {}
func (*Mount_VolumeOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{11, 1} } func (*Mount_VolumeOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{11, 1} }
type Mount_TmpfsOptions struct {
// Size sets the size of the tmpfs, in bytes.
//
// This will be converted to an operating system specific value
// depending on the host. For example, on linux, it will be convered to
// use a 'k', 'm' or 'g' syntax. BSD, though not widely supported with
// docker, uses a straight byte value.
//
// Percentages are not supported.
SizeBytes int64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
// Mode of the tmpfs upon creation
Mode os.FileMode `protobuf:"varint,2,opt,name=mode,proto3,customtype=os.FileMode" json:"mode"`
}
func (m *Mount_TmpfsOptions) Reset() { *m = Mount_TmpfsOptions{} }
func (*Mount_TmpfsOptions) ProtoMessage() {}
func (*Mount_TmpfsOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{11, 2} }
type RestartPolicy struct { type RestartPolicy struct {
Condition RestartPolicy_RestartCondition `protobuf:"varint,1,opt,name=condition,proto3,enum=docker.swarmkit.v1.RestartPolicy_RestartCondition" json:"condition,omitempty"` Condition RestartPolicy_RestartCondition `protobuf:"varint,1,opt,name=condition,proto3,enum=docker.swarmkit.v1.RestartPolicy_RestartCondition" json:"condition,omitempty"`
// Delay between restart attempts // Delay between restart attempts
@ -1132,6 +1165,7 @@ func init() {
proto.RegisterType((*Mount)(nil), "docker.swarmkit.v1.Mount") proto.RegisterType((*Mount)(nil), "docker.swarmkit.v1.Mount")
proto.RegisterType((*Mount_BindOptions)(nil), "docker.swarmkit.v1.Mount.BindOptions") proto.RegisterType((*Mount_BindOptions)(nil), "docker.swarmkit.v1.Mount.BindOptions")
proto.RegisterType((*Mount_VolumeOptions)(nil), "docker.swarmkit.v1.Mount.VolumeOptions") proto.RegisterType((*Mount_VolumeOptions)(nil), "docker.swarmkit.v1.Mount.VolumeOptions")
proto.RegisterType((*Mount_TmpfsOptions)(nil), "docker.swarmkit.v1.Mount.TmpfsOptions")
proto.RegisterType((*RestartPolicy)(nil), "docker.swarmkit.v1.RestartPolicy") proto.RegisterType((*RestartPolicy)(nil), "docker.swarmkit.v1.RestartPolicy")
proto.RegisterType((*UpdateConfig)(nil), "docker.swarmkit.v1.UpdateConfig") proto.RegisterType((*UpdateConfig)(nil), "docker.swarmkit.v1.UpdateConfig")
proto.RegisterType((*ContainerStatus)(nil), "docker.swarmkit.v1.ContainerStatus") proto.RegisterType((*ContainerStatus)(nil), "docker.swarmkit.v1.ContainerStatus")
@ -1345,6 +1379,7 @@ func (m *Mount) Copy() *Mount {
ReadOnly: m.ReadOnly, ReadOnly: m.ReadOnly,
BindOptions: m.BindOptions.Copy(), BindOptions: m.BindOptions.Copy(),
VolumeOptions: m.VolumeOptions.Copy(), VolumeOptions: m.VolumeOptions.Copy(),
TmpfsOptions: m.TmpfsOptions.Copy(),
} }
return o return o
@ -1382,6 +1417,19 @@ func (m *Mount_VolumeOptions) Copy() *Mount_VolumeOptions {
return o return o
} }
func (m *Mount_TmpfsOptions) Copy() *Mount_TmpfsOptions {
if m == nil {
return nil
}
o := &Mount_TmpfsOptions{
SizeBytes: m.SizeBytes,
Mode: m.Mode,
}
return o
}
func (m *RestartPolicy) Copy() *RestartPolicy { func (m *RestartPolicy) Copy() *RestartPolicy {
if m == nil { if m == nil {
return nil return nil
@ -1925,7 +1973,7 @@ func (this *Mount) GoString() string {
if this == nil { if this == nil {
return "nil" return "nil"
} }
s := make([]string, 0, 10) s := make([]string, 0, 11)
s = append(s, "&api.Mount{") s = append(s, "&api.Mount{")
s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n") s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n")
@ -1937,6 +1985,9 @@ func (this *Mount) GoString() string {
if this.VolumeOptions != nil { if this.VolumeOptions != nil {
s = append(s, "VolumeOptions: "+fmt.Sprintf("%#v", this.VolumeOptions)+",\n") s = append(s, "VolumeOptions: "+fmt.Sprintf("%#v", this.VolumeOptions)+",\n")
} }
if this.TmpfsOptions != nil {
s = append(s, "TmpfsOptions: "+fmt.Sprintf("%#v", this.TmpfsOptions)+",\n")
}
s = append(s, "}") s = append(s, "}")
return strings.Join(s, "") return strings.Join(s, "")
} }
@ -1976,6 +2027,17 @@ func (this *Mount_VolumeOptions) GoString() string {
s = append(s, "}") s = append(s, "}")
return strings.Join(s, "") return strings.Join(s, "")
} }
func (this *Mount_TmpfsOptions) GoString() string {
if this == nil {
return "nil"
}
s := make([]string, 0, 6)
s = append(s, "&api.Mount_TmpfsOptions{")
s = append(s, "SizeBytes: "+fmt.Sprintf("%#v", this.SizeBytes)+",\n")
s = append(s, "Mode: "+fmt.Sprintf("%#v", this.Mode)+",\n")
s = append(s, "}")
return strings.Join(s, "")
}
func (this *RestartPolicy) GoString() string { func (this *RestartPolicy) GoString() string {
if this == nil { if this == nil {
return "nil" return "nil"
@ -2804,6 +2866,16 @@ func (m *Mount) MarshalTo(data []byte) (int, error) {
} }
i += n7 i += n7
} }
if m.TmpfsOptions != nil {
data[i] = 0x3a
i++
i = encodeVarintTypes(data, i, uint64(m.TmpfsOptions.Size()))
n8, err := m.TmpfsOptions.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n8
}
return i, nil return i, nil
} }
@ -2876,11 +2948,39 @@ func (m *Mount_VolumeOptions) MarshalTo(data []byte) (int, error) {
data[i] = 0x1a data[i] = 0x1a
i++ i++
i = encodeVarintTypes(data, i, uint64(m.DriverConfig.Size())) i = encodeVarintTypes(data, i, uint64(m.DriverConfig.Size()))
n8, err := m.DriverConfig.MarshalTo(data[i:]) n9, err := m.DriverConfig.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n8 i += n9
}
return i, nil
}
func (m *Mount_TmpfsOptions) Marshal() (data []byte, err error) {
size := m.Size()
data = make([]byte, size)
n, err := m.MarshalTo(data)
if err != nil {
return nil, err
}
return data[:n], nil
}
func (m *Mount_TmpfsOptions) MarshalTo(data []byte) (int, error) {
var i int
_ = i
var l int
_ = l
if m.SizeBytes != 0 {
data[i] = 0x8
i++
i = encodeVarintTypes(data, i, uint64(m.SizeBytes))
}
if m.Mode != 0 {
data[i] = 0x10
i++
i = encodeVarintTypes(data, i, uint64(m.Mode))
} }
return i, nil return i, nil
} }
@ -2909,11 +3009,11 @@ func (m *RestartPolicy) MarshalTo(data []byte) (int, error) {
data[i] = 0x12 data[i] = 0x12
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Delay.Size())) i = encodeVarintTypes(data, i, uint64(m.Delay.Size()))
n9, err := m.Delay.MarshalTo(data[i:]) n10, err := m.Delay.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n9 i += n10
} }
if m.MaxAttempts != 0 { if m.MaxAttempts != 0 {
data[i] = 0x18 data[i] = 0x18
@ -2924,11 +3024,11 @@ func (m *RestartPolicy) MarshalTo(data []byte) (int, error) {
data[i] = 0x22 data[i] = 0x22
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Window.Size())) i = encodeVarintTypes(data, i, uint64(m.Window.Size()))
n10, err := m.Window.MarshalTo(data[i:]) n11, err := m.Window.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n10 i += n11
} }
return i, nil return i, nil
} }
@ -2956,11 +3056,11 @@ func (m *UpdateConfig) MarshalTo(data []byte) (int, error) {
data[i] = 0x12 data[i] = 0x12
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Delay.Size())) i = encodeVarintTypes(data, i, uint64(m.Delay.Size()))
n11, err := m.Delay.MarshalTo(data[i:]) n12, err := m.Delay.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n11 i += n12
return i, nil return i, nil
} }
@ -3017,11 +3117,11 @@ func (m *TaskStatus) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Timestamp.Size())) i = encodeVarintTypes(data, i, uint64(m.Timestamp.Size()))
n12, err := m.Timestamp.MarshalTo(data[i:]) n13, err := m.Timestamp.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n12 i += n13
} }
if m.State != 0 { if m.State != 0 {
data[i] = 0x10 data[i] = 0x10
@ -3041,11 +3141,11 @@ func (m *TaskStatus) MarshalTo(data []byte) (int, error) {
i += copy(data[i:], m.Err) i += copy(data[i:], m.Err)
} }
if m.RuntimeStatus != nil { if m.RuntimeStatus != nil {
nn13, err := m.RuntimeStatus.MarshalTo(data[i:]) nn14, err := m.RuntimeStatus.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += nn13 i += nn14
} }
return i, nil return i, nil
} }
@ -3056,11 +3156,11 @@ func (m *TaskStatus_Container) MarshalTo(data []byte) (int, error) {
data[i] = 0x2a data[i] = 0x2a
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Container.Size())) i = encodeVarintTypes(data, i, uint64(m.Container.Size()))
n14, err := m.Container.MarshalTo(data[i:]) n15, err := m.Container.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n14 i += n15
} }
return i, nil return i, nil
} }
@ -3221,11 +3321,11 @@ func (m *IPAMOptions) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Driver.Size())) i = encodeVarintTypes(data, i, uint64(m.Driver.Size()))
n15, err := m.Driver.MarshalTo(data[i:]) n16, err := m.Driver.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n15 i += n16
} }
if len(m.Configs) > 0 { if len(m.Configs) > 0 {
for _, msg := range m.Configs { for _, msg := range m.Configs {
@ -3291,11 +3391,11 @@ func (m *WeightedPeer) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Peer.Size())) i = encodeVarintTypes(data, i, uint64(m.Peer.Size()))
n16, err := m.Peer.MarshalTo(data[i:]) n17, err := m.Peer.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n16 i += n17
} }
if m.Weight != 0 { if m.Weight != 0 {
data[i] = 0x10 data[i] = 0x10
@ -3398,11 +3498,11 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) MarshalTo(data []byte) (int, erro
data[i] = 0x1a data[i] = 0x1a
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Secret.Size())) i = encodeVarintTypes(data, i, uint64(m.Secret.Size()))
n17, err := m.Secret.MarshalTo(data[i:]) n18, err := m.Secret.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n17 i += n18
} }
return i, nil return i, nil
} }
@ -3502,11 +3602,11 @@ func (m *CAConfig) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintTypes(data, i, uint64(m.NodeCertExpiry.Size())) i = encodeVarintTypes(data, i, uint64(m.NodeCertExpiry.Size()))
n18, err := m.NodeCertExpiry.MarshalTo(data[i:]) n19, err := m.NodeCertExpiry.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n18 i += n19
} }
if len(m.ExternalCAs) > 0 { if len(m.ExternalCAs) > 0 {
for _, msg := range m.ExternalCAs { for _, msg := range m.ExternalCAs {
@ -3565,11 +3665,11 @@ func (m *DispatcherConfig) MarshalTo(data []byte) (int, error) {
data[i] = 0xa data[i] = 0xa
i++ i++
i = encodeVarintTypes(data, i, uint64(m.HeartbeatPeriod.Size())) i = encodeVarintTypes(data, i, uint64(m.HeartbeatPeriod.Size()))
n19, err := m.HeartbeatPeriod.MarshalTo(data[i:]) n20, err := m.HeartbeatPeriod.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n19 i += n20
} }
return i, nil return i, nil
} }
@ -3715,11 +3815,11 @@ func (m *Certificate) MarshalTo(data []byte) (int, error) {
data[i] = 0x1a data[i] = 0x1a
i++ i++
i = encodeVarintTypes(data, i, uint64(m.Status.Size())) i = encodeVarintTypes(data, i, uint64(m.Status.Size()))
n20, err := m.Status.MarshalTo(data[i:]) n21, err := m.Status.MarshalTo(data[i:])
if err != nil { if err != nil {
return 0, err return 0, err
} }
i += n20 i += n21
if len(m.Certificate) > 0 { if len(m.Certificate) > 0 {
data[i] = 0x22 data[i] = 0x22
i++ i++
@ -4038,6 +4138,10 @@ func (m *Mount) Size() (n int) {
l = m.VolumeOptions.Size() l = m.VolumeOptions.Size()
n += 1 + l + sovTypes(uint64(l)) n += 1 + l + sovTypes(uint64(l))
} }
if m.TmpfsOptions != nil {
l = m.TmpfsOptions.Size()
n += 1 + l + sovTypes(uint64(l))
}
return n return n
} }
@ -4071,6 +4175,18 @@ func (m *Mount_VolumeOptions) Size() (n int) {
return n return n
} }
func (m *Mount_TmpfsOptions) Size() (n int) {
var l int
_ = l
if m.SizeBytes != 0 {
n += 1 + sovTypes(uint64(m.SizeBytes))
}
if m.Mode != 0 {
n += 1 + sovTypes(uint64(m.Mode))
}
return n
}
func (m *RestartPolicy) Size() (n int) { func (m *RestartPolicy) Size() (n int) {
var l int var l int
_ = l _ = l
@ -4651,6 +4767,7 @@ func (this *Mount) String() string {
`ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`, `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
`BindOptions:` + strings.Replace(fmt.Sprintf("%v", this.BindOptions), "Mount_BindOptions", "Mount_BindOptions", 1) + `,`, `BindOptions:` + strings.Replace(fmt.Sprintf("%v", this.BindOptions), "Mount_BindOptions", "Mount_BindOptions", 1) + `,`,
`VolumeOptions:` + strings.Replace(fmt.Sprintf("%v", this.VolumeOptions), "Mount_VolumeOptions", "Mount_VolumeOptions", 1) + `,`, `VolumeOptions:` + strings.Replace(fmt.Sprintf("%v", this.VolumeOptions), "Mount_VolumeOptions", "Mount_VolumeOptions", 1) + `,`,
`TmpfsOptions:` + strings.Replace(fmt.Sprintf("%v", this.TmpfsOptions), "Mount_TmpfsOptions", "Mount_TmpfsOptions", 1) + `,`,
`}`, `}`,
}, "") }, "")
return s return s
@ -4687,6 +4804,17 @@ func (this *Mount_VolumeOptions) String() string {
}, "") }, "")
return s return s
} }
func (this *Mount_TmpfsOptions) String() string {
if this == nil {
return "nil"
}
s := strings.Join([]string{`&Mount_TmpfsOptions{`,
`SizeBytes:` + fmt.Sprintf("%v", this.SizeBytes) + `,`,
`Mode:` + fmt.Sprintf("%v", this.Mode) + `,`,
`}`,
}, "")
return s
}
func (this *RestartPolicy) String() string { func (this *RestartPolicy) String() string {
if this == nil { if this == nil {
return "nil" return "nil"
@ -6584,6 +6712,39 @@ func (m *Mount) Unmarshal(data []byte) error {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
case 7:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field TmpfsOptions", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTypes
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.TmpfsOptions == nil {
m.TmpfsOptions = &Mount_TmpfsOptions{}
}
if err := m.TmpfsOptions.Unmarshal(data[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipTypes(data[iNdEx:]) skippy, err := skipTypes(data[iNdEx:])
@ -6888,6 +7049,94 @@ func (m *Mount_VolumeOptions) Unmarshal(data []byte) error {
} }
return nil return nil
} }
func (m *Mount_TmpfsOptions) Unmarshal(data []byte) error {
l := len(data)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: TmpfsOptions: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: TmpfsOptions: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
}
m.SizeBytes = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
m.SizeBytes |= (int64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
case 2:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType)
}
m.Mode = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTypes
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
m.Mode |= (os.FileMode(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
default:
iNdEx = preIndex
skippy, err := skipTypes(data[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTypes
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *RestartPolicy) Unmarshal(data []byte) error { func (m *RestartPolicy) Unmarshal(data []byte) error {
l := len(data) l := len(data)
iNdEx := 0 iNdEx := 0
@ -10199,196 +10448,201 @@ var (
) )
var fileDescriptorTypes = []byte{ var fileDescriptorTypes = []byte{
// 3042 bytes of a gzipped FileDescriptorProto // 3132 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x6f, 0x1b, 0xc7, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0xcb, 0x6f, 0x1b, 0xd7,
0x15, 0x17, 0x3f, 0x45, 0x3e, 0x52, 0x12, 0xbd, 0x76, 0x1c, 0x99, 0x51, 0x65, 0x77, 0x13, 0x37, 0xd5, 0x37, 0x9f, 0x22, 0x0f, 0x29, 0x89, 0x1e, 0x3b, 0x8e, 0xcc, 0x28, 0xb2, 0xbf, 0x49, 0x9c,
0xce, 0x47, 0x99, 0x58, 0x49, 0x0b, 0x37, 0x41, 0xeb, 0x2c, 0x3f, 0x64, 0xb1, 0x96, 0x48, 0x62, 0x38, 0x8f, 0x8f, 0x89, 0x95, 0x7c, 0x1f, 0xdc, 0x04, 0xad, 0x33, 0x7c, 0xc8, 0x62, 0x2d, 0x91,
0xa8, 0x0f,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(gogoproto.enumvalue_customname) = "MountTypeBind"]; // Bind mount host dir BIND = 0 [(gogoproto.enumvalue_customname) = "MountTypeBind"]; // Bind mount host dir
VOLUME = 1 [(gogoproto.enumvalue_customname) = "MountTypeVolume"]; // Remote storage volumes VOLUME = 1 [(gogoproto.enumvalue_customname) = "MountTypeVolume"]; // Remote storage volumes
TMPFS = 2 [(gogoproto.enumvalue_customname) = "MountTypeTmpfs"]; // Mount a tmpfs
} }
// Type defines the nature of the mount. // Type defines the nature of the mount.
Type type = 1; Type type = 1;
// Source path to mount // Source specifies the name of the mount. Depending on mount type, this
// may be a volume name or a host path, or even ignored.
string source = 2; string source = 2;
// Target path in container // Target path in container
@ -186,14 +188,58 @@ message Mount {
Driver driver_config = 3; Driver driver_config = 3;
} }
message TmpfsOptions {
// Size sets the size of the tmpfs, in bytes.
//
// This will be converted to an operating system specific value
// depending on the host. For example, on linux, it will be convered to
// use a 'k', 'm' or 'g' syntax. BSD, though not widely supported with
// docker, uses a straight byte value.
//
// Percentages are not supported.
int64 size_bytes = 1;
// Mode of the tmpfs upon creation
int32 mode = 2 [(gogoproto.customtype) = "os.FileMode", (gogoproto.nullable) = false];
// TODO(stevvooe): There are several more tmpfs flags, specified in the
// daemon, that are accepted. Only the most basic are added for now.
//
// From docker/docker/pkg/mount/flags.go:
//
// var validFlags = map[string]bool{
// "": true,
// "size": true, X
// "mode": true, X
// "uid": true,
// "gid": true,
// "nr_inodes": true,
// "nr_blocks": true,
// "mpol": true,
// }
//
// Some of these may be straightforward to add, but others, such as
// uid/gid have implications in a clustered system.
}
// Depending on type, one of bind_options or volumes_options will be set. // Depending on type, one of bind_options or volumes_options will be set.
// BindOptions configures properties of a bind mount type. // BindOptions configures properties of a bind mount type.
//
// For mounts of type bind, the source must be an absolute host path.
BindOptions bind_options = 5; BindOptions bind_options = 5;
// VolumeOptions configures the properties specific to a volume mount type. // VolumeOptions configures the properties specific to a volume mount type.
//
// For mounts of type volume, the source will be used as the volume name.
VolumeOptions volume_options = 6; VolumeOptions volume_options = 6;
// TmpfsOptions allows one to set options for mounting a temporary
// filesystem.
//
// The source field will be ignored when using mounts of type tmpfs.
TmpfsOptions tmpfs_options = 7;
// TODO(stevvooe): It be better to use a oneof field above, although the // TODO(stevvooe): It be better to use a oneof field above, although the
// type is enough to make the decision, while being primary to the // type is enough to make the decision, while being primary to the
// datastructure. // datastructure.

View file

@ -24,6 +24,8 @@ type GlobalOrchestrator struct {
updater *UpdateSupervisor updater *UpdateSupervisor
restarts *RestartSupervisor restarts *RestartSupervisor
cluster *api.Cluster // local instance of the cluster
} }
// NewGlobalOrchestrator creates a new GlobalOrchestrator // NewGlobalOrchestrator creates a new GlobalOrchestrator
@ -50,11 +52,23 @@ func (g *GlobalOrchestrator) Run(ctx context.Context) error {
watcher, cancel := queue.Watch() watcher, cancel := queue.Watch()
defer cancel() defer cancel()
// lookup the cluster
var err error
g.store.View(func(readTx store.ReadTx) {
var clusters []*api.Cluster
clusters, err = store.FindClusters(readTx, store.ByName("default"))
if len(clusters) != 1 {
return // just pick up the cluster when it is created.
}
g.cluster = clusters[0]
})
if err != nil {
return err
}
// Get list of nodes // Get list of nodes
var ( var nodes []*api.Node
nodes []*api.Node
err error
)
g.store.View(func(readTx store.ReadTx) { g.store.View(func(readTx store.ReadTx) {
nodes, err = store.FindNodes(readTx, store.All) nodes, err = store.FindNodes(readTx, store.All)
}) })
@ -88,6 +102,8 @@ func (g *GlobalOrchestrator) Run(ctx context.Context) error {
case event := <-watcher: case event := <-watcher:
// TODO(stevvooe): Use ctx to limit running time of operation. // TODO(stevvooe): Use ctx to limit running time of operation.
switch v := event.(type) { switch v := event.(type) {
case state.EventUpdateCluster:
g.cluster = v.Cluster
case state.EventCreateService: case state.EventCreateService:
if !isGlobalService(v.Service) { if !isGlobalService(v.Service) {
continue continue
@ -228,7 +244,7 @@ func (g *GlobalOrchestrator) reconcileOneService(ctx context.Context, service *a
} }
} }
if len(updateTasks) > 0 { if len(updateTasks) > 0 {
g.updater.Update(ctx, service, updateTasks) g.updater.Update(ctx, g.cluster, service, updateTasks)
} }
return nil return nil
}) })
@ -325,7 +341,7 @@ func (g *GlobalOrchestrator) reconcileServiceOneNode(ctx context.Context, servic
} }
// restartTask calls the restart supervisor's Restart function, which // restartTask calls the restart supervisor's Restart function, which
// sets a task's desired state to dead and restarts it if the restart // sets a task's desired state to shutdown and restarts it if the restart
// policy calls for it to be restarted. // policy calls for it to be restarted.
func (g *GlobalOrchestrator) restartTask(ctx context.Context, taskID string, serviceID string) { func (g *GlobalOrchestrator) restartTask(ctx context.Context, taskID string, serviceID string) {
err := g.store.Update(func(tx store.Tx) error { err := g.store.Update(func(tx store.Tx) error {
@ -337,7 +353,7 @@ func (g *GlobalOrchestrator) restartTask(ctx context.Context, taskID string, ser
if service == nil { if service == nil {
return nil return nil
} }
return g.restarts.Restart(ctx, tx, service, *t) return g.restarts.Restart(ctx, tx, g.cluster, service, *t)
}) })
if err != nil { if err != nil {
log.G(ctx).WithError(err).Errorf("global orchestrator: restartTask transaction failed") log.G(ctx).WithError(err).Errorf("global orchestrator: restartTask transaction failed")
@ -361,7 +377,7 @@ func (g *GlobalOrchestrator) removeTask(ctx context.Context, batch *store.Batch,
} }
func (g *GlobalOrchestrator) addTask(ctx context.Context, batch *store.Batch, service *api.Service, nodeID string) { func (g *GlobalOrchestrator) addTask(ctx context.Context, batch *store.Batch, service *api.Service, nodeID string) {
task := newTask(service, 0) task := newTask(g.cluster, service, 0)
task.NodeID = nodeID task.NodeID = nodeID
err := batch.Update(func(tx store.Tx) error { err := batch.Update(func(tx store.Tx) error {

View file

@ -27,6 +27,8 @@ type ReplicatedOrchestrator struct {
updater *UpdateSupervisor updater *UpdateSupervisor
restarts *RestartSupervisor restarts *RestartSupervisor
cluster *api.Cluster // local cluster instance
} }
// NewReplicatedOrchestrator creates a new ReplicatedOrchestrator. // NewReplicatedOrchestrator creates a new ReplicatedOrchestrator.
@ -61,6 +63,7 @@ func (r *ReplicatedOrchestrator) Run(ctx context.Context) error {
return return
} }
err = r.initServices(readTx) err = r.initServices(readTx)
err = r.initCluster(readTx)
}) })
if err != nil { if err != nil {
return err return err
@ -74,9 +77,11 @@ func (r *ReplicatedOrchestrator) Run(ctx context.Context) error {
// TODO(stevvooe): Use ctx to limit running time of operation. // TODO(stevvooe): Use ctx to limit running time of operation.
r.handleTaskEvent(ctx, event) r.handleTaskEvent(ctx, event)
r.handleServiceEvent(ctx, event) r.handleServiceEvent(ctx, event)
switch event.(type) { switch v := event.(type) {
case state.EventCommit: case state.EventCommit:
r.tick(ctx) r.tick(ctx)
case state.EventUpdateCluster:
r.cluster = v.Cluster
} }
case <-r.stopChan: case <-r.stopChan:
return nil return nil
@ -99,7 +104,16 @@ func (r *ReplicatedOrchestrator) tick(ctx context.Context) {
r.tickServices(ctx) r.tickServices(ctx)
} }
func newTask(service *api.Service, instance uint64) *api.Task { func newTask(cluster *api.Cluster, service *api.Service, instance uint64) *api.Task {
var logDriver *api.Driver
if service.Spec.Task.LogDriver != nil {
// use the log driver specific to the task, if we have it.
logDriver = service.Spec.Task.LogDriver
} else if cluster != nil {
// pick up the cluster default, if available.
logDriver = cluster.Spec.DefaultLogDriver // nil is okay here.
}
// NOTE(stevvooe): For now, we don't override the container naming and // NOTE(stevvooe): For now, we don't override the container naming and
// labeling scheme in the agent. If we decide to do this in the future, // labeling scheme in the agent. If we decide to do this in the future,
// they should be overridden here. // they should be overridden here.
@ -118,6 +132,7 @@ func newTask(service *api.Service, instance uint64) *api.Task {
Spec: service.Spec.Endpoint.Copy(), Spec: service.Spec.Endpoint.Copy(),
}, },
DesiredState: api.TaskStateRunning, DesiredState: api.TaskStateRunning,
LogDriver: logDriver,
} }
} }

View file

@ -59,7 +59,7 @@ func NewRestartSupervisor(store *store.MemoryStore) *RestartSupervisor {
// Restart initiates a new task to replace t if appropriate under the service's // Restart initiates a new task to replace t if appropriate under the service's
// restart policy. // restart policy.
func (r *RestartSupervisor) Restart(ctx context.Context, tx store.Tx, service *api.Service, t api.Task) error { func (r *RestartSupervisor) Restart(ctx context.Context, tx store.Tx, cluster *api.Cluster, service *api.Service, t api.Task) error {
// TODO(aluzzardi): This function should not depend on `service`. // TODO(aluzzardi): This function should not depend on `service`.
t.DesiredState = api.TaskStateShutdown t.DesiredState = api.TaskStateShutdown
@ -76,9 +76,9 @@ func (r *RestartSupervisor) Restart(ctx context.Context, tx store.Tx, service *a
var restartTask *api.Task var restartTask *api.Task
if isReplicatedService(service) { if isReplicatedService(service) {
restartTask = newTask(service, t.Slot) restartTask = newTask(cluster, service, t.Slot)
} else if isGlobalService(service) { } else if isGlobalService(service) {
restartTask = newTask(service, 0) restartTask = newTask(cluster, service, 0)
restartTask.NodeID = t.NodeID restartTask.NodeID = t.NodeID
} else { } else {
log.G(ctx).Error("service not supported by restart supervisor") log.G(ctx).Error("service not supported by restart supervisor")

View file

@ -16,6 +16,21 @@ import (
// specifications. This is different from task-level orchestration, which // specifications. This is different from task-level orchestration, which
// responds to changes in individual tasks (or nodes which run them). // responds to changes in individual tasks (or nodes which run them).
func (r *ReplicatedOrchestrator) initCluster(readTx store.ReadTx) error {
clusters, err := store.FindClusters(readTx, store.ByName("default"))
if err != nil {
return err
}
if len(clusters) != 1 {
// we'll just pick it when it is created.
return nil
}
r.cluster = clusters[0]
return nil
}
func (r *ReplicatedOrchestrator) initServices(readTx store.ReadTx) error { func (r *ReplicatedOrchestrator) initServices(readTx store.ReadTx) error {
services, err := store.FindServices(readTx, store.All) services, err := store.FindServices(readTx, store.All)
if err != nil { if err != nil {
@ -133,7 +148,7 @@ func (r *ReplicatedOrchestrator) reconcile(ctx context.Context, service *api.Ser
case specifiedInstances > numTasks: case specifiedInstances > numTasks:
log.G(ctx).Debugf("Service %s was scaled up from %d to %d instances", service.ID, numTasks, specifiedInstances) log.G(ctx).Debugf("Service %s was scaled up from %d to %d instances", service.ID, numTasks, specifiedInstances)
// Update all current tasks then add missing tasks // Update all current tasks then add missing tasks
r.updater.Update(ctx, service, runningTasks) r.updater.Update(ctx, r.cluster, service, runningTasks)
_, err = r.store.Batch(func(batch *store.Batch) error { _, err = r.store.Batch(func(batch *store.Batch) error {
r.addTasks(ctx, batch, service, runningInstances, specifiedInstances-numTasks) r.addTasks(ctx, batch, service, runningInstances, specifiedInstances-numTasks)
return nil return nil
@ -179,7 +194,7 @@ func (r *ReplicatedOrchestrator) reconcile(ctx context.Context, service *api.Ser
sortedTasks = append(sortedTasks, t.task) sortedTasks = append(sortedTasks, t.task)
} }
r.updater.Update(ctx, service, sortedTasks[:specifiedInstances]) r.updater.Update(ctx, r.cluster, service, sortedTasks[:specifiedInstances])
_, err = r.store.Batch(func(batch *store.Batch) error { _, err = r.store.Batch(func(batch *store.Batch) error {
r.removeTasks(ctx, batch, service, sortedTasks[specifiedInstances:]) r.removeTasks(ctx, batch, service, sortedTasks[specifiedInstances:])
return nil return nil
@ -190,7 +205,7 @@ func (r *ReplicatedOrchestrator) reconcile(ctx context.Context, service *api.Ser
case specifiedInstances == numTasks: case specifiedInstances == numTasks:
// Simple update, no scaling - update all tasks. // Simple update, no scaling - update all tasks.
r.updater.Update(ctx, service, runningTasks) r.updater.Update(ctx, r.cluster, service, runningTasks)
} }
} }
@ -206,7 +221,7 @@ func (r *ReplicatedOrchestrator) addTasks(ctx context.Context, batch *store.Batc
} }
err := batch.Update(func(tx store.Tx) error { err := batch.Update(func(tx store.Tx) error {
return store.CreateTask(tx, newTask(service, instance)) return store.CreateTask(tx, newTask(r.cluster, service, instance))
}) })
if err != nil { if err != nil {
log.G(ctx).Errorf("Failed to create task: %v", err) log.G(ctx).Errorf("Failed to create task: %v", err)

View file

@ -149,7 +149,7 @@ func (r *ReplicatedOrchestrator) tickTasks(ctx context.Context) {
} }
// Restart task if applicable // Restart task if applicable
if err := r.restarts.Restart(ctx, tx, service, *t); err != nil { if err := r.restarts.Restart(ctx, tx, r.cluster, service, *t); err != nil {
return err return err
} }
} }

View file

@ -36,7 +36,7 @@ func NewUpdateSupervisor(store *store.MemoryStore, restartSupervisor *RestartSup
// Update starts an Update of `tasks` belonging to `service` in the background and returns immediately. // Update starts an Update of `tasks` belonging to `service` in the background and returns immediately.
// If an update for that service was already in progress, it will be cancelled before the new one starts. // If an update for that service was already in progress, it will be cancelled before the new one starts.
func (u *UpdateSupervisor) Update(ctx context.Context, service *api.Service, tasks []*api.Task) { func (u *UpdateSupervisor) Update(ctx context.Context, cluster *api.Cluster, service *api.Service, tasks []*api.Task) {
u.l.Lock() u.l.Lock()
defer u.l.Unlock() defer u.l.Unlock()
@ -49,7 +49,7 @@ func (u *UpdateSupervisor) Update(ctx context.Context, service *api.Service, tas
update := NewUpdater(u.store, u.restarts) update := NewUpdater(u.store, u.restarts)
u.updates[id] = update u.updates[id] = update
go func() { go func() {
update.Run(ctx, service, tasks) update.Run(ctx, cluster, service, tasks)
u.l.Lock() u.l.Lock()
if u.updates[id] == update { if u.updates[id] == update {
delete(u.updates, id) delete(u.updates, id)
@ -98,7 +98,7 @@ func (u *Updater) Cancel() {
} }
// Run starts the update and returns only once its complete or cancelled. // Run starts the update and returns only once its complete or cancelled.
func (u *Updater) Run(ctx context.Context, service *api.Service, tasks []*api.Task) { func (u *Updater) Run(ctx context.Context, cluster *api.Cluster, service *api.Service, tasks []*api.Task) {
defer close(u.doneChan) defer close(u.doneChan)
dirtyTasks := []*api.Task{} dirtyTasks := []*api.Task{}
@ -130,7 +130,7 @@ func (u *Updater) Run(ctx context.Context, service *api.Service, tasks []*api.Ta
wg.Add(parallelism) wg.Add(parallelism)
for i := 0; i < parallelism; i++ { for i := 0; i < parallelism; i++ {
go func() { go func() {
u.worker(ctx, service, taskQueue) u.worker(ctx, cluster, service, taskQueue)
wg.Done() wg.Done()
}() }()
} }
@ -149,9 +149,9 @@ func (u *Updater) Run(ctx context.Context, service *api.Service, tasks []*api.Ta
wg.Wait() wg.Wait()
} }
func (u *Updater) worker(ctx context.Context, service *api.Service, queue <-chan *api.Task) { func (u *Updater) worker(ctx context.Context, cluster *api.Cluster, service *api.Service, queue <-chan *api.Task) {
for t := range queue { for t := range queue {
updated := newTask(service, t.Slot) updated := newTask(cluster, service, t.Slot)
updated.DesiredState = api.TaskStateReady updated.DesiredState = api.TaskStateReady
if isGlobalService(service) { if isGlobalService(service) {
updated.NodeID = t.NodeID updated.NodeID = t.NodeID

View file

@ -113,6 +113,28 @@ func (c *Cluster) RemoveMember(id uint64) error {
return nil return nil
} }
// ReplaceMemberConnection replaces the member's GRPC connection and GRPC
// client.
func (c *Cluster) ReplaceMemberConnection(id uint64, newConn *Member) error {
c.mu.Lock()
defer c.mu.Unlock()
oldMember, ok := c.members[id]
if !ok {
return ErrIDNotFound
}
oldMember.Conn.Close()
newMember := *oldMember
newMember.Conn = newConn.Conn
newMember.RaftClient = newConn.RaftClient
c.members[id] = &newMember
return nil
}
// IsIDRemoved checks if a Member is in the remove set. // IsIDRemoved checks if a Member is in the remove set.
func (c *Cluster) IsIDRemoved(id uint64) bool { func (c *Cluster) IsIDRemoved(id uint64) bool {
c.mu.RLock() c.mu.RLock()

View file

@ -1000,6 +1000,14 @@ func (n *Node) sendToMember(members map[uint64]*membership.Member, m raftpb.Mess
panic("node is nil") panic("node is nil")
} }
n.ReportUnreachable(m.To) n.ReportUnreachable(m.To)
// Bounce the connection
newConn, err := n.ConnectToMember(conn.Addr, 0)
if err != nil {
n.Config.Logger.Errorf("could connect to member ID %x at %s: %v", m.To, conn.Addr, err)
} else {
n.cluster.ReplaceMemberConnection(m.To, newConn)
}
} else if m.Type == raftpb.MsgSnap { } else if m.Type == raftpb.MsgSnap {
n.ReportSnapshot(m.To, raft.SnapshotFinish) n.ReportSnapshot(m.To, raft.SnapshotFinish)
} }