Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart unhealthy API servers when provisioning/upgrading clusters #1243

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

xmudrii
Copy link
Member

@xmudrii xmudrii commented Feb 8, 2021

What this PR does / why we need it:

This is a temporary solution for the API server issue.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
xref #1222

Does this PR introduce a user-facing change?:

Restart the unhealthy API servers when provisioning and upgrading clusters. This should temporarily fix issues with provisioning the Kubernetes 1.20 clusters

/assign @kron4eg

@xmudrii xmudrii requested a review from kron4eg February 8, 2021 12:34
@kubermatic-bot kubermatic-bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Feb 8, 2021
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xmudrii

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

The pull request process is described 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

@kubermatic-bot kubermatic-bot added dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 8, 2021
pkg/scripts/node.go Outdated Show resolved Hide resolved
pkg/tasks/nodes.go Outdated Show resolved Hide resolved
@xmudrii
Copy link
Member Author

xmudrii commented Feb 8, 2021

@kron4eg Addressed comments, PTAL.

@xmudrii
Copy link
Member Author

xmudrii commented Feb 8, 2021

/retest

pkg/scripts/node.go Outdated Show resolved Hide resolved
@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 8, 2021
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: b7764d4b4f03d1770f4543d485dfd2a6d07669a6

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
@kubermatic-bot kubermatic-bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 8, 2021
@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 8, 2021
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 1da7c1e990d5b1e748c217225908734c7e8e01ab

@kubermatic-bot kubermatic-bot merged commit e279aec into master Feb 8, 2021
@kubermatic-bot kubermatic-bot deleted the restart-apiserver branch February 8, 2021 16:50
hwuethrich added a commit to hwuethrich/kubeone that referenced this pull request Aug 3, 2021
* upstream/master: (21 commits)
  Improve the installation script (kubermatic#1253)
  Update README.md (kubermatic#1250)
  Add the changelog for the v1.2.0-beta.1 release (kubermatic#1249)
  Fix credentials in addons (kubermatic#1248)
  fix(docs): fix broken master documentation link (kubermatic#1246)
  Add encryption providers proposal (kubermatic#1213)
  Use Docker for restarting API server on Flatcar (kubermatic#1245)
  Add the Kubernetes 1.20 jobs (kubermatic#1244)
  Restart unhealthy API servers when provisioning/upgrading clusters (kubermatic#1243)
  Add rsync on CentOS and Amazon Linux (kubermatic#1240)
  Update machine-controller to v1.25.0 (kubermatic#1238)
  Update the kubeone-e2e image (kubermatic#1239)
  Update KubeOne CI jobs (kubermatic#1237)
  Disallow and deprecate the PodPresets feature (kubermatic#1236)
  Fix confusing default in OpenIDConnect (kubermatic#1235)
  Add debian support (kubermatic#1233)
  Drop mounting flexvolume plugins into the openstack CCM (kubermatic#1234)
  Remove CoreOS (kubermatic#1232)
  Add the changelog for the v1.2.0-beta.0 release (kubermatic#1230)
  Add containerRuntime API to the full config (kubermatic#1229)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants