Paragonクラスターポッドのリセットをリクエストする
構文
request paragon cluster pods reset namespace operation (restart|start|stop) namespace-name service service-name
形容
クラスター名前空間内のサービスを開始、停止、または再起動します。また、このコマンドを使用して、サービスを一時的に停止して新しい設定変更を適用したり、メモリの問題を修正したり、サービスを再起動して新しいデプロイ変更を適用したり、停止したサービスを再起動したりすることもできます。
オプション
操作(再起動 | 開始 | 停止) | (必須)サービスを再起動、開始、または停止します。 |
Namespace namespace-name | (必須)必要なサービスでクラスター名前空間を指定します。 |
サービス service-name | (必須)サービスで必要な操作を実行します。 |
必要な権限レベル
構成
出力フィールド
このコマンドを入力すると、リクエストのステータスに関するフィードバックが提供されます。
サンプル出力
- 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!
リリース情報
Paragon Automationリリース2.0.0で導入されたコマンド。