{"tool":"doctl","tool_display":"Doctl","intent":"check-for-upgrades","intent_display":"check for upgrades","title":"Doctl Command: check for upgrades","command_string":"doctl kubernetes cluster get-upgrades <cluster_name>","raw_command_string":"doctl kubernetes cluster get-upgrades {{cluster_name}}","description":"Exact CLI syntax to check for upgrades using Doctl.","usage_scenario":"When preparing for a planned maintenance window to update the cluster.","scenario_context":"Always verify compatibility before upgrading Kubernetes versions.","simulated_output":"$ doctl kubernetes cluster get-upgrades my-cluster\n\nAvailable Upgrades:\n+----------------+----------------+----------------+----------------+\n| Current Version| Upgrade Version | Release Date    | Status         |\n+----------------+----------------+----------------+----------------+\n| 1.21.5        | 1.22.0        | 2023-09-15     | Available       |\n| 1.21.5        | 1.23.0        | 2023-10-01     | Available       |\n+----------------+----------------+----------------+----------------+","how_to_steps":["Run `doctl kubernetes cluster get-upgrades {{cluster_name}}` to check available upgrades.","Review the output for current and upgrade versions along with their statuses."],"inferred_category":"Cloud Infrastructure","canonical_url":"https://www.syntaxstandard.com/doctl/check-for-upgrades"}