kubernetes-sigs / kwok

Kubernetes WithOut Kubelet - Simulates thousands of Nodes and Clusters.
https://kwok.sigs.k8s.io
Apache License 2.0
2.39k stars 190 forks source link

Support sync node status.images with pod #839

Open wzshiming opened 8 months ago

wzshiming commented 8 months ago

What would you like to be added?

Why is this needed?

Refinement of simulated kubelet behavior

kevinmingtarja commented 6 months ago

Hi, I'm interested to contribute to this feature.

Do you have any pointers on where to start? Thank you.

wzshiming commented 6 months ago

My idea would be to add a template function to node template that would look like this

images:
{{ with NodeImages status.images }}
{{ YAML . 1 }}
{{ end }}

The NodeImages return will contain the status.images and the images used by the pods on this node.

caozhuozi commented 5 months ago

Hi, @wzshiming. Is the feature independent of v1alpha2?

wzshiming commented 5 months ago

Hi, @wzshiming. Is the feature independent of v1alpha2?

Yes, It add a template function to the Node Controller

caozhuozi commented 5 months ago

/assign

wzshiming commented 5 months ago

https://github.com/kubernetes-sigs/kwok/issues/977#issuecomment-1951162145

I plan to add a new API that should cover this capability

k8s-triage-robot commented 2 months ago

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

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

You can:

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

/lifecycle stale

Manoramsharma commented 1 month ago

/assign

k8s-triage-robot commented 2 weeks ago

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

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

You can:

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

/lifecycle rotten