vendor: update swarmkit
Signed-off-by: Cezar Sa Espinola <cezarsa@gmail.com>
This commit is contained in:
parent
9e206b5512
commit
fd657a10d0
10 changed files with 1182 additions and 433 deletions
|
@ -147,7 +147,7 @@ clone git github.com/docker/containerd 52ef1ceb4b660c42cf4ea9013180a5663968d4c7
|
|||
clone git github.com/tonistiigi/fifo 8c56881ce5e63e19e2dfc495c8af0fb90916467d
|
||||
|
||||
# cluster
|
||||
clone git github.com/docker/swarmkit 0ec7c6ee4b3185ec4e3d6bd65f8f5542b1761421
|
||||
clone git github.com/docker/swarmkit 72981f443024da2c57d54b915eae0477be6dada5
|
||||
clone git github.com/golang/mock bd3c8e81be01eef76d4b503f5e687d2d1354d2d9
|
||||
clone git github.com/gogo/protobuf v0.3
|
||||
clone git github.com/cloudflare/cfssl 7fb22c8cba7ecaf98e4082d22d65800cf45e042a
|
||||
|
|
|
@ -54,6 +54,13 @@ type ContainerStatuser interface {
|
|||
ContainerStatus(ctx context.Context) (*api.ContainerStatus, error)
|
||||
}
|
||||
|
||||
// PortStatuser reports status of ports which are allocated by the executor
|
||||
type PortStatuser interface {
|
||||
// PortStatus returns the status on a list of PortConfigs
|
||||
// which are managed at the host level by the controller.
|
||||
PortStatus(ctx context.Context) (*api.PortStatus, error)
|
||||
}
|
||||
|
||||
// Resolve attempts to get a controller from the executor and reports the
|
||||
// correct status depending on the tasks current state according to the result.
|
||||
//
|
||||
|
@ -131,6 +138,7 @@ func Do(ctx context.Context, task *api.Task, ctlr Controller) (*api.TaskStatus,
|
|||
// this particular method. Eventually, we assemble this as part of a defer.
|
||||
var (
|
||||
containerStatus *api.ContainerStatus
|
||||
portStatus *api.PortStatus
|
||||
exitCode int
|
||||
)
|
||||
|
||||
|
@ -230,6 +238,21 @@ func Do(ctx context.Context, task *api.Task, ctlr Controller) (*api.TaskStatus,
|
|||
status.RuntimeStatus = &api.TaskStatus_Container{
|
||||
Container: containerStatus,
|
||||
}
|
||||
|
||||
if portStatus == nil {
|
||||
pctlr, ok := ctlr.(PortStatuser)
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
||||
var err error
|
||||
portStatus, err = pctlr.PortStatus(ctx)
|
||||
if err != nil && !contextDoneError(err) {
|
||||
log.G(ctx).WithError(err).Error("container port status unavailable")
|
||||
}
|
||||
}
|
||||
|
||||
status.PortStatus = portStatus
|
||||
}()
|
||||
|
||||
if task.DesiredState == api.TaskStateShutdown {
|
||||
|
|
|
@ -141,3 +141,35 @@ func (_m *MockContainerStatuser) ContainerStatus(ctx context.Context) (*api.Cont
|
|||
func (_mr *_MockContainerStatuserRecorder) ContainerStatus(arg0 interface{}) *gomock.Call {
|
||||
return _mr.mock.ctrl.RecordCall(_mr.mock, "ContainerStatus", arg0)
|
||||
}
|
||||
|
||||
// Mock of PortStatuser interface
|
||||
type MockPortStatuser struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *_MockPortStatuserRecorder
|
||||
}
|
||||
|
||||
// Recorder for MockPortStatuser (not exported)
|
||||
type _MockPortStatuserRecorder struct {
|
||||
mock *MockPortStatuser
|
||||
}
|
||||
|
||||
func NewMockPortStatuser(ctrl *gomock.Controller) *MockPortStatuser {
|
||||
mock := &MockPortStatuser{ctrl: ctrl}
|
||||
mock.recorder = &_MockPortStatuserRecorder{mock}
|
||||
return mock
|
||||
}
|
||||
|
||||
func (_m *MockPortStatuser) EXPECT() *_MockPortStatuserRecorder {
|
||||
return _m.recorder
|
||||
}
|
||||
|
||||
func (_m *MockPortStatuser) PortStatus(ctx context.Context) (*api.PortStatus, error) {
|
||||
ret := _m.ctrl.Call(_m, "PortStatus", ctx)
|
||||
ret0, _ := ret[0].(*api.PortStatus)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
func (_mr *_MockPortStatuserRecorder) PortStatus(arg0 interface{}) *gomock.Call {
|
||||
return _mr.mock.ctrl.RecordCall(_mr.mock, "PortStatus", arg0)
|
||||
}
|
||||
|
|
|
@ -489,6 +489,11 @@ type ContainerSpec struct {
|
|||
Secrets []*SecretReference `protobuf:"bytes,12,rep,name=secrets" json:"secrets,omitempty"`
|
||||
// DNSConfig allows one to specify DNS related configuration in resolv.conf
|
||||
DNSConfig *ContainerSpec_DNSConfig `protobuf:"bytes,15,opt,name=dns_config,json=dnsConfig" json:"dns_config,omitempty"`
|
||||
// Healthcheck describes how to check the container is healthy. If the
|
||||
// container is considered unhealthy, it will be destroyed, its creating
|
||||
// task will exit and a new task will be rescheduled elsewhere. A container
|
||||
// is considered unhealthy after `Retries` number of consecutive failures.
|
||||
Healthcheck *HealthConfig `protobuf:"bytes,16,opt,name=healthcheck" json:"healthcheck,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ContainerSpec) Reset() { *m = ContainerSpec{} }
|
||||
|
@ -756,6 +761,7 @@ func (m *ContainerSpec) Copy() *ContainerSpec {
|
|||
StopGracePeriod: m.StopGracePeriod.Copy(),
|
||||
PullOptions: m.PullOptions.Copy(),
|
||||
DNSConfig: m.DNSConfig.Copy(),
|
||||
Healthcheck: m.Healthcheck.Copy(),
|
||||
}
|
||||
|
||||
if m.Labels != nil {
|
||||
|
@ -1035,7 +1041,7 @@ func (this *ContainerSpec) GoString() string {
|
|||
if this == nil {
|
||||
return "nil"
|
||||
}
|
||||
s := make([]string, 0, 19)
|
||||
s := make([]string, 0, 20)
|
||||
s = append(s, "&api.ContainerSpec{")
|
||||
s = append(s, "Image: "+fmt.Sprintf("%#v", this.Image)+",\n")
|
||||
keysForLabels := make([]string, 0, len(this.Labels))
|
||||
|
@ -1074,6 +1080,9 @@ func (this *ContainerSpec) GoString() string {
|
|||
if this.DNSConfig != nil {
|
||||
s = append(s, "DNSConfig: "+fmt.Sprintf("%#v", this.DNSConfig)+",\n")
|
||||
}
|
||||
if this.Healthcheck != nil {
|
||||
s = append(s, "Healthcheck: "+fmt.Sprintf("%#v", this.Healthcheck)+",\n")
|
||||
}
|
||||
s = append(s, "}")
|
||||
return strings.Join(s, "")
|
||||
}
|
||||
|
@ -1681,6 +1690,18 @@ func (m *ContainerSpec) MarshalTo(data []byte) (int, error) {
|
|||
}
|
||||
i += n18
|
||||
}
|
||||
if m.Healthcheck != nil {
|
||||
data[i] = 0x82
|
||||
i++
|
||||
data[i] = 0x1
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Healthcheck.Size()))
|
||||
n19, err := m.Healthcheck.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n19
|
||||
}
|
||||
return i, nil
|
||||
}
|
||||
|
||||
|
@ -1826,20 +1847,20 @@ func (m *NetworkSpec) MarshalTo(data []byte) (int, error) {
|
|||
data[i] = 0xa
|
||||
i++
|
||||
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
|
||||
i += n20
|
||||
if m.DriverConfig != nil {
|
||||
data[i] = 0x12
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.DriverConfig.Size()))
|
||||
n20, err := m.DriverConfig.MarshalTo(data[i:])
|
||||
n21, err := m.DriverConfig.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n20
|
||||
i += n21
|
||||
}
|
||||
if m.Ipv6Enabled {
|
||||
data[i] = 0x18
|
||||
|
@ -1865,11 +1886,11 @@ func (m *NetworkSpec) MarshalTo(data []byte) (int, error) {
|
|||
data[i] = 0x2a
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.IPAM.Size()))
|
||||
n21, err := m.IPAM.MarshalTo(data[i:])
|
||||
n22, err := m.IPAM.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n21
|
||||
i += n22
|
||||
}
|
||||
if m.Attachable {
|
||||
data[i] = 0x30
|
||||
|
@ -1902,59 +1923,59 @@ func (m *ClusterSpec) MarshalTo(data []byte) (int, error) {
|
|||
data[i] = 0xa
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Annotations.Size()))
|
||||
n22, err := m.Annotations.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n22
|
||||
data[i] = 0x12
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.AcceptancePolicy.Size()))
|
||||
n23, err := m.AcceptancePolicy.MarshalTo(data[i:])
|
||||
n23, err := m.Annotations.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n23
|
||||
data[i] = 0x1a
|
||||
data[i] = 0x12
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Orchestration.Size()))
|
||||
n24, err := m.Orchestration.MarshalTo(data[i:])
|
||||
i = encodeVarintSpecs(data, i, uint64(m.AcceptancePolicy.Size()))
|
||||
n24, err := m.AcceptancePolicy.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n24
|
||||
data[i] = 0x22
|
||||
data[i] = 0x1a
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Raft.Size()))
|
||||
n25, err := m.Raft.MarshalTo(data[i:])
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Orchestration.Size()))
|
||||
n25, err := m.Orchestration.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n25
|
||||
data[i] = 0x2a
|
||||
data[i] = 0x22
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Dispatcher.Size()))
|
||||
n26, err := m.Dispatcher.MarshalTo(data[i:])
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Raft.Size()))
|
||||
n26, err := m.Raft.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n26
|
||||
data[i] = 0x32
|
||||
data[i] = 0x2a
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.CAConfig.Size()))
|
||||
n27, err := m.CAConfig.MarshalTo(data[i:])
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Dispatcher.Size()))
|
||||
n27, err := m.Dispatcher.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n27
|
||||
data[i] = 0x3a
|
||||
data[i] = 0x32
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.TaskDefaults.Size()))
|
||||
n28, err := m.TaskDefaults.MarshalTo(data[i:])
|
||||
i = encodeVarintSpecs(data, i, uint64(m.CAConfig.Size()))
|
||||
n28, err := m.CAConfig.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n28
|
||||
data[i] = 0x3a
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.TaskDefaults.Size()))
|
||||
n29, err := m.TaskDefaults.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n29
|
||||
return i, nil
|
||||
}
|
||||
|
||||
|
@ -1976,11 +1997,11 @@ func (m *SecretSpec) MarshalTo(data []byte) (int, error) {
|
|||
data[i] = 0xa
|
||||
i++
|
||||
i = encodeVarintSpecs(data, i, uint64(m.Annotations.Size()))
|
||||
n29, err := m.Annotations.MarshalTo(data[i:])
|
||||
n30, err := m.Annotations.MarshalTo(data[i:])
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
i += n29
|
||||
i += n30
|
||||
if len(m.Data) > 0 {
|
||||
data[i] = 0x12
|
||||
i++
|
||||
|
@ -2235,6 +2256,10 @@ func (m *ContainerSpec) Size() (n int) {
|
|||
l = m.DNSConfig.Size()
|
||||
n += 1 + l + sovSpecs(uint64(l))
|
||||
}
|
||||
if m.Healthcheck != nil {
|
||||
l = m.Healthcheck.Size()
|
||||
n += 2 + l + sovSpecs(uint64(l))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
|
@ -2500,6 +2525,7 @@ func (this *ContainerSpec) String() string {
|
|||
`TTY:` + fmt.Sprintf("%v", this.TTY) + `,`,
|
||||
`Hostname:` + fmt.Sprintf("%v", this.Hostname) + `,`,
|
||||
`DNSConfig:` + strings.Replace(fmt.Sprintf("%v", this.DNSConfig), "ContainerSpec_DNSConfig", "ContainerSpec_DNSConfig", 1) + `,`,
|
||||
`Healthcheck:` + strings.Replace(fmt.Sprintf("%v", this.Healthcheck), "HealthConfig", "HealthConfig", 1) + `,`,
|
||||
`}`,
|
||||
}, "")
|
||||
return s
|
||||
|
@ -4047,6 +4073,39 @@ func (m *ContainerSpec) Unmarshal(data []byte) error {
|
|||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
case 16:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Healthcheck", 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.Healthcheck == nil {
|
||||
m.Healthcheck = &HealthConfig{}
|
||||
}
|
||||
if err := m.Healthcheck.Unmarshal(data[iNdEx:postIndex]); err != nil {
|
||||
return err
|
||||
}
|
||||
iNdEx = postIndex
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipSpecs(data[iNdEx:])
|
||||
|
@ -5069,103 +5128,105 @@ var (
|
|||
func init() { proto.RegisterFile("specs.proto", fileDescriptorSpecs) }
|
||||
|
||||
var fileDescriptorSpecs = []byte{
|
||||
// 1563 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x57, 0xcd, 0x6e, 0x23, 0xc7,
|
||||
0x11, 0xe6, 0x88, 0x14, 0x7f, 0x6a, 0xc8, 0x5d, 0x6e, 0xc3, 0x3f, 0xb3, 0xb4, 0x43, 0x72, 0xe9,
|
||||
0x8d, 0x23, 0xc7, 0x88, 0x36, 0x61, 0x02, 0x67, 0x9d, 0x8d, 0x91, 0xf0, 0x2f, 0x5a, 0x46, 0x91,
|
||||
0x4c, 0xb4, 0xe4, 0x05, 0xf6, 0x44, 0xb4, 0x66, 0x5a, 0xe4, 0x40, 0xc3, 0xe9, 0x49, 0x4f, 0x0f,
|
||||
0x0d, 0xdd, 0x72, 0x34, 0xf6, 0x90, 0x37, 0xd0, 0x29, 0x40, 0xde, 0x20, 0xef, 0xb0, 0xc7, 0x1c,
|
||||
0x73, 0x12, 0x2c, 0x3e, 0x41, 0x80, 0xbc, 0x40, 0xd0, 0x3d, 0x3d, 0xe4, 0x30, 0x1e, 0x59, 0x06,
|
||||
0xa2, 0x5b, 0x77, 0xcd, 0xf7, 0x55, 0x77, 0x57, 0x7d, 0xac, 0x2a, 0x82, 0x19, 0x06, 0xd4, 0x0e,
|
||||
// 1586 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x6e, 0xe3, 0xc6,
|
||||
0x15, 0x16, 0x2d, 0x59, 0x3f, 0x87, 0xd2, 0xae, 0x76, 0x90, 0x1f, 0xae, 0x92, 0x4a, 0x5a, 0x65,
|
||||
0x9b, 0x3a, 0x0d, 0xea, 0x6d, 0xd5, 0x22, 0xdd, 0x74, 0x1b, 0xb4, 0xfa, 0xab, 0x57, 0x75, 0xed,
|
||||
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, 0xaf, 0x40, 0x89, 0x47, 0xbe, 0x70, 0x17,
|
||||
0xb4, 0x73, 0x08, 0xef, 0x66, 0x3a, 0x45, 0x5d, 0xa8, 0xae, 0xd3, 0x3c, 0x75, 0x1d, 0xa5, 0x8f,
|
||||
0x4a, 0xff, 0xe1, 0xea, 0xba, 0x65, 0xae, 0xf5, 0x30, 0x1e, 0x62, 0x73, 0x0d, 0x1a, 0x3b, 0x9d,
|
||||
0x6f, 0x8b, 0x50, 0xdb, 0x12, 0x0b, 0x7a, 0x07, 0x76, 0xdd, 0x05, 0x99, 0xd1, 0x98, 0x8e, 0xe3,
|
||||
0x0d, 0x1a, 0x41, 0xd1, 0x23, 0x67, 0xd4, 0x93, 0x92, 0x91, 0x61, 0xfb, 0xd9, 0x9d, 0xaa, 0xdb,
|
||||
0xff, 0x93, 0xc2, 0x8f, 0x7c, 0xc1, 0x2f, 0xb1, 0x26, 0x23, 0x0b, 0x4a, 0x36, 0x5b, 0x2c, 0x88,
|
||||
0x2f, 0xcb, 0x4b, 0x7e, 0xaf, 0x82, 0x93, 0x2d, 0x42, 0x50, 0x20, 0x7c, 0x16, 0x5a, 0x05, 0x65,
|
||||
0x56, 0x6b, 0x54, 0x87, 0x3c, 0xf5, 0x97, 0xd6, 0xae, 0x32, 0xc9, 0xa5, 0xb4, 0x38, 0x6e, 0x9c,
|
||||
0xf3, 0x0a, 0x96, 0x4b, 0xc9, 0x8b, 0x42, 0xca, 0xad, 0x92, 0x32, 0xa9, 0x35, 0xfa, 0x35, 0x14,
|
||||
0x17, 0x2c, 0xf2, 0x45, 0x68, 0x95, 0xd5, 0x65, 0x1f, 0x67, 0x5d, 0xf6, 0x48, 0x22, 0x74, 0xf9,
|
||||
0xd3, 0x70, 0xf4, 0x12, 0x1e, 0x85, 0x82, 0x05, 0xd3, 0x19, 0x27, 0x36, 0x9d, 0x06, 0x94, 0xbb,
|
||||
0xcc, 0x51, 0xd9, 0xb8, 0xa5, 0x8a, 0x0e, 0x75, 0x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0x54, 0xfc, 0xd0, 0x47, 0x50, 0xe3, 0x74, 0xe6, 0x86, 0x82,
|
||||
0x5f, 0x4e, 0x49, 0x24, 0xe6, 0xd6, 0xef, 0x15, 0xa1, 0x9a, 0x18, 0x7b, 0x91, 0x98, 0x37, 0xa6,
|
||||
0xb0, 0xb9, 0x06, 0x6a, 0x83, 0x29, 0x9f, 0x17, 0x52, 0xbe, 0xa4, 0x5c, 0x16, 0x67, 0x19, 0xe9,
|
||||
0xb4, 0x49, 0xa6, 0x21, 0xa4, 0x84, 0xdb, 0x73, 0xf5, 0x43, 0xa8, 0x60, 0xbd, 0x93, 0xca, 0x4e,
|
||||
0x72, 0xad, 0x95, 0xad, 0xb7, 0x9d, 0xff, 0x18, 0x50, 0x4d, 0x77, 0x09, 0x34, 0x88, 0x7b, 0x83,
|
||||
0x7a, 0xd2, 0x83, 0xee, 0xb3, 0xbb, 0xba, 0x8a, 0xaa, 0xc4, 0x5e, 0x24, 0x9d, 0x1d, 0xc9, 0x49,
|
||||
0x4e, 0x91, 0xd1, 0xaf, 0x60, 0x37, 0x60, 0x5c, 0x24, 0xbf, 0xc7, 0x66, 0x66, 0xf5, 0x64, 0x3c,
|
||||
0xa9, 0x5c, 0x31, 0xb8, 0x33, 0x87, 0x07, 0xdb, 0xde, 0xd0, 0x53, 0xc8, 0xbf, 0x1a, 0x4f, 0xea,
|
||||
0xb9, 0xc6, 0x07, 0x6f, 0xae, 0xda, 0xef, 0x6f, 0x7f, 0x7c, 0xe5, 0x72, 0x11, 0x11, 0x6f, 0x3c,
|
||||
0x41, 0x3f, 0x85, 0xdd, 0xe1, 0xf1, 0x09, 0xc6, 0x75, 0xa3, 0xd1, 0x7a, 0x73, 0xd5, 0xfe, 0x60,
|
||||
0x1b, 0x27, 0x3f, 0xb1, 0xc8, 0x77, 0x30, 0x3b, 0x5b, 0x0f, 0x37, 0xff, 0xd8, 0x01, 0x53, 0x97,
|
||||
0xa9, 0xfb, 0x1d, 0x6e, 0x7e, 0x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||
0xd6, 0x7d, 0x45, 0x69, 0xc2, 0x54, 0xb6, 0x58, 0xe8, 0xfd, 0x0a, 0x94, 0x78, 0xe4, 0x0b, 0x77,
|
||||
0x41, 0x3b, 0x87, 0xf0, 0x6e, 0xa6, 0x53, 0xd4, 0x85, 0xea, 0x3a, 0xcd, 0x53, 0xd7, 0x51, 0xfa,
|
||||
0xa8, 0xf4, 0x1f, 0xae, 0xae, 0x5b, 0xe6, 0x5a, 0x0f, 0xe3, 0x21, 0x36, 0xd7, 0xa0, 0xb1, 0xd3,
|
||||
0xf9, 0x6b, 0x09, 0x6a, 0x5b, 0x62, 0x41, 0xef, 0xc0, 0xae, 0xbb, 0x20, 0x33, 0x1a, 0xd3, 0x71,
|
||||
0xbc, 0x41, 0x23, 0x28, 0x7a, 0xe4, 0x8c, 0x7a, 0x52, 0x32, 0x32, 0x6c, 0x3f, 0xb9, 0x53, 0x75,
|
||||
0xfb, 0x7f, 0x50, 0xf8, 0x91, 0x2f, 0xf8, 0x25, 0xd6, 0x64, 0x64, 0x41, 0xc9, 0x66, 0x8b, 0x05,
|
||||
0xf1, 0x65, 0x79, 0xc9, 0xef, 0x55, 0x70, 0xb2, 0x45, 0x08, 0x0a, 0x84, 0xcf, 0x42, 0xab, 0xa0,
|
||||
0xcc, 0x6a, 0x8d, 0xea, 0x90, 0xa7, 0xfe, 0xd2, 0xda, 0x55, 0x26, 0xb9, 0x94, 0x16, 0xc7, 0x8d,
|
||||
0x73, 0x5e, 0xc1, 0x72, 0x29, 0x79, 0x51, 0x48, 0xb9, 0x55, 0x52, 0x26, 0xb5, 0x46, 0xbf, 0x84,
|
||||
0xe2, 0x82, 0x45, 0xbe, 0x08, 0xad, 0xb2, 0x3a, 0xec, 0xe3, 0xac, 0xc3, 0x1e, 0x49, 0x84, 0x2e,
|
||||
0x7f, 0x1a, 0x8e, 0x5e, 0xc2, 0xa3, 0x50, 0xb0, 0x60, 0x3a, 0xe3, 0xc4, 0xa6, 0xd3, 0x80, 0x72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, 0x8f, 0xc9, 0x97, 0x69, 0xa0, 0xae, 0x27,
|
||||
0xf1, 0x69, 0xb7, 0x7d, 0xa0, 0xe7, 0x50, 0xe0, 0xe4, 0x3c, 0x19, 0x50, 0x32, 0xf5, 0x8d, 0xc9,
|
||||
0xb9, 0xd8, 0x72, 0xa1, 0x18, 0xe8, 0xf7, 0x00, 0x8e, 0x1b, 0x06, 0x44, 0xd8, 0x73, 0xca, 0x75,
|
||||
0x9e, 0x32, 0xaf, 0x38, 0x5c, 0xa3, 0xb6, 0xbc, 0xa4, 0xd8, 0xe8, 0x10, 0x2a, 0x36, 0x49, 0x94,
|
||||
0x56, 0xbc, 0xbd, 0x9b, 0x0c, 0x7a, 0xda, 0x45, 0x5d, 0xba, 0x58, 0x5d, 0xb7, 0xca, 0x89, 0x05,
|
||||
0x97, 0x6d, 0xa2, 0x95, 0x77, 0x08, 0x35, 0x39, 0xab, 0x4f, 0x1d, 0x7a, 0x4e, 0x22, 0x4f, 0x84,
|
||||
0xaa, 0xf1, 0xdd, 0x52, 0x1f, 0xe5, 0xd8, 0x38, 0xd4, 0x38, 0x7d, 0xae, 0xaa, 0x48, 0xd9, 0x3a,
|
||||
0x2e, 0x40, 0xdc, 0x18, 0xee, 0x57, 0x26, 0x08, 0x0a, 0x0e, 0x11, 0x44, 0x29, 0xa3, 0x8a, 0xd5,
|
||||
0xba, 0xff, 0xe1, 0xdb, 0x9b, 0x66, 0xee, 0x9f, 0x37, 0xcd, 0xdc, 0xbf, 0x6f, 0x9a, 0xc6, 0x9f,
|
||||
0x56, 0x4d, 0xe3, 0xed, 0xaa, 0x69, 0xfc, 0x63, 0xd5, 0x34, 0xfe, 0xb5, 0x6a, 0x1a, 0x67, 0x45,
|
||||
0xf5, 0x8b, 0xfc, 0xf3, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x59, 0xc9, 0x0e, 0x81, 0x0f,
|
||||
0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -225,6 +225,12 @@ message ContainerSpec {
|
|||
|
||||
// DNSConfig allows one to specify DNS related configuration in resolv.conf
|
||||
DNSConfig dns_config = 15 [(gogoproto.customname) = "DNSConfig"];
|
||||
|
||||
// Healthcheck describes how to check the container is healthy. If the
|
||||
// container is considered unhealthy, it will be destroyed, its creating
|
||||
// task will exit and a new task will be rescheduled elsewhere. A container
|
||||
// is considered unhealthy after `Retries` number of consecutive failures.
|
||||
HealthConfig healthcheck = 16;
|
||||
}
|
||||
|
||||
// EndpointSpec defines the properties that can be configured to
|
||||
|
|
1135
vendor/src/github.com/docker/swarmkit/api/types.pb.go
vendored
1135
vendor/src/github.com/docker/swarmkit/api/types.pb.go
vendored
File diff suppressed because it is too large
Load diff
|
@ -408,6 +408,12 @@ message ContainerStatus {
|
|||
int32 exit_code = 3;
|
||||
}
|
||||
|
||||
// PortStatus specifies the actual allocated runtime state of a list
|
||||
// of port configs.
|
||||
message PortStatus {
|
||||
repeated PortConfig ports = 1;
|
||||
}
|
||||
|
||||
message TaskStatus {
|
||||
Timestamp timestamp = 1;
|
||||
|
||||
|
@ -438,6 +444,10 @@ message TaskStatus {
|
|||
oneof runtime_status {
|
||||
ContainerStatus container = 5;
|
||||
}
|
||||
|
||||
// HostPorts provides a list of ports allocated at the host
|
||||
// level.
|
||||
PortStatus port_status = 6;
|
||||
}
|
||||
|
||||
// NetworkAttachmentConfig specifies how a service should be attached to a particular network.
|
||||
|
@ -807,3 +817,26 @@ message BlacklistedCertificate {
|
|||
// was issued for the given CN.
|
||||
Timestamp expiry = 1;
|
||||
}
|
||||
|
||||
// HealthConfig holds configuration settings for the HEALTHCHECK feature.
|
||||
message HealthConfig {
|
||||
// Test is the test to perform to check that the container is healthy.
|
||||
// An empty slice means to inherit the default.
|
||||
// The options are:
|
||||
// {} : inherit healthcheck
|
||||
// {"NONE"} : disable healthcheck
|
||||
// {"CMD", args...} : exec arguments directly
|
||||
// {"CMD-SHELL", command} : run command with system's default shell
|
||||
repeated string test = 1;
|
||||
|
||||
// Interval is the time to wait between checks. Zero means inherit.
|
||||
Duration interval = 2;
|
||||
|
||||
// Timeout is the time to wait before considering the check to have hung.
|
||||
// Zero means inherit.
|
||||
Duration timeout = 3;
|
||||
|
||||
// Retries is the number of consecutive failures needed to consider a
|
||||
// container as unhealthy. Zero means inherit.
|
||||
int32 retries = 4;
|
||||
}
|
||||
|
|
|
@ -489,6 +489,28 @@ func taskUpdateEndpoint(t *api.Task, endpoint *api.Endpoint) {
|
|||
t.Endpoint = endpoint.Copy()
|
||||
}
|
||||
|
||||
func isIngressNetworkNeeded(s *api.Service) bool {
|
||||
if s == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
if s.Spec.Endpoint == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
for _, p := range s.Spec.Endpoint.Ports {
|
||||
// The service to which this task belongs is trying to
|
||||
// expose ports with PublishMode as Ingress to the
|
||||
// external world. Automatically attach the task to
|
||||
// the ingress network.
|
||||
if p.PublishMode == api.PublishModeIngress {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func (a *Allocator) taskCreateNetworkAttachments(t *api.Task, s *api.Service) {
|
||||
// If task network attachments have already been filled in no
|
||||
// need to do anything else.
|
||||
|
@ -497,11 +519,7 @@ func (a *Allocator) taskCreateNetworkAttachments(t *api.Task, s *api.Service) {
|
|||
}
|
||||
|
||||
var networks []*api.NetworkAttachment
|
||||
|
||||
// The service to which this task belongs is trying to expose
|
||||
// ports to the external world. Automatically attach the task
|
||||
// to the ingress network.
|
||||
if s != nil && s.Spec.Endpoint != nil && len(s.Spec.Endpoint.Ports) != 0 {
|
||||
if isIngressNetworkNeeded(s) {
|
||||
networks = append(networks, &api.NetworkAttachment{Network: a.netCtx.ingressNetwork})
|
||||
}
|
||||
|
||||
|
@ -638,7 +656,7 @@ func (a *Allocator) allocateService(ctx context.Context, s *api.Service) error {
|
|||
// The service is trying to expose ports to the external
|
||||
// world. Automatically attach the service to the ingress
|
||||
// network only if it is not already done.
|
||||
if len(s.Spec.Endpoint.Ports) != 0 {
|
||||
if isIngressNetworkNeeded(s) {
|
||||
var found bool
|
||||
for _, vip := range s.Endpoint.VirtualIPs {
|
||||
if vip.NetworkID == nc.ingressNetwork.ID {
|
||||
|
@ -668,7 +686,7 @@ func (a *Allocator) allocateService(ctx context.Context, s *api.Service) error {
|
|||
// If the service doesn't expose ports any more and if we have
|
||||
// any lingering virtual IP references for ingress network
|
||||
// clean them up here.
|
||||
if s.Spec.Endpoint == nil || len(s.Spec.Endpoint.Ports) == 0 {
|
||||
if !isIngressNetworkNeeded(s) {
|
||||
if s.Endpoint != nil {
|
||||
for i, vip := range s.Endpoint.VirtualIPs {
|
||||
if vip.NetworkID == nc.ingressNetwork.ID {
|
||||
|
@ -755,7 +773,10 @@ func (a *Allocator) allocateTask(ctx context.Context, t *api.Task) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
taskUpdateEndpoint(t, s.Endpoint)
|
||||
if s.Endpoint != nil {
|
||||
taskUpdateEndpoint(t, s.Endpoint)
|
||||
taskUpdated = true
|
||||
}
|
||||
}
|
||||
|
||||
for _, na := range t.Networks {
|
||||
|
@ -781,6 +802,7 @@ func (a *Allocator) allocateTask(ctx context.Context, t *api.Task) (err error) {
|
|||
taskUpdated = true
|
||||
}
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -128,8 +128,12 @@ func (pa *portAllocator) serviceAllocatePorts(s *api.Service) (err error) {
|
|||
for _, portConfig := range portConfigs {
|
||||
// Make a copy of port config to create runtime state
|
||||
portState := portConfig.Copy()
|
||||
if err = pa.portSpaces[portState.Protocol].allocate(portState); err != nil {
|
||||
return
|
||||
|
||||
// Do an actual allocation only if the PublishMode is Ingress
|
||||
if portConfig.PublishMode == api.PublishModeIngress {
|
||||
if err = pa.portSpaces[portState.Protocol].allocate(portState); err != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
if s.Endpoint == nil {
|
||||
|
@ -148,6 +152,12 @@ func (pa *portAllocator) serviceDeallocatePorts(s *api.Service) {
|
|||
}
|
||||
|
||||
for _, portState := range s.Endpoint.Ports {
|
||||
// Do an actual free only if the PublishMode is
|
||||
// Ingress
|
||||
if portState.PublishMode != api.PublishModeIngress {
|
||||
continue
|
||||
}
|
||||
|
||||
pa.portSpaces[portState.Protocol].free(portState)
|
||||
}
|
||||
|
||||
|
@ -177,6 +187,11 @@ func (pa *portAllocator) isPortsAllocated(s *api.Service) bool {
|
|||
}
|
||||
|
||||
for i, portConfig := range s.Spec.Endpoint.Ports {
|
||||
// Ignore ports which are not PublishModeIngress
|
||||
if portConfig.PublishMode != api.PublishModeIngress {
|
||||
continue
|
||||
}
|
||||
|
||||
// The port configuration slice and port state slice
|
||||
// are expected to be in the same order.
|
||||
portState := s.Endpoint.Ports[i]
|
||||
|
|
|
@ -131,11 +131,13 @@ func New(config *Config) (*Manager, error) {
|
|||
// externally-reachable address.
|
||||
tcpAddr := config.AdvertiseAddr
|
||||
|
||||
var tcpAddrPort string
|
||||
if tcpAddr == "" {
|
||||
// Otherwise, we know we are joining an existing swarm. Use a
|
||||
// wildcard address to trigger remote autodetection of our
|
||||
// address.
|
||||
_, tcpAddrPort, err := net.SplitHostPort(config.ProtoAddr["tcp"])
|
||||
var err error
|
||||
_, tcpAddrPort, err = net.SplitHostPort(config.ProtoAddr["tcp"])
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("missing or invalid listen address %s", config.ProtoAddr["tcp"])
|
||||
}
|
||||
|
@ -189,7 +191,7 @@ func New(config *Config) (*Manager, error) {
|
|||
} else if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if proto == "tcp" {
|
||||
if proto == "tcp" && tcpAddrPort == "0" {
|
||||
// in case of 0 port
|
||||
tcpAddr = l.Addr().String()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue