We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946a664 commit 1084acaCopy full SHA for 1084aca
config/cluster/host.go
@@ -196,7 +196,7 @@ func (h *Host) K0sInstallCommand() string {
196
flags.AddUnlessExist(fmt.Sprintf(`--config "%s"`, h.K0sConfigPath()))
197
}
198
199
- if !h.IsController() && h.PrivateAddress != "" {
+ if strings.HasSuffix(h.Role, "worker") && h.PrivateAddress != "" {
200
// set worker's private address to --node-ip in --extra-kubelet-args
201
var extra Flags
202
if old := flags.GetValue("--kubelet-extra-args"); old != "" {
0 commit comments