Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Develop migration plan for docker to k8s #4

Closed
billimek opened this issue May 31, 2018 · 2 comments
Closed

Develop migration plan for docker to k8s #4

billimek opened this issue May 31, 2018 · 2 comments

Comments

@billimek
Copy link
Owner

When migrating the existing docker containers from swarm, want to do it in a way that results in little downtime overall.

@billimek
Copy link
Owner Author

One approach may be to create a bunch of ingress/service pairs to handle the 'external' routes currently supported by traefik on swarm (e.g. create one for sonarr.mydomain that points to the sonar listening port on swarm directly, or point to traefik on swarm)

@billimek
Copy link
Owner Author

billimek commented Jun 3, 2018

Because #3 works, will take the following approach:

  1. Configure traefik on k8s to reference all existing swarm-based docker containers as external services
  2. Point haproxy load balancer to traefik running on k8s cluster for all 443/80 traffic instead of the traefik running on swarm and stop traefik on swarm
  3. As swarm-based docker containers are migrated to the k8s cluster, adjust the traefik ingress to reference the k8s-based container instead of the same thing running on swarm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant