feat: add kubekey skills#3075
Conversation
Signed-off-by: redscholar <[email protected]>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: redscholar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new KubeKey skill, providing comprehensive documentation and reference guides for Kubernetes cluster lifecycle management. The additions include a main usage guide, a detailed configuration reference, and an inventory format guide. The review feedback identifies a typo and unit inconsistency in the etcd disk WAL configuration and suggests using private IP address ranges in inventory examples to ensure documentation accuracy and clarity.
| # Cluster parameter constraints | ||
| cluster_require: | ||
| # etcd WAL fsync max latency (nanoseconds) | ||
| etcd_disk_wal_fysnc_duration_seconds: 10000000 |
There was a problem hiding this comment.
There is a typo in the configuration key name: fysnc should be fsync. Additionally, there is a unit inconsistency between the key suffix (_seconds) and the example value (10000000), which the comment above describes as being in nanoseconds. This could lead to significant performance issues if the value is interpreted incorrectly by the tool.
| etcd_disk_wal_fysnc_duration_seconds: 10000000 | |
| etcd_disk_wal_fsync_duration_seconds: 10000000 |
| user: root | ||
| password: "123456" | ||
| # Or use private key: privateKeyPath: ~/.ssh/id_rsa | ||
| internal_ipv4: 1.1.1.1 |
There was a problem hiding this comment.
Using 1.1.1.1 as an example for an internal IP address is misleading, as it is a well-known public IP address. It is better to use a private IP address range (e.g., 192.168.x.x) to represent internal cluster networking, consistent with the examples provided later in the document.
| internal_ipv4: 1.1.1.1 | |
| internal_ipv4: 192.168.1.10 |



What type of PR is this?
/kind feature
What this PR does / why we need it:
the skills help to use kubekey.
Which issue(s) this PR fixes:
Fixes #
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: