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

Kustomize Wasm Plugin #4944

Open
4 tasks
koba1t opened this issue Nov 4, 2024 · 4 comments
Open
4 tasks

Kustomize Wasm Plugin #4944

koba1t opened this issue Nov 4, 2024 · 4 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@koba1t
Copy link
Member

koba1t commented Nov 4, 2024

Enhancement Description

Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.

@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Nov 4, 2024
@koba1t
Copy link
Member Author

koba1t commented Nov 4, 2024

/sig cli

@k8s-ci-robot k8s-ci-robot added sig/cli Categorizes an issue or PR as relevant to SIG CLI. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Nov 4, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in SIG CLI Nov 4, 2024
@sanposhiho
Copy link
Member

It just caught my eye. I'm the maintainer of https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension, happy to collaborate if needed.
I believe, compared to the scheduler, the performance requirement here is not that severe, and hence wasm could be a great option to try. Especially, given Golang just supported //go:wasiexport, it could be a good timing since you can seek Golang SDK from the first step. (otherwise you'd need to use TinyGo and make the wasm plugin SDK independent of k/k)

@koba1t
Copy link
Member Author

koba1t commented Nov 13, 2024

@sanposhiho
I would appreciate your advice!

Especially, given Golang just supported golang/go#65199, it could be a good timing since you can seek Golang SDK from the first step. (otherwise you'd need to use TinyGo and make the wasm plugin SDK independent of k/k)

Honest, This plugin framework will be in the form of a WASI binary call. This is because the current container/exec plugin uses stdin/stdout as an interface to kustomize, so we are trying to make it easier to migrate users by using stdin/stdout as input/output.

The PoC successfully got the golang code written for the existing exec plugin to work by simply rebuilding it with GOOS=wasip1 GOARCH=wasm.
https://github.com/koba1t/krm-fn-app/blob/a02b656109b48a7924df6d327d857c6746f9b306/Makefile#L8

@koba1t koba1t changed the title [WIP] Kustomize Wasm Plugin Kustomize Wasm Plugin Nov 14, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
Status: Needs Triage
Development

No branches or pull requests

4 participants