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

Fix the probe for kubernetes example #534

Merged
merged 1 commit into from
Jan 9, 2022

Conversation

afbjorklund
Copy link
Contributor

@afbjorklund afbjorklund commented Jan 9, 2022

Need to use "sudo kubectl" now, to get the config...

It was hanging forever, trying to run kubectl version:

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:41:01Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?

The config was moved to be root-only, in a5427dd

/root/.kube/config

Add some descriptions, instead of just "user probe".

INFO[0028] [hostagent] Waiting for the optional requirement 1 of 5: "systemd must be available" 
INFO[0028] [hostagent] Waiting for the optional requirement 2 of 5: "containerd binaries to be installed" 
INFO[0028] [hostagent] Waiting for the optional requirement 3 of 5: "kubectl to be installed" 
INFO[0028] [hostagent] Waiting for the optional requirement 4 of 5: "kubeadm to be completed" 
INFO[0028] [hostagent] Waiting for the optional requirement 5 of 5: "kubernetes cluster to be running" 

Closes #535

Need to use "sudo kubectl" now, to get the config...

Add some descriptions, instead of just "user probe".

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

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

LGTM

@jandubois jandubois merged commit f951e7b into lima-vm:master Jan 9, 2022
@AkihiroSuda AkihiroSuda added this to the v0.8.1 milestone Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The kubernetes examples (k8s.yaml) fails to complete
3 participants