-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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
Support for etcd migration #30500
Support for etcd migration #30500
Conversation
@@ -27,7 +27,7 @@ | |||
"containers":[ | |||
{ | |||
"name": "etcd-container", | |||
"image": "gcr.io/google_containers/etcd:3.0.3", | |||
"image": "gcr.io/groovy-sentry-504/etcd:3.0.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lavalamp - this is the result of calling "make push" on etcd images directory after changes from this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that the way to proceed with this PR would be:
- first it needs to be LGTMed
- the from this PR I will build a new image and push to gcr
- then we will merge this PR
Or am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think that's the process.
481976e
to
102c9d0
Compare
@lavalamp - the third commit is not yet fully tested. |
To be clear - it's not yet tested on container VM. Also, there are still some issues with the "migrate-if-needed.sh" script, but this will result in some more local changes, to the overall idea shouldn't change. |
OK - I checked that ConvtainerVM also works (modulo some problems with the migrate-if-needed script that I will fix on Monday). |
2257add
to
d27c118
Compare
@lavalamp - actually, I think I fixed the problem with "migrate-if-needed" script too. So this is basically ready for review. |
@@ -36,7 +36,7 @@ KUBE_APISERVER_REQUEST_TIMEOUT=300 | |||
PREEMPTIBLE_NODE=${PREEMPTIBLE_NODE:-false} | |||
PREEMPTIBLE_MASTER=${PREEMPTIBLE_MASTER:-false} | |||
|
|||
MASTER_OS_DISTRIBUTION=${KUBE_MASTER_OS_DISTRIBUTION:-${KUBE_OS_DISTRIBUTION:-gci}} | |||
MASTER_OS_DISTRIBUTION=${KUBE_MASTER_OS_DISTRIBUTION:-${KUBE_OS_DISTRIBUTION:-debian}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
d27c118
to
d9e2039
Compare
d9e2039
to
93acb75
Compare
e30691c
to
f32be7d
Compare
@lavalamp - PTAL
|
lgtm, just nits. Review status: 0 of 9 files reviewed at latest revision, 6 unresolved discussions, some commit checks failed. cluster/gce/gci/configure-helper.sh, line 546 [r4] (raw file):
To what file will this change apply? I can't find the thing that it will be running against in this PR. cluster/images/etcd/Makefile, line 22 [r4] (raw file):
revert? cluster/saltbase/salt/etcd/etcd.manifest, line 30 [r1] (raw file):
|
f32be7d
to
d18c8e6
Compare
Review status: 0 of 9 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed. cluster/gce/gci/configure-helper.sh, line 546 [r4] (raw file):
|
@lavalamp - comments applied There is one more thing we need to solve, which is "under what tag push the new image". It probably shouldn't be 3.0.4, but probably also not 3.0.5. Maybe 3.0.4.1? Or sth like that? |
c2a9753
to
7a029dc
Compare
I can see arguments for any of:
|
7a029dc
to
f3c3267
Compare
OK - so I pushed the image "3.0.4-migration.1" to gcr. But in head we are still leaving the main image. This is just to enable more tests. |
Self-applying lgtm based on above comments. |
GCE e2e build/test passed for commit f3c3267. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit f3c3267. |
Automatic merge from submit-queue |
This change is![Reviewable](https://camo.githubusercontent.com/2d899f4291d07d3cd2fa4aaae1e3b243f164c23fce87d30a589ace0d496a444c/68747470733a2f2f72657669657761626c652e6b756265726e657465732e696f2f7265766965775f627574746f6e2e737667)
@xiang90 @timothysc @hongchaodeng