talos icon indicating copy to clipboard operation
talos copied to clipboard

use URL-based manifests to present static pods to the kubelet

Open smira opened this issue 3 years ago • 1 comments
trafficstars

See https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/#pods-created-via-http for details.

Controllers can simply start serving on localhost a tiny web server which lists the virtual list of static pods to present.

For the compatibility with previous versions of Talos, we should probably still support static pod path, but anything Talos-managed should be automatically cleaned up from that path on boot and replaced with web-based manifest.

smira avatar May 03 '22 19:05 smira

the link mentions the kubelet cmdline argument, but this should go in the kubelet config file https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/

frezbo avatar May 03 '22 19:05 frezbo