amazon-eks-ami icon indicating copy to clipboard operation
amazon-eks-ami copied to clipboard

chore(#1791): added a check if kubelet started

Open AlexNabokikh opened this issue 9 months ago • 0 comments

Issue #1791

Description of changes:

  • After the command to start the kubelet, a conditional check is added. The systemctl is-active --quiet kubelet command will succeed (exit code 0) if kubelet is active and running. If not, it logs an error message and exits the script with code 1, indicating failure.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

All test recommended in testing-changes passed.

AlexNabokikh avatar May 13 '24 13:05 AlexNabokikh