Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

feat: implement cordon/uncordon workspace provider #302

Merged
merged 5 commits into from
Mar 25, 2021

Conversation

fuskovic
Copy link
Contributor

@fuskovic fuskovic commented Mar 24, 2021

What this does?

Implements two new subcommands.

coder providers cordon

Usage

coder providers cordon --reason "cloud cost" provider-name

Allows users to cordon a provider; preventing it from supporting new workspaces.

Note : the --reason flag is required to explain why this action was performed.

coder providers uncordon

Usage

coder providers uncordon provider-name

Also supports uncordoning a provider; allowing the provider to continue provisioning resources for new workspaces.

Sample Output

Screenshot 2021-03-24 at 8 05 58 PM

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #7500: More granular WSP states.

Faris Huskovic added 3 commits March 25, 2021 00:32
@fuskovic fuskovic requested a review from f0ssel March 25, 2021 01:09
Copy link
Contributor

@f0ssel f0ssel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great

@fuskovic fuskovic merged commit a58a2e7 into master Mar 25, 2021
@fuskovic fuskovic deleted the faris/ch7500/implement-providers-cordone branch March 25, 2021 19:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants