Merge pull request #12933 from klaases/go2
update suggestion messaging for --no-kubernetespull/12940/head
commit
8bd28a6599
|
@ -432,13 +432,26 @@ func displayEnviron(env []string) {
|
|||
}
|
||||
}
|
||||
|
||||
func showKubectlInfo(kcs *kubeconfig.Settings, k8sVersion string, machineName string) error {
|
||||
func showKubectlInfo(kcs *kubeconfig.Settings, k8sVersion, machineName string) error {
|
||||
if k8sVersion == constants.NoKubernetesVersion {
|
||||
register.Reg.SetStep(register.Done)
|
||||
out.Step(style.Ready, "Done! minikube is ready without Kubernetes!")
|
||||
out.BoxedWithConfig(box.Config{Py: 1, Px: 4, Type: "Round", Color: "Green"}, style.Tip, "Things to try without Kubernetes ...", `- "minikube ssh" to SSH into minikube's node.
|
||||
|
||||
// Runtime message.
|
||||
boxConfig := box.Config{Py: 1, Px: 4, Type: "Round", Color: "Green"}
|
||||
switch viper.GetString(containerRuntime) {
|
||||
case constants.DefaultContainerRuntime:
|
||||
out.BoxedWithConfig(boxConfig, style.Tip, "Things to try without Kubernetes ...", `- "minikube ssh" to SSH into minikube's node.
|
||||
- "minikube docker-env" to point your docker-cli to the docker inside minikube.
|
||||
- "minikube image" to build images without docker.`)
|
||||
case constants.Containerd:
|
||||
out.BoxedWithConfig(boxConfig, style.Tip, "Things to try without Kubernetes ...", `- "minikube ssh" to SSH into minikube's node.
|
||||
- "minikube image" to build images without docker.`)
|
||||
case constants.CRIO:
|
||||
out.BoxedWithConfig(boxConfig, style.Tip, "Things to try without Kubernetes ...", `- "minikube ssh" to SSH into minikube's node.
|
||||
- "minikube podman-env" to point your podman-cli to the podman inside minikube.
|
||||
- "minikube image" to build images without docker.`)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -56,6 +56,8 @@ const (
|
|||
SSHPort = 22
|
||||
// RegistryAddonPort os the default registry addon port
|
||||
RegistryAddonPort = 5000
|
||||
// Containerd is the default name and spelling for the containerd container runtime
|
||||
Containerd = "containerd"
|
||||
// CRIO is the default name and spelling for the cri-o container runtime
|
||||
CRIO = "crio"
|
||||
// DefaultContainerRuntime is our default container runtime
|
||||
|
|
Loading…
Reference in New Issue