The storage device information is automatically refreshed every hour, by default. However, you can configure the refresh time.
- Using the SSH protocol, log on to the UCP Advisor VM as ucpadmin.
- Open the porcelain-config-properties config map in edit mode. Enter:
kubectl -n ucp edit configmap porcelain-config-properties -n ucp -oyaml
- Set the cron_refresh_all_storagesystems parameter to a value for which you want to refresh the storage device information.
The default setting is configured as 0 0 * * * *.
Each numerical position in this configuration represents seconds, minutes, hour, day, month, and year, respectively. The asterisk (*) symbolizes every instance.
For example, in the cron expression 0 0 * * * *:- The first field (0) represents the second.
- The second field (0) represents the minute.
- The third field (*) represents the hour.
- The fourth field (*) represents the day of the month.
- The fifth field (*) represents the month.
- The sixth field (*) represents the year.
- Exit the Edit mode. Press the Esc key.
- Save the changes. Enter:
:wq