Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Paragon Automation User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request paragon cluster pods reset

date_range 14-Nov-24

Syntax

content_copy zoom_out_map
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

content_copy zoom_out_map
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

content_copy zoom_out_map
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

content_copy zoom_out_map
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 Juniper Paragon Automation Release 2.0.0.

footer-navigation