Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Windows kubelet prints error "Unable to read config path" every 20s #1049

Closed
@zhiweiv

Description

Is this an ISSUE or FEATURE REQUEST?
ISSUE

What version of aks-engine?:
0.34.0

Kubernetes version:
1.14.1

What happened:
Windows kubelet prints error "Unable to read config path" every 20s

E0413 10:54:41.722276    3544 file.go:104] Unable to read config path "/etc/kubernetes/manifests": path does not exist, ignoring
E0413 10:55:01.728055    3544 file.go:104] Unable to read config path "/etc/kubernetes/manifests": path does not exist, ignoring
E0413 10:55:21.729621    3544 file.go:104] Unable to read config path "/etc/kubernetes/manifests": path does not exist, ignoring
E0413 10:55:41.723525    3544 file.go:104] Unable to read config path "/etc/kubernetes/manifests": path does not exist, ignoring
E0413 10:56:01.732765    3544 file.go:104] Unable to read config path "/etc/kubernetes/manifests": path does not exist, ignoring

What you expected to happen:
Kubelet does not output this error

How to reproduce it (as minimally and precisely as possible):
Build a cluster with Windows nodes, check C:\k\kubelet.err.log in Windows nodes.

Anything else we need to know:
I can find --pod-manifest-path=/etc/kubernetes/manifests was passed to kubelet in C:\k\kubeletstart.ps1.

Also in defaults-kubelet.go, it indicates pod-manifest-path shoud not be passed to Windows kubelet, not sure why it is not working.

staticWindowsKubeletConfig := make(map[string]string)
for key, val := range staticLinuxKubeletConfig {
	switch key {
	case "--pod-manifest-path": // Don't add Linux-specific config
		break
	default:
		staticWindowsKubeletConfig[key] = val
	}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions