Remove --enable-cloud-provider from worker args

This flag caused kubelet to wait for an external cloud controller to
provide node IPs, resulting in nodes with no INTERNAL-IP and
konnectivity-agent failing with "host IP unknown".

Without this flag, kubelet auto-detects the node IP from the default
network interface.
This commit is contained in:
Pavel Basov
2025-12-15 23:41:45 +01:00
parent b0d7a8eb4e
commit 31b84415d1
2 changed files with 2 additions and 4 deletions

View File

@@ -26,8 +26,7 @@ worker: # @schema description: Worker machine configuration; type: object
matchLabels: # @schema description: Labels to match; type: object
tinkerbell.org/role: worker
templateOverride: "" # @schema description: Tinkerbell workflow template override; type: string
args: # @schema description: Arguments to pass to k0s worker; type: array
- --enable-cloud-provider
args: [] # @schema description: Arguments to pass to k0s worker; type: array
# K0smotron hosted control plane parameters
k0smotron: # @schema description: K0smotron hosted control plane parameters; type: object

View File

@@ -36,8 +36,7 @@ worker: # @schema description: Worker machine configuration; type: object
matchLabels: # @schema description: Labels to match; type: object
tinkerbell.org/role: worker
templateOverride: "" # @schema description: Tinkerbell workflow template override; type: string
args: # @schema description: Arguments to pass to k0s worker; type: array
- --enable-cloud-provider
args: [] # @schema description: Arguments to pass to k0s worker; type: array
# K0s parameters
k0s: # @schema description: K0s parameters; type: object