Docker Swarm

Clustering mode built into Docker Engine, with an automatic root CA and mutually authenticated node traffic.

Provider
default
Category
Compute
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
autoscalingboolean—nofalse▸ false
certificateRotationDays · component propertyinteger—no90inherited
managedboolean—nofalse▸ false
mutualTls · component propertyboolean—notrueinherited
networkPolicyboolean—no—inherited
nodeCountinteger—no—inherited
overlayNetworkEncryption · component propertyboolean—nofalseinherited
privateControlPlaneboolean—no—inherited
raftManagers · component propertyinteger—no1inherited
rbacboolean—no—▸ false
versionstring—no—inherited
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "docker-swarm", component: "docker-swarm" }
Other Container orchestrator products · 35
Container Service for Kubernetesalibaba-ackalibabacloudcontainer-orchestratorAmazon Elastic Container Serviceaws-ecsawscontainer-orchestratorAmazon Elastic Kubernetes Serviceaws-eksawscontainer-orchestratorRed Hat OpenShift Service on AWSaws-rosaawscontainer-orchestratorAzure Kubernetes Serviceazure-aksazurecontainer-orchestratorAzure Kubernetes Fleet Managerazure-kubernetes-fleet-managerazurecontainer-orchestratorAzure Red Hat OpenShiftazure-red-hat-openshiftazurecontainer-orchestratorAzure Service Fabricazure-service-fabricazurecontainer-orchestratorCloudflare Containerscloudflare-containerscloudflarecontainer-orchestratorGeneric container orchestratorcontainer-orchestratorcontainer-orchestratorCoreWeavecoreweavecontainer-orchestratork0sk0scontainer-orchestratorK3sk3scontainer-orchestratorKarmadakarmadacontainer-orchestratorKuberneteskubernetescontainer-orchestratorMicroK8smicrok8scontainer-orchestratorHashiCorp Nomadnomadcontainer-orchestratorRed Hat OpenShiftopenshiftcontainer-orchestratorRancherranchercontainer-orchestratorDigitalOcean Kubernetesdigitalocean-kubernetesdigitaloceancontainer-orchestratorGoogle Distributed Cloud (software only) for bare metalgoogle-distributed-cloud-bare-metalgcpcontainer-orchestratorGoogle Distributed Cloud (software only) for VMwaregoogle-distributed-cloud-vmwaregcpcontainer-orchestratorGoogle Kubernetes Enginegoogle-gkegcpcontainer-orchestratorGKE Autopilotgoogle-gke-autopilotgcpcontainer-orchestratorGKE Enterprise fleetgoogle-gke-enterprisegcpcontainer-orchestratorGKE Multi-Cloudgoogle-gke-multi-cloudgcpcontainer-orchestratorCluster Services for OpenShiftgoogle-openshift-cluster-servicesgcpcontainer-orchestratorIBM Cloud Kubernetes Serviceibm-kubernetes-serviceibmcontainer-orchestratorRed Hat OpenShift on IBM Cloudibm-openshiftibmcontainer-orchestratorIBM Cloud Satelliteibm-satelliteibmcontainer-orchestratorOCI Kubernetes Engineoci-kubernetes-engineocicontainer-orchestratorOKE Virtual Node Pooloci-oke-virtual-node-poolocicontainer-orchestratorOpenStack Magnumopenstack-magnumopenstackcontainer-orchestratorOpenStack Zunopenstack-zunopenstackcontainer-orchestratorOUTSCALE Kubernetes as a Serviceoutscale-oksoutscalecontainer-orchestrator
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Docker Swarm mode, the clustering built into Docker Engine. Per "Manage swarm security with public key
# infrastructure (PKI)" swarm init generates a root CA and every node gets a certificate, so node-to-node
# traffic is mutually authenticated by default and certificates renew every three months.
schemaVersion: "1"
type: "component"
id: "docker-swarm"
kind: "container-orchestrator"
provider: "default"
docs: "https://docs.docker.com/engine/swarm/how-swarm-mode-works/pki/"
defaults:
  managed: false
  autoscaling: false
  rbac: false
properties:
  mutualTls:
    type: "boolean"
    default: true
  certificateRotationDays:
    type: "integer"
    default: 90
  overlayNetworkEncryption:
    type: "boolean"
    default: false
  raftManagers:
    type: "integer"
    default: 1

The same page as markdown, for an agent: /catalogue/components/docker-swarm.md