Login Pod
Procedure
-
First annotate the pod so kubernetes does not restart the pod while you are performing
administration tasks:
kubectl annotate pod onedb-server-0 livenessprobe=disabled --overwrite=true
-
Use the command to take the OneDB Database server offline:
-
Perform any adminstration tasks needed with the server offline.
-
Run the command to bring the OneDB Database server back online.
-
Re-enable the liveness probe:
kubectl annotate pod onedb-server-0 livenessprobe=enabled --overwrite=true
Note: If you do not disable the liveness probe, once you take the
OneDB Databaser server offline. The kubernetes liveness probe will begin to fail. After
3 failures of the liveness probe, kubernetes will restart the pod on its own.
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.