User modifiable swarm configuration. SwarmSpec

interface SwarmSpec {
    CAConfig?: null | SwarmSpecCAConfig;
    Dispatcher?: null | SwarmSpecDispatcher;
    EncryptionConfig?: SwarmSpecEncryptionConfig;
    Labels?: {
        [key: string]: string;
    };
    Name?: string;
    Orchestration?: null | SwarmSpecOrchestration;
    Raft?: SwarmSpecRaft;
    TaskDefaults?: SwarmSpecTaskDefaults;
}

Properties

CAConfig?: null | SwarmSpecCAConfig
Dispatcher?: null | SwarmSpecDispatcher
EncryptionConfig?: SwarmSpecEncryptionConfig
Labels?: {
    [key: string]: string;
}

User-defined key/value metadata.

Name?: string

Name of the swarm.

Orchestration?: null | SwarmSpecOrchestration
TaskDefaults?: SwarmSpecTaskDefaults