New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

swarm-migration

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swarm-migration

Migrate all services from one swarm cluster to another.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Swarm Migration

Migrate all services from one swarm cluster to another.

This tools was created with the propose to support inmutable server strategy for creation of docker swarm cluster. One way to accomplish is that every change that you need to make,

Configuration

As this tools use node config library you must to have a configuration file located in ./config/default.EXT. As file extension could be many different options I invited you to see more....

Yaml configuration file example

docker:
  origin:
    url: "http://my.docker.tld/path"
    apiKey: "8cfcd5fc-190b-497c-9efa-603b948e1ea5"
  destination:
    url: "http://my.docker.tld/path"
    apiKey: "8cfcd5fc-190b-497c-9efa-603b948e1ea5"
  registry:
    username: username
    password: password
    serveraddress: "https://my.docker-registry.tld"

logging:
  level: info

Examples

In order to migrate services from one cluster to another you must...

Migrate networks

Migrate services

Roadmap

  • Use private registry according to image name
  • Add support for %HOME/.swamigrc config file

FAQs

Package last updated on 30 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts