Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

v0.13.x: A migration helper to disable core controller services when needed #1642

Conversation

davidmccormick
Copy link
Contributor

@davidmccormick davidmccormick commented Jun 24, 2019

Add a new service that allows kube-aws upgrades to disable core services (kube-apiserver, kube-controller-manager and kube-scheduler) on existing/legacy controllers by sending them a request to do so via a special configmap.

Update the handle-cluster-cidr-changes to use the functionality instead of its own custom job - which was unreliable.

The idea is to re-use this service when performing upgrades where the incoming kubernetes version is 2 or more versions newer than the existing controllers, so that we can shut-down the controller-manager and scheduler on the old controllers in order to force them to run on the new node and prevent upgrade incompatibilities.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 24, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign davidmccormick
You can assign the PR to them by writing /assign @davidmccormick in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 24, 2019
@davidmccormick davidmccormick changed the title v0.13.x: Add migration disable service A migration helper to disable core controller services when neededAdd migration disable service Jun 24, 2019
@davidmccormick davidmccormick changed the title A migration helper to disable core controller services when neededAdd migration disable service v0.13.x: A migration helper to disable core controller services when needed Jun 24, 2019
@codecov-io
Copy link

Codecov Report

Merging #1642 into v0.13.x will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           v0.13.x    #1642   +/-   ##
========================================
  Coverage    25.49%   25.49%           
========================================
  Files           98       98           
  Lines         5049     5049           
========================================
  Hits          1287     1287           
  Misses        3619     3619           
  Partials       143      143

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca91b7f...d1613f9. Read the comment docs.

@davidmccormick davidmccormick added this to the v0.13.0-rc.3 milestone Jun 27, 2019
@davidmccormick davidmccormick merged commit 0af831a into kubernetes-retired:v0.13.x Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants