bookingcom / shipper

Kubernetes native multi-cluster canary or blue-green rollouts using Helm
Apache License 2.0
733 stars 39 forks source link

Split shipper command into two separate binaries #291

Closed juliogreff closed 4 years ago

juliogreff commented 4 years ago

As we’re working on splitting Shipper itself into two separate components (#272), an obvious first step is to split the shipper command into two. I’m going with shipper-mgmt and shipper-app, because that's how we described it in the epic.

In this first step, we just moved controllers around and not changed behavior, as changes to the binaries, CI pipeline and k8s Deployments are a fair amount of code churn by themselves.

shipper-mgmt now runs the following controllers:

shipper-app now runs the following controllers:

Also, as we’d need shipper-state-metrics to be deployed to every application cluster as well as the management cluster, having two separate Deployments becomes a bit bothersome. Also, most of the application cluster bits are not exactly in use, I'm dropping those in favor of keeping these metrics only in shipper-mgmgt

Closes #273, #195.