Skip to content

K8s plugin - #2044

Open
jshi991 wants to merge 4 commits into
apple:mainfrom
jshi991:k8s-plugin-upstream
Open

K8s plugin#2044
jshi991 wants to merge 4 commits into
apple:mainfrom
jshi991:k8s-plugin-upstream

Conversation

@jshi991

@jshi991 jshi991 commented Jul 30, 2026

Copy link
Copy Markdown
  • closes [Request]: k8s plugin #2043
  • introduces the k8s plugin, allowing users to make single node clusters with the kind base image
  • other functionality is included as well such as creation, deletion, and loading custom images

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 30, 2026
@jglogan

jglogan commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@jshi991 Please resubmit with verified commit signatures. Thanks!

@jshi991
jshi991 force-pushed the k8s-plugin-upstream branch 3 times, most recently from ad88d2c to b22f47d Compare July 30, 2026 21:49
@jshi991 jshi991 changed the title K8s plugin upstream K8s plugin Jul 30, 2026
@jglogan

jglogan commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@jshi991 In the PR description, please remove the alert regarding signed commits, and replace it with a short bullet list:

- Closes #2043.
- Any brief description bullet items you want to make about the change.
...

@jshi991
jshi991 force-pushed the k8s-plugin-upstream branch from b22f47d to ea989c5 Compare July 30, 2026 23:43
Justin Shi and others added 4 commits July 30, 2026 16:58
Add container k8s plugin for local Kubernetes cluster support.
Commands: create, start, delete, load-image, write-config, list.

Node image: docker.io/kindest/node (ships kubeadm/kubelet/kubectl/containerd)
Bootstrap: kubeadm init with kindnet CNI, control-plane taint removed
Image loading: OCI tar via ctr images import into k8s.io namespace
Port mapping: 6445+ (host) -> 6443 (container API server)
Kubeconfig: merged into ~/.kube/config via atomic write
Unit tests: K8sListTests (list output formatting), KubeconfigMergeTests (kubeconfig merge logic)
Integration tests: TestK8sRunSerial, TestK8sLoadImageSerial, TestK8sNetworkingSerial, TestK8sWriteConfigSerial
@jshi991
jshi991 force-pushed the k8s-plugin-upstream branch from ea989c5 to 66d1e39 Compare July 30, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: k8s plugin

3 participants