kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

Feat: add cluster-api-provider-kubekey

Open 24sama opened this issue 1 year ago • 2 comments

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 from kkcluster based on the roles and use that information to create a kkinstance.
  • 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.:

24sama avatar Aug 03 '22 10:08 24sama

/cc @kubesphere/sig-installation

24sama avatar Aug 05 '22 00:08 24sama

[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 avatar Aug 16 '22 09:08 ks-ci-bot

/lgtm

pixiake avatar Aug 22 '22 02:08 pixiake

LGTM label has been added.

Git tree hash: a7ae27b113d32b22c8773f118358dbb844d17184

ks-ci-bot avatar Aug 22 '22 02:08 ks-ci-bot