Conversation
681fae9 to
495c6e7
Compare
invidian
left a comment
There was a problem hiding this comment.
(Reviewed from GitHub app for Android, let's see how it went 😁)
495c6e7 to
cecd666
Compare
cecd666 to
b1e00de
Compare
b1e00de to
a6f6948
Compare
a6f6948 to
3b847f6
Compare
3b847f6 to
cb81565
Compare
|
|
||
| **NOTE:** On clusters with a single controller node only, delete the old `kube-apiserver` ReplicaSet during cluster update: | ||
| ```sh | ||
| kubectl delete rs -n kube-system $(kubectl get rs -n kube-system -l k8s-app=kube-apiserver --no-headers=true --sort-by=metadata.creationTimestamp | tac | tail -n +2 | awk '{print $1}') || true |
There was a problem hiding this comment.
How does this work? This will only apply when there are two apiserver replicasets, right? In that case maybe it makes sense to make a loop so the user can run it while the cluster is updating?
There was a problem hiding this comment.
Also, when I tried this the update process got stopped twice, I think we should mention to users that if the update process stops they should try again.
There was a problem hiding this comment.
Yes, it is expected that update process will get interrupted (as we remove old pod and we must wait for new one).
How does this work? This will only apply when there are two apiserver replicasets, right? In that case maybe it makes sense to make a loop so the user can run it while the cluster is updating?
During the upgrade, the new one should get created, but it will never converge. At this point, removing old one allows it to converge.
If there is just one for whatever reason, this comment just do not anything, so it's safe. It's also idempotent, just in case.
3188cbc to
227cc48
Compare
227cc48 to
43371cc
Compare
|
Updated |
43371cc to
3d6bc66
Compare
Signed-off-by: knrt10 <kautilya@kinvolk.io>
Signed-off-by: knrt10 <kautilya@kinvolk.io>
Signed-off-by: knrt10 <kautilya@kinvolk.io>
3d6bc66 to
c0f0ea7
Compare
|
Thank you everyone for your review. Once tests passes, will start the release |

Signed-off-by: knrt10 kautilya@kinvolk.io