Skip to content

fix: create static pod folder#136

Merged
bcho merged 1 commit intomainfrom
hbc/manifests-folder
Apr 2, 2026
Merged

fix: create static pod folder#136
bcho merged 1 commit intomainfrom
hbc/manifests-folder

Conversation

@bcho
Copy link
Copy Markdown
Member

@bcho bcho commented Mar 27, 2026

Create static pod folder to reduce spamming logs from kubelet

Copilot AI review requested due to automatic review settings March 27, 2026 20:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ensures the kubelet static pod manifest directory exists before kubelet is started, preventing kubelet from repeatedly logging errors when --pod-manifest-path points to a missing folder.

Changes:

  • Add a pre-start step in the kubelet start action to create the static pod manifest directory.
  • Introduce ensureRuntimeFolders() which mkdir -p’s config.KubeletStaticPodPath with restrictive permissions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bcho bcho merged commit 7b1773a into main Apr 2, 2026
13 checks passed
@bcho bcho deleted the hbc/manifests-folder branch April 2, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants