service loadbalancer
Syntax
service loadbalancer <option>
Description
Use this command to:
-
Configure the loadbalancer service
-
Restart the loadbalancer service
-
Check the logs and status of loadbalancer service.
Options
| config |
Configure the loadbalancer service. |
| log |
Display the logs of loadbalancer service. |
| restart |
Restart the loadbalancer service. |
| status |
Check the status of loadbalancer service. |
Required Privilege Level
CLI Administrator
Sample Output
service loadbalancer
log$ service loadbalancer log
{"caller":"service_controller.go:64","controller":"ServiceReconciler","level":"info","start reconcile":"atom-generic-db/patroni","ts":"2024-10-24T12:16:50Z"}
{"caller":"service_controller.go:115","controller":"ServiceReconciler","end reconcile":"atom-generic-db/patroni","level":"info","ts":"2024-10-24T12:16:50Z"}
{"caller":"service_controller.go:64","controller":"ServiceReconciler","level":"info","start reconcile":"atom-generic-db/patroni","ts":"2024-10-24T12:17:00Z"}
{"caller":"service_controller.go:115","controller":"ServiceReconciler","end reconcile":"atom-generic-db/patroni","level":"info","ts":"2024-10-24T12:17:00Z"}
{"caller":"service_controller.go:64","controller":"ServiceReconciler","level":"info","start reconcile":"atom-generic-db/patroni","ts":"2024-10-24T12:17:10Z"}
{"caller":"service_controller.go:115","controller":"ServiceReconciler","end reconcile":"atom-generic-db/patroni","level":"info","ts":"2024-10-24T12:17:10Z"}
{"caller":"service_controller.go:64","controller":"ServiceReconciler","level":"info","start reconcile":"atom-generic-db/patroni","ts":"2024-10-24T12:17:20Z"}
{"caller":"service_controller.go:115","controller":"ServiceReconciler","end reconcile":"atom-generic-db/patroni","level":"info","ts":"2024-10-24T12:17:20Z"}
........service loadbalancer
status$ service loadbalancer status Module Status Running Expected Instances Restarts Uptime metallb-controller-c6b7d69fd-tl7sv Running 1 1 0 3d11h metallb-speaker-588jb Running 4 4 0 3d11h
Release Information
Command introduced in Juniper Security Director Release 24.4.1.