siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.97k stars 564 forks source link

Kubelet skipNodeRegistration breaks upgrade-k8s #9403

Open maxpain opened 2 months ago

maxpain commented 2 months ago

Bug Report

Kubelet skipNodeRegistration breaks talosctl upgrade-k8s

Description

Hello. I want to hide the control plane nodes from the Kubernetes cluster using this configuration:

machine:
  kubelet:
    skipNodeRegistration: true

But talosctl upgrade-k8s stops working:

% talosctl -n cp1 upgrade-k8s         
error detecting the lowest Kubernetes version failed to detect lowest Kubernetes version

Environment

smira commented 2 months ago

Yes, it's not supported this way, as talosctl won't have a way to verify fully, but you can still update manually.

It should be possible to implement that, but right now we're not looking into that.