Skip to content

Conversation

@chmill-zz
Copy link
Contributor

What type of PR is this?

/kind feature

What this PR does / why we need it:

this is getting npd into agentbaker by default. On the CSE side we'll restart the systemd service to make sure we're running the startup script that handles if the sku is gpu or not.

Which issue(s) this PR fixes:
Fixes #

Requirements:

  • uses conventional commit messages
  • includes documentation
  • adds unit tests
  • tested upgrade from previous version
  • commits are GPG signed and Github marks them as verified

Special notes for your reviewer:

Release note:

none

echo "Installing NPD startup script and systemd service"

local NPD_STARTUP_SCRIPT_SRC="/home/packer/node-problem-detector-startup.sh"
local NPD_STARTUP_SCRIPT_DEST="/usr/local/bin/node-problem-detector-startup.sh"
Copy link
Contributor

Choose a reason for hiding this comment

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

#7125 is not merged yet, but it should be soon. I am moving nearly everything from /usr/local/bin into /opt/bin because the former is not writeable on immutable distributions like Flatcar and Azure Linux OS Guard. If it works on OS Guard right now, it's because of a hack that should ideally be removed.

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

Labels

components This pull request updates cached components on Linux or Windows VHDs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants