-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Add a cluster check at dev start
#364
Fix: Add a cluster check at dev start
#364
Comments
The core issue to add the cluster type: UffizziCloud/uffizzi#490 |
@gadkins
|
1.1. Yes, ask the user to confirm |
|
|
When a user has a running skaffold, he has running pods, and when he starts a new skaffold on the same cluster, the skaffold will create the same pods in that cluster. When a user has stopped dev env and he starts dev on a another pc and an existing dev cluster, there shouldn't be any conflicts |
@gadkins |
The user can have one dev cluster per project |
Add cluster check when
dev start
is started. There may be cases whendev start
is started afterdev stop
, but the cluster was deleted on the UI, which results in an error during deploymentPrecondition:
Log in and run
dev start
STEPS:
dev stop
dev
dev start
Expected result:
A check for a cluster from the
current-context
is performed, if there is no cluster, a new one is createdActual result:
dev
tries to create an environment in a deleted cluster and deployment errors occur.The text was updated successfully, but these errors were encountered: