Skip to content

Conversation

@adskyiproger
Copy link
Collaborator

Description

Original issue: opencrvs/opencrvs-core#10858

Related PR: opencrvs/opencrvs-countryconfig#1241

Documentation: https://app.gitbook.com/o/zub8C4BetmW3a9Bj4Cd4/s/vb1wmX797mfLLw63AZfE/~/edit/~/changes/48/setup/3.-installation/4.4-advanced-topics/migration-from-docker-swarm-guide

Testing

How to test locally?

# Install dependencies
yarn install

# Set environment variables
# Path to Farajaland inventory files
export OLD_INVENTORY_PATH=../opencrvs-farajaland/infrastructure/server-setup/inventory/
# Environment name
export ENVIRONMENT=development


All changed files are documented in PR: https://github.com/opencrvs/infrastructure/pull/234

# Run script
yarn environment:swarm-to-k8s

Output for development environment

image

Output for staging

image

Output for production

image

Output for production (multiple workers)

NOTE: Environment name in this example is swarm-to-k8s, don't be confused with branch name.

image

Output for backup and jumpbox

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants