karmada icon indicating copy to clipboard operation
karmada copied to clipboard

Use Kwok instead of Kind without actually running a container

Open wzshiming opened this issue 2 years ago • 5 comments

What would you like to be added:

https://github.com/kubernetes-sigs/kwok

  1. Use Kwok instead of Kind with the non-pull mode clusters in the example
  2. ~~Update the document to use Kwok instead of [fake-kubelet] (https://github.com/wzshiming/fake-kubelet) https://karmada.io/docs/next/developers/performance-test-setup-for-karmada~~

Why is this needed:

Reduce CI resource requirements

wzshiming avatar Oct 20 '22 07:10 wzshiming

/assgin

wzshiming avatar Oct 20 '22 08:10 wzshiming

I'm not sure if Kwok can be used by CI, glad to see a demo.

For the performance test, that's the document to record how the last round performance test run. And we don't have a plan to run the second round for now.

RainbowMango avatar Oct 20 '22 08:10 RainbowMango

I'm not sure if Kwok can be used by CI, glad to see a demo.

Well, I will work on this.

For the performance test, that's the document to record how the last round performance test run. And we don't have a plan to run the second round for now.

Ok, then I'll leave the document alone.

wzshiming avatar Oct 20 '22 08:10 wzshiming

For the last performance test, we use kind to simulate cluster and fake-kubelet to simulate node and pod. I wonder whether kwork can be used to simulate a cluster or a simulated node and whether kwork can use more resources. Looking forward to your suggestions. @wzshiming

Poor12 avatar Oct 20 '22 09:10 Poor12

https://github.com/kubernetes-sigs/kwok#basic-usage Kwok can be used to simulate nodes and clusters

Simulate Node: https://github.com/kubernetes-sigs/kwok/blob/main/docs/examples/kwok-in-cluster.md Simulate Cluster: https://github.com/kubernetes-sigs/kwok/blob/main/docs/examples/kwokctl-manage-cluster.md Manage nodes and pods: https://github.com/kubernetes-sigs/kwok/blob/main/docs/examples/kwok-manage-nodes-and-pods.md

Kwok is actually a fake-kubelet migration Kwokctl is actually a fake-k8s migration

wzshiming avatar Oct 20 '22 10:10 wzshiming

/close This issue is discussed on the community meeting. Feel free to reopen it if you have any questions.

Poor12 avatar Apr 24 '23 07:04 Poor12

@Poor12: Closing this issue.

In response to this:

/close This issue is discussed on the community meeting. Feel free to reopen it if you have any questions.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

karmada-bot avatar Apr 24 '23 07:04 karmada-bot