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

v0.12.x: A migration helper to disable core controller services when needed #1640

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.

…ces (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.
@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 danielfm
You can assign the PR to them by writing /assign @danielfm 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 size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 24, 2019
@davidmccormick davidmccormick changed the title Add a new service that allows kube-aws upgrades to disable core servi… v0.12.x: Add a new service that allows kube-aws upgrades to disable core servi… Jun 24, 2019
@davidmccormick davidmccormick changed the title v0.12.x: Add a new service that allows kube-aws upgrades to disable core servi… v0.12.x: A migration helper to disable core controller services when needed Jun 24, 2019
@codecov-io
Copy link

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff            @@
##           v0.12.x    #1640   +/-   ##
========================================
  Coverage    38.13%   38.13%           
========================================
  Files           75       75           
  Lines         4647     4647           
========================================
  Hits          1772     1772           
  Misses        2630     2630           
  Partials       245      245

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 1774526...c685308. Read the comment docs.

@davidmccormick davidmccormick added this to the v0.12.4 milestone Jun 27, 2019
@davidmccormick davidmccormick merged commit 9f21fb8 into kubernetes-retired:v0.12.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.

3 participants