siderolabs / talos

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

upgrade-k8s to 1.31.0 #9306

Closed remotejob closed 1 month ago

remotejob commented 1 month ago

Bug Report

I can't upgrade k8s from 1.30.0 --> 1.31.0 on talos v1.8.0-beta.0

Description

  1. I upgraded talos 1.76.0 --> v1.8.0-beta.0
  2. I try to upgrade as well k8s 1.30.0 ---> 1.31.0 ./talosctl --nodes 192.168.1.133 upgrade-k8s --to 1.31.0

Logs

error detecting the lowest Kubernetes version Get "https://192.168.1.133/api/v1/namespaces/kube-system/pods": dial tcp 192.168.1.133:443: connect: connection refused

By the way, port 443 is not open only 6443 Up. PS: I use cilium

Environment

smira commented 1 month ago

talosctl gets the kubeconfig from your cluster, so if your cluster machine config has an invalid controlplane endpoint, talosctl won't work either.

tl;dr talosctl kubeconfig config would be broken as well I guess.