request paragon cluster pods reset
Syntax
request paragon cluster pods reset namespace operation (restart|start|stop) namespace-name service service-name
Description
Start, stop, or restart a service within a cluster namespace. You can also use this command to temporarily stop a service to apply new configuration changes or to fix memory issues, restart a service to apply new deployment changes, restart a stopped service, and so on.
Options
operation (restart | start | stop) | (Mandatory) Restart, start, or stop the service. |
namespace namespace-name | (Mandatory) Specify the cluster namespace with the required service. |
service service-name | (Mandatory) Perform the required operation on the service. |
Required Privilege Level
configure
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
- request paragon cluster pods reset operation restart
- request paragon cluster pods reset operation start
- request paragon cluster pods reset operation stop
request paragon cluster pods reset operation restart
user@node> request paragon cluster pods reset operation restart namespace healthbot service tand Replica count for healthbot, tand in deployment is: 3 Replica count for healthbot, tand is set to: 0 in deployment, deployment.apps/tand scaled Replica count for healthbot, tand is set to: 3 in deployment, deployment.apps/tand scaled The namespace and service healthbot, tand has been restarted!
request paragon cluster pods reset operation start
user@node> request paragon cluster pods reset operation start namespace healthbot service tand Replica count for healthbot, tand in deployment is: 3 healthbot, tand is already running and set to 3. To stop it, please use operation: stop.
request paragon cluster pods reset operation stop
user@node> request paragon cluster pods reset operation stop namespace healthbot service tand Replica count for healthbot, tand in deployment is: 3 Replica count for healthbot, tand is set to 3 in configmap, configmap/replicas-configmap patched Replica count for healthbot, tand is set to: 0 in deployment, deployment.apps/tand scaled The namespace and service healthbot, tand has been stopped!
Release Information
Command introduced in Paragon Automation Release 2.0.0.