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

Kubernetes endpoint watch error after talosctl apply-config #9112

Closed bpawel10 closed 2 months ago

bpawel10 commented 2 months ago

Bug Report

When I run talosctl apply-config --insecure -n 192.168.0.46 --file controlplane.yaml, my control plane CPU usage goes to 100% in the next few seconds and the same kubernetes endpoint watch error error keeps showing up.

Description

I'm trying to configure a Talos VM on Unraid. What I did:

The last command ran without any error, but as already mentioned, during the next few seconds CPU went to 100%, there's the error suggesting that the API server stopped working and the server itself is no longer responsive (dial tcp 192.168.0.46:50000: connect: connection refused when trying to run any other talosctl command).

I tried it multiple times using multiple VM instances and it's always the same.

Logs

Zrzut ekranu 2024-08-5 o 15 45 02

I don't think I can run any other debugging, for example talosctl support will return Failed to create kubernetes client rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 192.168.0.46:50000: connect: connection refused"

Environment

smira commented 2 months ago

The problem is in your screenshot - you don't have enough RAM.