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

add a new blog for etcd learner mode usage in kubeadm join #43095

Merged
merged 2 commits into from
Sep 24, 2023

Conversation

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 18, 2023
@k8s-ci-robot k8s-ci-robot added the area/blog Issues or PRs related to the Kubernetes Blog subproject label Sep 18, 2023
@k8s-ci-robot k8s-ci-robot added language/en Issues or PRs related to English language sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 18, 2023
@netlify
Copy link

netlify bot commented Sep 18, 2023

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 59791fd
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/65080b343ef2b30008e3889c
😎 Deploy Preview https://deploy-preview-43095--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Sep 18, 2023

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 764487f
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/650d24fb647c3b00084bcc5f
😎 Deploy Preview https://deploy-preview-43095--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@windsonsea windsonsea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pick some style issues.

Copy link
Member

@neolit123 neolit123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM, thanks for the blog!


### Join Nodes to the ETCD Learner Mode Cluster

Before joining a node to the ETCD learner mode cluster, ensure that the control plane nodes and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Before joining a node to the ETCD learner mode cluster, ensure that the control plane nodes and
Before joining a worker node to the ETCD learner mode cluster, ensure that the control plane nodes and

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before joining a control-plane node to the etcd learner mode cluster, ensure that the control plane nodes
and all etcd members are healthy.

Before joining a worker node to the etcd learner mode cluster, ensure that the control plane nodes are healthy.

Copy link
Contributor

@sftim sftim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

Here's some more feedback. I suggest pushing the publication date back a few days to allow time for reviews etc. Please pick a weekday.


**Author:** Paco Xu (DaoCloud)

Kubeadm now supports etcd learner mode, which allows you to enhance the resilience and stability
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Kubeadm now supports etcd learner mode, which allows you to enhance the resilience and stability
The [`kubeadm`](/docs/reference/setup-tools/kubeadm/) tool now supports etcd learner mode, which
allows you to enhance the resilience and stability

(main aim here is to use the correct case, “kubeadm” not “Kubeadm”).

Copy link
Member Author

@pacoxu pacoxu Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the title as well. Is that OK?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, I think it'd be useful to show more detail about adding nodes. I would:

  • also mention that there should be an odd number of control plane nodes (eventually! - it's OK to briefly have an even number during cluster setup)
  • make it clear that the etcd cluster is stacked onto the control plane nodes
  • explain what shell command lets you check that etcd is healthy and that a second, third control plane node has joined OK
  • explain what shell commend lets you check that the Kubernetes level control-plane aspects are healthy before you add another control plane node

Maybe also:

  • mention that adding worker nodes is almost exactly the same as before, and is included for completeness

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some etcd cluster check related intro in bf6c784

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 19, 2023
@pacoxu
Copy link
Member Author

pacoxu commented Sep 19, 2023

Thanks for the details comments and more detail suggestions.

Here's some more feedback. I suggest pushing the publication date back a few days to allow time for reviews etc. Please pick a weekday.

I changed it to next Monday.

Copy link
Member

@neolit123 neolit123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tech content LGTM
thanks

@pacoxu
Copy link
Member Author

pacoxu commented Sep 22, 2023

tech content LGTM
thanks

Updated. Thanks.

@sftim
Copy link
Contributor

sftim commented Sep 24, 2023

Thanks

/lgtm
/approve

(side note: this'll go out one day before “Happy 7th Birthday kubeadm”)

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

LGTM label has been added.

Git tree hash: 45497879d130f7f000dbe166511e8116f03e9d36

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sftim

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 24, 2023
@k8s-ci-robot k8s-ci-robot merged commit 8662094 into kubernetes:main Sep 24, 2023
6 checks passed
@pacoxu
Copy link
Member Author

pacoxu commented Sep 25, 2023

(side note: this'll go out one day before “Happy 7th Birthday kubeadm”)

🎉
Tomorrow is also the first day of kubecon China 2023(including kubernetes contributor summit).

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. area/blog Issues or PRs related to the Kubernetes Blog subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
Status: Published
Development

Successfully merging this pull request may close these issues.

None yet

6 participants