Files
floci/docs/services
mrfelek c5ace1a36e feat(eks): Auto Mode nodes whose own kubelet registers them serve logs, exec and port-forward (#9825)
A node from an image with kubeletRegistersNode ran its pods, but the API server couldn't reach its kubelet:

- k3s dialled kubelets through its agent tunnel, which only a k3s agent opens. The server now runs with
  --egress-selector-mode=disabled and dials each kubelet directly, as EKS's API server does. Floci's other nodes have
  no kubelet, so only the server's own is otherwise reached, at its own address.
- Nothing approved the kubelet's kubernetes.io/kubelet-serving CertificateSigningRequest, so it served no TLS. Auto
  Mode's reconcile approves a pending one from a node it launched when it names only that node (CN
  system:node:<name>, O system:nodes) and the node's instance ID, private DNS name or private address, with server
  usages, as EKS approves it after checking the names are its instance's.
- The kubelet trusted only the cluster CA, while k3s signs the API server's client certificate with its client CA.
  The NodeConfig's certificateAuthority now carries both, where EKS's one CA signs everything.

Kubernetes signs the names of a request's first extension request, while the check read the last. A request with more
than one is now refused. A request list that can't be read, or an approval that fails, is logged and left for the next
pass, the rest of the pass going on. certificateAuthorities takes the client CA as a nullable String.
2026-11-30 06:59:28 -04:00
..