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

[WIP] added more information in 'k0s install; command #551

Closed
wants to merge 1 commit into from

Conversation

jasmingacic
Copy link
Contributor

@jasmingacic jasmingacic commented Dec 17, 2020

This is just a placeholder for cmd install improvement.

this is depending on kardianos/service#255 getting merged
The PR is required so I can easily integrate k0s into LP. The vital piece of information is ability to edit k0s.service for worker so the join token can be injected.

Signed-off-by: jasmingacic <jasmin.gacic@gmail.com>
@@ -65,7 +65,10 @@ func EnsureService(args []string) error {
svcConfig.Dependencies = deps
svcConfig.Arguments = args

logrus.Info("Installing k0s service")
fmt.Println("Installing k0s service")
fmt.Println("Service information:", s.Platform())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I intentionally put fmt to print out these values since I was not able to remove time stamps from logrus.Infof

@jasmingacic
Copy link
Contributor Author

I will close this for now since the upstream PR (kardianos/service#255) hasn't been merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants