Skip to content
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

Add cluster command #129

Merged
merged 1 commit into from
Jul 19, 2022
Merged

Add cluster command #129

merged 1 commit into from
Jul 19, 2022

Conversation

6za
Copy link
Contributor

@6za 6za commented Jul 19, 2022

Create a family of commands for cluster:

Changes:
go run . create --dry-run=true

go run . create  --dry-run=true
Init actions: 4 expected tasks ...

LOG: 2022/07/19 16:52:27.822981 /home/developer/app/cmd/init.go:220: init started
Logging at: /home/developer/app/logs/log_1658249547.log
LOG: 2022/07/19 16:52:27.823885 /home/developer/app/pkg/helpers.go:132: Using config file: /home/developer/.kubefirst
Error: unknown command "create" for "kubefirst"
Run 'kubefirst --help' for usage.
exit status 1

New Command:
go run . cluster --help

Init actions: 4 expected tasks ...

LOG: 2022/07/19 16:51:04.343238 /home/developer/app/cmd/init.go:220: init started
Logging at: /home/developer/app/logs/log_1658249464.log
LOG: 2022/07/19 16:51:04.344766 /home/developer/app/pkg/helpers.go:132: Using config file: /home/developer/.kubefirst
Cluster Level operations like create a new cluster provisioned with all kubefirst goodies.

Usage:
  kubefirst cluster [flags]
  kubefirst cluster [command]

Available Commands:
  create      create a kubefirst management cluster

Flags:
  -h, --help   help for cluster

Use "kubefirst cluster [command] --help" for more information about a command.

New Create:
go run . cluster create --dry-run=true

Regular create logs 

Signed-off-by: 6za 53096417+6za@users.noreply.github.com

Signed-off-by: 6za <53096417+6za@users.noreply.github.com>
Copy link
Contributor

@pagottoo pagottoo left a comment

Choose a reason for hiding this comment

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

lgtm

@6za 6za merged commit 74e0bb0 into main Jul 19, 2022
@6za 6za deleted the cluster_create_20220719 branch July 19, 2022 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants