cluster update ttl
Increase or decrease the Time to Live (TTL) for a running cluster that was provisioned with the Replicated compatibility matrix. The cluster update ttl
command updates the expiration timestamp for a cluster and does not change the creation timestamp.
For more information, see About the Compatibility Matrix.
Usage
replicated cluster update ttl [ID] [flags]
Flag | Type (if applicable) | Description |
---|---|---|
-h, --help | Help for the command. | |
--output | string | The output format to use. Valid values: |
--ttl | string | The updated TTL for the cluster, in hours or minutes. Must be a duration longer than the current lifespan of the cluster. Valid values: 10m through 48h. For example, |
Example
Given the following cluster with a TTL of one hour:
replicated cluster ls 81cd2169
ID NAME DISTRIBUTION VERSION STATUS CREATED EXPIRES TAGS
81cd2169 gallant_fermat gke 1.27 running 2023-12-15 19:16:56 +0000 UTC 2023-12-15 20:21:35 +0000 UTC
Update the TTL to two hours:
replicated cluster update ttl 81cd2169 --ttl 2h
ID NAME DISTRIBUTION VERSION STATUS CREATED EXPIRES TAGS
81cd2169 gallant_fermat gke 1.27 running 2023-12-15 19:16:56 +0000 UTC 2023-12-15 21:21:35 +0000 UTC