enable
inctl cluster ups enable
[EXPERIMENTAL] Enable a UPS.
Synopsis
[EXPERIMENTAL] Configure a UPS (uninterruptible power supply) attached to the cluster.
It will monitor the UPS and shut the IPC down when running from battery. This only works for single-node clusters (a single IPC, as opposed to an older Tier 3 system).
To select the driver, see https://networkupstools.org/stable-hcl.html. To select the port, see the driver-specific documentation.
inctl cluster ups enable --enable-experimental --org <org>[@<project>] --cluster <cluster> --driver <driver> [--port <port>] [flags]
Options
--driver string Driver to use for the UPS, eg "usbhid-ups" or "snmp-ups".
-h, --help help for enable
--port string Driver-dependent identifier for the UPS, eg "auto" for USB or "192.168.1.123:161" for SNMP (default "auto")
Options inherited from parent commands
--cluster string Name of cluster to configure.
--enable-experimental Enable experimental features.
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
-p, --project string The Google Cloud Project (GCP) project to use. You can set the environment variable
INTRINSIC_PROJECT=project_name to set a default project name.
SEE ALSO
- inctl cluster ups - [EXPERIMENTAL] Configure a UPS.