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 zh doc introducing the new features of kubekey #1053

Merged
merged 1 commit into from Feb 17, 2022

Conversation

24sama
Copy link
Collaborator

@24sama 24sama commented Feb 14, 2022

Signed-off-by: 24sama leo@kubesphere.io

What type of PR is this?

/kind documentation

What this PR does / why we need it:

Add a zh doc introducing the new features of kubekey.
Please take a look at this PR, thanks.
/cc @kubesphere/sig-installation @kubesphere/sig-docs

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


@ks-ci-bot ks-ci-bot requested a review from a team February 14, 2022 06:25
@ks-ci-bot ks-ci-bot added the kind/documentation Categorizes issue or PR as related to documentation. label Feb 14, 2022
@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 24sama

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

@ks-ci-bot ks-ci-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 14, 2022
Signed-off-by: 24sama <leo@kubesphere.io>
iso:
localPath:
url: https://github.com/pixiake/k8s-dependencies/releases/download/v1.0.0/centos-7-amd64-rpms.iso
kubernetesDistributions: # Define the kubernetes distribution that will be included in the artifact.
Copy link
Member

Choose a reason for hiding this comment

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

How many k8s distributions does KK support?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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


第一种方式需要了解该配置文件中不同字段的更多信息,请参考 [manifest-example.md](../manifest-example.md)。

以下内容仅针对于第二种由 kk 实现的生成文件的方式。
Copy link
Member

Choose a reason for hiding this comment

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

方法二是对已有集群的配置信息进行扫描然后生产一个新的 manifest?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

是的。类似于./kk create config --from-cluster --kubeconfig xxx 从已有集群生成一个config配置文件

Copy link
Member

Choose a reason for hiding this comment

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

对已有集群没有任何要求或前提条件?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

没有要求,kk 根据默认路径或者指定的kubeconfig连接上集群,然后就执行扫描集群信息的操作了。

@pixiake
Copy link
Collaborator

pixiake commented Feb 17, 2022

/lgtm

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 17, 2022
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: 67c94aae6596e9a6faf2bc991e1d1d52e977607c

@ks-ci-bot ks-ci-bot merged commit 8623a56 into kubesphere:master Feb 17, 2022
@24sama
Copy link
Collaborator Author

24sama commented Feb 18, 2022

/cherrypick release-2.0

@ks-ci-bot
Copy link
Collaborator

@24sama: new pull request created: #1081

In response to this:

/cherrypick release-2.0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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. kind/documentation Categorizes issue or PR as related to documentation. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants