kubekey
kubekey copied to clipboard
Feat: add cluster-api-provider-kubekey
What type of PR is this?
/kind feature
What this PR does / why we need it:
Follow the cluster-api guide, and use the kk way to implement the provider as an infrastructure, which is named cluster-api-provider-kubekey, aka capk. We defined three CR.
- KKCluster: Contains information about the nodes on the cluster that capk needs. Like node's IP address, node's ssh auth.
- KKMachine: Contains the
roles
of this machine. Its controller will request the corresponding node ssh information fromkkcluster
based on theroles
and use that information to create akkinstance
. - KKInstance: Abstracts the concrete machine, and its controller will perform operations on the corresponding node based on the ssh information in the
spec
.
Which issue(s) this PR fixes:
Fixes #
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.:
/cc @kubesphere/sig-installation
[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:
- ~~OWNERS~~ [24sama]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
/lgtm
LGTM label has been added. Git tree hash: a7ae27b113d32b22c8773f118358dbb844d17184