Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Add etcd-manager under etcd-manager/ subdirectory #162

Merged
merged 609 commits into from
Sep 4, 2020

Conversation

justinsb
Copy link
Contributor

@justinsb justinsb commented Jul 25, 2020

As discussed in office hours, adding etcd-manager in a subdirectory to enable the projects to converge.

justinsb and others added 30 commits January 23, 2019 11:38
We make the transition to TLS explicit, and it is driven by the
controller reconciliation loop.  If the controller determines that we
should be TLS, we update the PeerURL, rewriting http -> https.  We do
this first in the cluster (through raft), then we restart the etcd
process with an RPC request.

Lots of testing also!
Leads to much faster recovery
Cancel prepare if we fail to expand cluster
We don't want to assume that the controller works for newer etcd versions.
…if_we_dont_support

Don't act as leader for unknown etcd version
Added a few places where I forgot this - mostly tests, but also some backup code paths.
…clients

Don't forget to call client.Close()
Not all paths are supported (e.g. downgrades don't work), so we have a
"safe list" of transitions that are safe.
…ades

Support in-place upgrades from v3 -> v3
…failures

travis: show output from failed tests only
The logic was too strict - it failed if we restarted etcd (as we do
when enabling TLS).
…ady_logic

Tests: fix wait-for-ready logic
Includes some important crypto fixes
We sync up with the etcd release version to avoid confusion.
We include /rootfs and symlink dereferencing.

This allows recognizing mounted devices on CentOS on GCE.
@justinsb justinsb force-pushed the add_etcd_manager branch 2 times, most recently from 926bedf to 7b4269f Compare August 29, 2020 11:49
@justinsb
Copy link
Contributor Author

I cracked the code @dlipovetsky - clabot is happy :-)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 29, 2020
…plication-credentials

Adds support for using OS application credentials
…auth-swift

Fixes usage of OpenStack Swift reauthentication
…n-base

Move from debian-hyperkube-base to debian-base
Fix some typos picked up by verify-spelling
@k8s-ci-robot k8s-ci-robot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Aug 29, 2020
@justinsb justinsb force-pushed the add_etcd_manager branch 2 times, most recently from 2397769 to b791c4d Compare September 2, 2020 15:40
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Sep 2, 2020
@justinsb
Copy link
Contributor Author

justinsb commented Sep 3, 2020

@dlipovetsky I think this is green (with a few exclusions, admittedly!)

@dlipovetsky
Copy link
Contributor

image

😆

Thank you for seeing this through, @justinsb!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 3, 2020
@dlipovetsky
Copy link
Contributor

I wonder why there are rebase conflicts...

@justinsb
Copy link
Contributor Author

justinsb commented Sep 4, 2020

I think/hope the rebase conflicts were from before I figured out the correct procedure! If not I guess it won't merge, so ....

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 4, 2020
@k8s-ci-robot k8s-ci-robot merged commit 1138060 into kubernetes-retired:master Sep 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.