Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 5
    this one is the only one that actually forces a restart. Thanks! Commented May 1, 2018 at 0:29
  • 1
    agree, just forcing an update didn't restart service for me, don't know why Commented May 15, 2018 at 8:37
  • Although this method does seem to stop the service but somehow the service remains lurking deep in the bowels of the beast. For example I get 'port already in use' when I scale down the service and try to spin another one that uses the same port. Commented Nov 2, 2020 at 10:46
  • this does not restart a service - and by restart I mean that service reads its configuration again - I tested on prometheus and did not work Commented Oct 26, 2021 at 7:24
  • But this doesn't do a rolling restart. Commented Nov 17, 2022 at 17:49