This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
shipperctl: split "shipperctl admin clusters apply" #292
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These already exist as go files in `pkg/crd`, and keeping both of those in sync was annoying without a very good reason, besides being able to only install them without running shipperctl. We're going to split shipperctl into more commands in follow up commits, so this is no longer necessary.
First of all, this does away with the "admin" namespace. Commands were getting too long for our taste. Second, `shipperctl admin clusters apply` is now split into two, supposed to be called in order, like so: ``` shipperctl clusters setup management shipperctl clusters join -f clusters.yaml ``` The first only installs Shipper in the management cluster, and the second joins application clusters to the management one. This allows us to roll out updates to shipper without necessarily having to specify application clusters to be joined.
osdrv
approved these changes
Mar 6, 2020
parhamdoustdar
approved these changes
Mar 12, 2020
osdrv
pushed a commit
that referenced
this pull request
Mar 23, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
osdrv
pushed a commit
that referenced
this pull request
Apr 6, 2020
Up until now, shipper has been installing CRD objects to management clusters only and this was a part of `shipperctl clusters setup management` command. As we're splitting shipper in management and application components, these components need their own CRDs to operate on the relevant cluster. Therefore, an updated list of CRD groups: * Management - Application - Release - Cluster - RolloutBlock * Application - InstallationTarget - CapacityTarget - TrafficTarget Folow-up to: #292 Signed-off-by: Oleg Sidorov <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First of all, this does away with the "admin" namespace. Commands were
getting too long for our taste.
Second,
shipperctl admin clusters apply
is now split into two,supposed to be called in order, like so:
The first only installs Shipper in the management cluster, and the
second joins application clusters to the management one. This allows us
to roll out updates to shipper without necessarily having to specify
application clusters to be joined.